Debian Codegraph @

texmf-dist/doc/fonts/hep-font/hep-font-test-pdflatex.tex

raw
1 %%
2 %% This is file `hep-font-test-pdflatex.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% hep-font-implementation.dtx (with options: `pdflatex')
8 %% This is a generated file.
9 %% Copyright (C) 2019-2025 by Jan Hajer
10 %% This file may be distributed and/or modified under the
11 %% conditions of the LaTeX Project Public License, either
12 %% version 1.3c of this license or (at your option) any later
13 %% version. The latest version of this license is in:
14 %% http://www.latex-project.org/lppl.txt
15 %% and version 1.3c or later is part of all distributions of
16 %% LaTeX version 2005/12/01 or later.
17
18 \documentclass[a4paper]{article}
19
20 \usepackage[oldstyle]{hep-font}
21 \usepackage[cm]{fullpage}
22 \usepackage{fancyvrb}\DefineShortVerb{\|}
23 \newenvironment{vrb}{\begin{tabular}{@{}p{5.4cm}ll@{}}}{\end{tabular}}
24
25 \begin{document}
26
27 \subsection*{Roman}
28
29 \begin{vrb}
30 |\rmfamily| &
31 {\rmfamily Latin Modern Roman 123} \\
32 | \sbweight| &
33 {\rmfamily\sbweight Latin Modern Roman Semi Bold 123} \\
34 | \bfseries| &
35 {\rmfamily\bfseries Latin Modern Roman Bold Extended 123} \\
36 |\slshape| &
37 {\rmfamily\slshape Latin Modern Roman Oblique 123} \\
38 | \sbweight| &
39 {\rmfamily\sbweight\slshape Latin Modern Roman Semi Bold Oblique 123} \\
40 | \bfseries| &
41 {\rmfamily\bfseries\slshape Latin Modern Roman Bold Oblique Extended 123} \\
42 |\itshape| &
43 {\rmfamily\itshape Latin Modern Roman Italic 123} \\
44 | \bfseries| &
45 {\rmfamily\bfseries\itshape Latin Modern Roman Bold Italic Extended 123} \\
46 |\uishape| &
47 {\rmfamily\uishape Latin Modern Roman Upright Italic 123} \\
48 |\scshape| &
49 {\rmfamily\scshape Latin Modern Roman Small Caps 123} \\
50 | \bfseries| &
51 {\rmfamily\bfseries\scshape Computer Modern Roman Bold Small Caps 123} \\
52 | \sishape| &
53 {\rmfamily\scshape\slshape Latin Modern Roman Oblique Small Caps 123} \\
54 | \bfseries| &
55 {\rmfamily\slshape\bfseries\scshape Computer Modern Roman Bold Small Caps 123} \\
56 \end{vrb}
57
58 \subsubsection*{Dunhill}
59
60 \begin{vrb}
61 |\tistyle | &
62 {\tistyle Latin Modern Dunhill 123} \\
63 | \slshape| &
64 {\tistyle\slshape Latin Modern Dunhill Oblique 123} \\
65 \end{vrb}
66
67 \subsection*{Sans}
68
69 \begin{vrb}
70 |\sffamily| &
71 {\sffamily Latin Modern Sans 123} \\
72 | \fontseries{sbc}\selectfont| &
73 {\sffamily\fontseries{sbc}\selectfont Latin Modern Sans Demi Condensed 123} \\
74 | \bfseries| &
75 {\sffamily\bfseries Latin Modern Sans Bold 123} \\
76 |\slshape| &
77 {\sffamily\slshape Latin Modern Sans Oblique 123} \\
78 | \fontseries{sbc}\selectfont| &
79 {\sffamily\fontseries{sbc}\selectfont\slshape Latin Modern Sans Demi Condensed Oblique 123} \\
80 | \bfseries| &
81 {\sffamily\bfseries\slshape Latin Modern Sans Bold Oblique 123} \\
82 |\uishape| &
83 {\sffamily\uishape Computer Modern Sans Upright Italic 123} \\
84 |\scshape| &
85 {\sffamily\scshape Computer Modern Sans Small Caps 123} \\
86 | \bfseries| &
87 {\sffamily\bfseries\scshape Computer Modern Sans Bold Small Caps 123} \\
88 | \itshape| &
89 {\sffamily\itshape\scshape Computer Modern Sans Italic Small Caps 123} \\
90 | \bfseries| &
91 {\sffamily\itshape\bfseries\scshape Computer Modern Sans Italic Bold Small Caps 123} \\
92 \end{vrb}
93
94 \subsubsection*{Quotation}
95
96 \begin{vrb}
97 |\qtstyle | &
98 {\sffamily\qtstyle Latin Modern Sans Extended 123} \\
99 | \bfseries | &
100 {\sffamily\qtstyle\bfseries Latin Modern Sans Bold Extended 123} \\
101 |\slshape | &
102 {\sffamily\qtstyle\slshape Latin Modern Sans Extended Oblique 123} \\
103 | \bfseries | &
104 {\sffamily\qtstyle\bfseries\slshape Latin Modern Sans Bold Extended Oblique 123} \\
105 \end{vrb}
106
107 \subsection*{Typewriter}
108
109 \begin{vrb}
110 |\ttfamily\tvstyle | &
111 {\ttfamily\tvstyle Latin Modern Typewriter Proportional 123} \\
112 | \bfseries | &
113 {\ttfamily\tvstyle\bfseries Latin Modern Typewriter Proportional Dark 123} \\
114 | \lgweight | &
115 {\ttfamily\tvstyle\lgweight Latin Modern Typewriter Proportional Light 123} \\
116 |\slshape | &
117 {\ttfamily\tvstyle\slshape Latin Modern Typewriter Proportional Oblique 123} \\
118 | \bfseries | &
119 {\ttfamily\tvstyle\bfseries\slshape Latin Modern Typewriter Proportional Dark Oblique 123} \\
120 | \lgweight | &
121 {\ttfamily\tvstyle\lgweight\slshape Latin Modern Typewriter Proportional Light Oblique 123} \\
122 \end{vrb}
123
124 \subsubsection*{Fixed-width}
125
126 \begin{vrb}
127 |\ttfamily\tmstyle | &
128 {\ttfamily\tmstyle Latin Modern Typewriter 123} \\
129 | \lgweight | &
130 {\ttfamily\tmstyle\lgweight Latin Modern Typewriter Light 123} \\
131 | \bfseries | &
132 {\ttfamily\tmstyle\bfseries Latin Modern Typewriter Dark 123} \\
133 | \fontseries{lc}\selectfont | &
134 {\ttfamily\tmstyle\fontseries{lc}\selectfont Latin Modern Typewriter Light Condensed 123} \\
135 |\slshape | &
136 {\ttfamily\tmstyle\slshape Latin Modern Typewriter Oblique 123} \\
137 | \lgweight | &
138 {\ttfamily\tmstyle\lgweight\slshape Latin Modern Typewriter Light Oblique 123} \\
139 | \bfseries | &
140 {\ttfamily\tmstyle\bfseries\slshape Latin Modern Typewriter Dark Oblique 123} \\
141 | \fontseries{lc} | &
142 {\ttfamily\tmstyle\fontseries{lc}\slshape Latin Modern Typewriter Light Condensed Oblique 123} \\
143 |\itshape | &
144 {\ttfamily\tmstyle\itshape Latin Modern Typewriter Italic 123} \\
145 |\scshape | &
146 {\ttfamily\tmstyle\scshape Latin Modern Typewriter Small Caps 123} \\
147 | \slshape | &
148 {\ttfamily\tmstyle\scshape\slshape Latin Modern Typewriter Oblique Small Caps 123} \\
149 \end{vrb}
150
151 \end{document}
152
153 \endinput
154 %%
155 %% End of file `hep-font-test-pdflatex.tex'.