summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/oberdiek/test/hologo-test-list.tex
blob: 55e6f9a0d5bd86efa430144ab89bb2e7fe414868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
%%
%% This is file `hologo-test-list.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% hologo.dtx  (with options: `test-list')
%% 
%% This is a generated file.
%% 
%% Project: hologo
%% Version: 2016/05/16 v1.12
%% 
%% Copyright (C) 2010-2012 by
%%    Heiko Oberdiek <heiko.oberdiek at googlemail.com>
%% 
%% 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
%%    http://www.latex-project.org/lppl/lppl-1-3c.txt
%% and the latest version of this license is in
%%    http://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".
%% 
%% This Current Maintainer of this work is Heiko Oberdiek.
%% 
%% 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[12pt,a4paper]{article}
\usepackage{hologo}[2016/05/16]
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{parskip}
\usepackage[unicode]{hyperref}[2011/09/28]
\usepackage{bookmark}[2011/09/19]
\bookmarksetup{%
  numbered,%
  open,%
  openlevel=2,%
}
\renewcommand*{\contentsname}{List of logos}
\begin{document}
\tableofcontents
\def\TestFont#1#2#3#4#5#6{%
  \begingroup
    \usefont{#3}{#4}{#5}{#6}%
    \HologoVariant{#1}{#2}/\hologoVariant{#1}{#2}%
    \quad
    \begingroup\scriptsize\hologoVariant{#1}{#2}\endgroup
    \quad
  \endgroup
  (#3/#4/#5/#6)%
  \par
}
\makeatletter
\def\hologoEntry#1#2#3{%
  \section{%
    \HologoVariant{#1}{#2}/\hologoVariant{#1}{#2} %
    {[#1\ifx\\#2\\\else\space(#2)\fi]}% hash-ok
  }% braces around [] because of bug in tex4ht
  \begingroup
    \hypersetup{unicode=false}%
    \bookmark[%
      dest=\@currentHref,%
      rellevel=1,%
      keeplevel,%
    ]{%
      \HologoVariant{#1}{#2}/\hologoVariant{#1}{#2} %
      (PDFDocEncoding)%
    }%
  \endgroup
  \TestFont{#1}{#2}{OT1}{cmr}{m}{n}%
  \TestFont{#1}{#2}{OT1}{cmss}{m}{n}%
  \TestFont{#1}{#2}{OT1}{cmr}{b}{n}%
  \TestFont{#1}{#2}{OT1}{cmr}{m}{it}%
  \TestFont{#1}{#2}{OT1}{cmtt}{m}{n}%
  \TestFont{#1}{#2}{T1}{lmr}{m}{n}%
  \TestFont{#1}{#2}{T1}{lmss}{m}{n}%
  \TestFont{#1}{#2}{T1}{lmr}{b}{n}%
  \TestFont{#1}{#2}{T1}{lmr}{m}{it}%
  \TestFont{#1}{#2}{T1}{lmtt}{m}{n}%
  \TestFont{#1}{#2}{T1}{lmvtt}{m}{n}%
  \TestFont{#1}{#2}{T1}{qtm}{m}{n}%
  \TestFont{#1}{#2}{T1}{qhv}{m}{n}%
  \TestFont{#1}{#2}{T1}{qtm}{b}{n}%
  \TestFont{#1}{#2}{T1}{qtm}{m}{it}%
  \TestFont{#1}{#2}{T1}{qcr}{m}{n}%
  \newpage
}
\makeatother
\hologoList
\end{document}
\endinput
%%
%% End of file `hologo-test-list.tex'.