%% %% This is file `hologo-example.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% hologo.dtx (with options: `example') %% %% This is a generated file. %% %% Project: hologo %% Version: 2021-11-16 v1.15 %% %% Copyright (C) %% 2010-2012 Heiko Oberdiek %% 2016-2021 Oberdiek Package Support Group %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later %% version. This version of this license is in %% https://www.latex-project.org/lppl/lppl-1-3c.txt %% and the latest version of this license is in %% https://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% %% This work has the LPPL maintenance status "maintained". %% %% The Current Maintainers of this work are %% Heiko Oberdiek and the Oberdiek Package Support Group %% https://github.com/ho-tex/hologo/issues %% %% The Base Interpreter refers to any `TeX-Format', %% because some files are installed in TDS:tex/generic//. %% %% This work consists of the main source file hologo.dtx %% and the derived files %% hologo.sty, hologo.pdf, hologo.ins, hologo.drv, hologo-example.tex, %% hologo-test1.tex, hologo-test-spacefactor.tex, %% hologo-test-list.tex. %% \NeedsTeXFormat{LaTeX2e} \documentclass[a4paper]{article} \usepackage[ hmargin=20mm, vmargin=20mm, ]{geometry} \pagestyle{empty} \usepackage{hologo}[2019/12/05] \usepackage{longtable} \usepackage{array} \setlength{\extrarowheight}{2pt} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{pdflscape} \usepackage[ pdfencoding=auto, ]{hyperref} \hypersetup{ pdfauthor={Heiko Oberdiek}, pdftitle={Example for package `hologo'}, pdfsubject={Logos with fonts lmr, lmss, qtm, qpl, qhv}, } \usepackage{bookmark} % Print the logo list on the console \begingroup \typeout{}% \typeout{*** Begin of logo list ***}% \newcommand*{\hologoEntry}[3]{% \typeout{#1 \ifx\\#2\\\else(#2) \fi[#3]}% }% \hologoList \typeout{*** End of logo list ***}% \typeout{}% \endgroup \begin{document} \begin{landscape} \section{Example file for package `hologo'} % Table for font names \begin{longtable}{>{\bfseries}ll} \textbf{font} & \textbf{Font name}\\ \hline lmr & Latin Modern Roman\\ lmss & Latin Modern Sans\\ qtm & \TeX\ Gyre Termes\\ qhv & \TeX\ Gyre Heros\\ qpl & \TeX\ Gyre Pagella\\ \end{longtable} % Logo list with logos in different fonts \begingroup \newcommand*{\SetVariant}[2]{% \ifx\\#2\\% \else \hologoLogoSetup{#1}{variant=#2}% \fi }% \newcommand*{\hologoEntry}[3]{% \SetVariant{#1}{#2}% \raisebox{1em}[0pt][0pt]{\hypertarget{#1@#2}{}}% \bookmark[% dest={#1@#2},% ]{% #1\ifx\\#2\\\else\space(#2)\fi: \Hologo{#1}, \hologo{#1} % [Unicode]% }% \hypersetup{unicode=false}% \bookmark[% dest={#1@#2},% ]{% #1\ifx\\#2\\\else\space(#2)\fi: \Hologo{#1}, \hologo{#1} % [PDFDocEncoding]% }% \texttt{#1}% &% \texttt{#2}% &% \Hologo{#1}% &% \SetVariant{#1}{#2}% \hologo{#1}% &% \SetVariant{#1}{#2}% \fontfamily{qtm}\selectfont \hologo{#1}% &% \SetVariant{#1}{#2}% \fontfamily{qpl}\selectfont \hologo{#1}% &% \SetVariant{#1}{#2}% \textsf{\hologo{#1}}% &% \SetVariant{#1}{#2}% \fontfamily{qhv}\selectfont \hologo{#1}% \tabularnewline }% \begin{longtable}{llllllll}% \textbf{\textit{logo}} & \textbf{\textit{variant}} & \texttt{\string\Hologo} & \textbf{lmr} & \textbf{qtm} & \textbf{qpl} & \textbf{lmss} & \textbf{qhv} \tabularnewline \hline \endhead \hologoList \end{longtable}% \endgroup \end{landscape} \end{document} %% \section{Installation} \endinput %% %% End of file `hologo-example.tex'.