Debian Codegraph @

texk/dvi2tty/dvi2tty-src/test/table.tex

raw
1 % You may freely use, modify and/or distribute this file.
2
3 \documentclass{report}
4 \topmargin 0mm
5 \textheight 210mm
6 \usepackage[OT1,OT2,T2A,T2B,T2C,X2,T1]{fontenc}
7 \usepackage{textcomp}
8 \usepackage{color}
9 \parindent0pt
10
11 \newcommand\BC[1]{%
12 \textcolor{blue}{%
13 {\usefont{OT1}{cmr}{m}{n}\selectfont(}%
14 \textcolor{black}{#1}%
15 {\usefont{OT1}{cmr}{m}{n}\selectfont)}%
16 }%
17 }
18 \newcommand\B[2]{%
19 \BC{#1}\BC{#2}%
20 }
21 \makeatletter
22 \newcounter{i} \newcounter{j} \newcounter{s} \newcounter{m}
23
24 \newcommand\Mktable[1]{%
25 \c@i=0 \@whilenum\c@i<#1 \do{%
26 {\usefont{OT1}{cmtt}{m}{n}\selectfont
27 "\ifcase\c@i00\or10\or20\or30\or40\or50\or60\or70\or
28 80\or90\or A0\or B0\or C0\or D0\or E0\or F0\fi:}%
29 \c@m=\c@i \multiply\c@m16
30 \c@j=0 \@whilenum\c@j<16 \do{%
31 \c@s=\c@j \advance\c@s\c@m
32 \BC{\char\c@s}%
33 \advance\c@j1
34 }%
35 \par
36 \advance\c@i1
37 }
38 }
39 \newcommand\MktableSevenBit{\Mktable{8}}
40 \newcommand\MktableEightBit{\Mktable{16}}
41 \makeatother
42
43
44 \begin{document}
45 \chapter{Code Tables}
46 \section{OT1}
47 \subsection{cmr}
48 {
49 \fontencoding{OT1}\selectfont
50 \MktableSevenBit
51 }
52 \subsection{cmtt}
53 {
54 \fontencoding{OT1}\selectfont\ttfamily
55 \MktableSevenBit
56 }
57
58 \newpage
59 \section{OML}
60 \subsection{cmmi}
61 {
62 \usefont{OML}{cmr}{m}{n}\selectfont
63 \MktableSevenBit
64 }
65 \section{OMS}
66 \subsection{cmsy}
67 {
68 \usefont{OMS}{cmr}{m}{n}\selectfont
69 \MktableSevenBit
70 }
71
72 \newpage
73 \section{OT2}
74 \subsection{wnr}
75 {
76 \fontencoding{OT2}\selectfont
77 \MktableSevenBit
78 }
79 \subsection{wntt}
80 {
81 \fontencoding{OT2}\selectfont\ttfamily
82 \MktableSevenBit
83 }
84
85 \newpage
86 \section{T1}
87 \subsection{ecrm}
88 {
89 \fontencoding{T1}\selectfont
90 \MktableEightBit
91 }
92 \subsection{ectt}
93 {
94 \fontencoding{T1}\selectfont\ttfamily
95 \MktableEightBit
96 }
97
98 \newpage
99 \section{TS1}
100 \subsection{tcrm}
101 {
102 \fontencoding{TS1}\selectfont
103 \MktableEightBit
104 }
105
106
107 \newpage
108 \section{T2A}
109 \subsection{larm}
110 {
111 \fontencoding{T2A}\selectfont
112 \MktableEightBit
113 }
114 \subsection{latt}
115 {
116 \fontencoding{T2A}\selectfont\ttfamily
117 \MktableEightBit
118 }
119
120
121 \newpage
122 \section{T2B}
123 \subsection{lbrm}
124 {
125 \fontencoding{T2B}\selectfont
126 \MktableEightBit
127 }
128 \subsection{lbtt}
129 {
130 \fontencoding{T2B}\selectfont\ttfamily
131 \MktableEightBit
132 }
133
134 \newpage
135 \section{T2C}
136 \subsection{lcrm}
137 {
138 \fontencoding{T2C}\selectfont
139 \MktableEightBit
140 }
141 \subsection{lctt}
142 {
143 \fontencoding{T2C}\selectfont\ttfamily
144 \MktableEightBit
145 }
146
147 \newpage
148 \section{X2}
149 \subsection{rxrm}
150 {
151 \fontencoding{X2}\selectfont
152 \MktableEightBit
153 }
154 \subsection{rxtt}
155 {
156 \fontencoding{X2}\selectfont\ttfamily
157 \MktableEightBit
158 }
159
160
161
162 \chapter{Composition}
163 \section{OT1}
164 \subsection{cmr}
165 {
166 \fontencoding{OT1}\selectfont
167 in Latin-1:\\
168 ligature \B{\AE}{\ae}\\
169 stroke \B{\O}{\o}\\
170 grave \B{\`A}{\`a} \B{\`E}{\`e} \B{\`I}{\`i} \B{\`O}{\`o} \B{\`U}{\`u}\\
171 acute \B{\'A}{\'a} \B{\'E}{\'e} \B{\'I}{\'i} \B{\'O}{\'o} \B{\'U}{\'u} \B{\'Y}{\'y}\\
172 circumflex \B{\^A}{\^a} \B{\^E}{\^e} \B{\^I}{\^i} \B{\^O}{\^o} \B{\^U}{\^u}\\
173 tilde \B{\~A}{\~a} \B{\~O}{\~o}\\
174 diaeresis \B{\"A}{\"a} \B{\"E}{\"e} \B{\"I}{\"i} \B{\"O}{\"o} \B{\"U}{\"u} \B{-}{\"y}\\
175 ring above \B\AA\aa\\
176 cedilla \B{\c{C}}{\c{c}}\\
177 tilde \B{\~N}{\~n}
178
179 in T1 encoding but not in Latin-1:\\
180 ligature \BC{ff}\BC{fi}\BC{fl}\BC{ffi}\BC{ffl} \B{\OE}{\oe} \B{\IJ}{\ij}\\% \B{\NG}{\ng}\\
181 stroke \B{\L}{\l}\\
182 acute \B{\'C}{\'c} \B{\'L}{\'l} \B{\'N}{\'n} \B{\'R}{\'r} \B{\'S}{\'s} \B{\'Z}{\'z}\\
183 caron \B{\v{C}}{\v{c}} \B{\v{D}}{\v{d}} \B{\v{E}}{\v{e}} \B{\v{L}}{\v{l}} \B{\v{N}}{\v{n}}
184 \B{\v{R}}{\v{r}} \B{\v{S}}{\v{s}} \B{\v{T}}{\v{t}} \B{\v{Z}}{\v{z}}\\
185 breve \B{\u{A}}{\u{a}} \B{\u{G}}{\u{g}}\\
186 % ogonek \B{\k{A}}{\k{a}} \B{\k{E}}{\k{e}}\\
187 double acute \B{\H{O}}{\H{o}} \B{\H{U}}{\H{u}}\\
188 cedilla \B{\c{S}}{\c{s}} \B{\c{T}}{\c{t}}\\
189 diaeresis \B{\"Y}{-}\\
190 ring above \B{\r{U}}{\r{u}}\\
191 dot \B{\.Z}{\.z} \B{\.I}{-}
192 }
193 \subsection{cmtt}
194 {
195 \fontencoding{OT1}\selectfont\ttfamily
196 in Latin-1:\\
197 ligature \B{\AE}{\ae}\\
198 stroke \B{\O}{\o}\\
199 grave \B{\`A}{\`a} \B{\`E}{\`e} \B{\`I}{\`i} \B{\`O}{\`o} \B{\`U}{\`u}\\
200 acute \B{\'A}{\'a} \B{\'E}{\'e} \B{\'I}{\'i} \B{\'O}{\'o} \B{\'U}{\'u} \B{\'Y}{\'y}\\
201 circumflex \B{\^A}{\^a} \B{\^E}{\^e} \B{\^I}{\^i} \B{\^O}{\^o} \B{\^U}{\^u}\\
202 tilde \B{\~A}{\~a} \B{\~O}{\~o}\\
203 diaeresis \B{\"A}{\"a} \B{\"E}{\"e} \B{\"I}{\"i} \B{\"O}{\"o} \B{\"U}{\"u} \B{-}{\"y}\\
204 ring above \B\AA\aa\\
205 cedilla \B{\c{C}}{\c{c}}\\
206 tilde \B{\~N}{\~n}
207
208 in T1 encoding but not in Latin-1:\\
209 ligature \BC{ff}\BC{fi}\BC{fl}\BC{ffi}\BC{ffl} \B{\OE}{\oe} \B{\IJ}{\ij}\\% \B{\NG}{\ng}\\
210 % stroke \B{\L}{\l}\\
211 acute \B{\'C}{\'c} \B{\'L}{\'l} \B{\'N}{\'n} \B{\'R}{\'r} \B{\'S}{\'s} \B{\'Z}{\'z}\\
212 caron \B{\v{C}}{\v{c}} \B{\v{D}}{\v{d}} \B{\v{E}}{\v{e}} \B{\v{L}}{\v{l}} \B{\v{N}}{\v{n}}
213 \B{\v{R}}{\v{r}} \B{\v{S}}{\v{s}} \B{\v{T}}{\v{t}} \B{\v{Z}}{\v{z}}\\
214 breve \B{\u{A}}{\u{a}} \B{\u{G}}{\u{g}}\\
215 % ogonek \B{\k{A}}{\k{a}} \B{\k{E}}{\k{e}}\\
216 % double acute \B{\H{O}}{\H{o}} \B{\H{U}}{\H{u}}\\
217 cedilla \B{\c{S}}{\c{s}} \B{\c{T}}{\c{t}}\\
218 diaeresis \B{\"Y}{-}\\
219 ring above \B{\r{U}}{\r{u}}\\
220 % dot \B{\.Z}{\.z} \B{\.I}{-}
221 }
222
223 \section{T1}
224 \subsection{ecrm}
225 {
226 \fontencoding{T1}\selectfont
227 in Latin-1:\\
228 ligature \B{\AE}{\ae}\\
229 stroke \B{\O}{\o} \B{\DH}{\dh}\\
230 grave \B{\`A}{\`a} \B{\`E}{\`e} \B{\`I}{\`i} \B{\`O}{\`o} \B{\`U}{\`u}\\
231 acute \B{\'A}{\'a} \B{\'E}{\'e} \B{\'I}{\'i} \B{\'O}{\'o} \B{\'U}{\'u} \B{\'Y}{\'y}\\
232 circumflex \B{\^A}{\^a} \B{\^E}{\^e} \B{\^I}{\^i} \B{\^O}{\^o} \B{\^U}{\^u}\\
233 tilde \B{\~A}{\~a} \B{\~O}{\~o}\\
234 diaeresis \B{\"A}{\"a} \B{\"E}{\"e} \B{\"I}{\"i} \B{\"O}{\"o} \B{\"U}{\"u} \B{-}{\"y}\\
235 ring above \B\AA\aa\\
236 cedilla \B{\c{C}}{\c{c}}\\
237 tilde \B{\~N}{\~n}
238
239 in T1 encoding but not in Latin-1:\\
240 ligature \BC{ff}\BC{fi}\BC{fl}\BC{ffi}\BC{ffl} \B{\OE}{\oe} \B{\IJ}{\ij} \B{\NG}{\ng}\\
241 stroke \B{\L}{\l} \B{-}{\dj}\\
242 acute \B{\'C}{\'c} \B{\'L}{\'l} \B{\'N}{\'n} \B{\'R}{\'r} \B{\'S}{\'s} \B{\'Z}{\'z}\\
243 caron \B{\v{C}}{\v{c}} \B{\v{D}}{\v{d}} \B{\v{E}}{\v{e}} \B{\v{L}}{\v{l}} \B{\v{N}}{\v{n}}
244 \B{\v{R}}{\v{r}} \B{\v{S}}{\v{s}} \B{\v{T}}{\v{t}} \B{\v{Z}}{\v{z}}\\
245 breve \B{\u{A}}{\u{a}} \B{\u{G}}{\u{g}}\\
246 ogonek \B{\k{A}}{\k{a}} \B{\k{E}}{\k{e}}\\
247 double acute \B{\H{O}}{\H{o}} \B{\H{U}}{\H{u}}\\
248 cedilla \B{\c{S}}{\c{s}} \B{\c{T}}{\c{t}}\\
249 diaeresis \B{\"Y}{-}\\
250 ring above \B{\r{U}}{\r{u}}\\
251 dot \B{\.Z}{\.z} \B{\.I}{-}
252 }
253 \subsection{ectt}
254 {
255 \fontencoding{T1}\selectfont\ttfamily
256 in Latin-1:\\
257 ligature \B{\AE}{\ae}\\
258 stroke \B{\O}{\o} \B{\DH}{\dh}\\
259 grave \B{\`A}{\`a} \B{\`E}{\`e} \B{\`I}{\`i} \B{\`O}{\`o} \B{\`U}{\`u}\\
260 acute \B{\'A}{\'a} \B{\'E}{\'e} \B{\'I}{\'i} \B{\'O}{\'o} \B{\'U}{\'u} \B{\'Y}{\'y}\\
261 circumflex \B{\^A}{\^a} \B{\^E}{\^e} \B{\^I}{\^i} \B{\^O}{\^o} \B{\^U}{\^u}\\
262 tilde \B{\~A}{\~a} \B{\~O}{\~o}\\
263 diaeresis \B{\"A}{\"a} \B{\"E}{\"e} \B{\"I}{\"i} \B{\"O}{\"o} \B{\"U}{\"u} \B{-}{\"y}\\
264 ring above \B\AA\aa\\
265 cedilla \B{\c{C}}{\c{c}}\\
266 tilde \B{\~N}{\~n}
267
268 in T1 encoding but not in Latin-1:\\
269 ligature \BC{ff}\BC{fi}\BC{fl}\BC{ffi}\BC{ffl} \B{\OE}{\oe} \B{\IJ}{\ij} \B{\NG}{\ng}\\
270 stroke \B{\L}{\l} \B{-}{\dj}\\
271 acute \B{\'C}{\'c} \B{\'L}{\'l} \B{\'N}{\'n} \B{\'R}{\'r} \B{\'S}{\'s} \B{\'Z}{\'z}\\
272 caron \B{\v{C}}{\v{c}} \B{\v{D}}{\v{d}} \B{\v{E}}{\v{e}} \B{\v{L}}{\v{l}} \B{\v{N}}{\v{n}}
273 \B{\v{R}}{\v{r}} \B{\v{S}}{\v{s}} \B{\v{T}}{\v{t}} \B{\v{Z}}{\v{z}}\\
274 breve \B{\u{A}}{\u{a}} \B{\u{G}}{\u{g}}\\
275 ogonek \B{\k{A}}{\k{a}} \B{\k{E}}{\k{e}}\\
276 double acute \B{\H{O}}{\H{o}} \B{\H{U}}{\H{u}}\\
277 cedilla \B{\c{S}}{\c{s}} \B{\c{T}}{\c{t}}\\
278 diaeresis \B{\"Y}{-}\\
279 ring above \B{\r{U}}{\r{u}}\\
280 dot \B{\.Z}{\.z} \B{\.I}{-}
281 }
282
283 \section{T2A}
284 \subsection{larm}
285 {
286 \fontencoding{T2A}\selectfont
287 in Latin-1:\\
288 ligature \B{\AE}{\ae}\\
289 stroke \B{\O}{\o}\\
290 grave \B{\`A}{\`a} \B{\`E}{\`e} \B{\`I}{\`i} \B{\`O}{\`o} \B{\`U}{\`u}\\
291 acute \B{\'A}{\'a} \B{\'E}{\'e} \B{\'I}{\'i} \B{\'O}{\'o} \B{\'U}{\'u} \B{\'Y}{\'y}\\
292 circumflex \B{\^A}{\^a} \B{\^E}{\^e} \B{\^I}{\^i} \B{\^O}{\^o} \B{\^U}{\^u}\\
293 tilde \B{\~A}{\~a} \B{\~O}{\~o}\\
294 diaeresis \B{\"A}{\"a} \B{\"E}{\"e} \B{\"I}{\"i} \B{\"O}{\"o} \B{\"U}{\"u} \B{-}{\"y}\\
295 ring above \B\AA\aa\\
296 cedilla \B{\c{C}}{\c{c}}\\
297 tilde \B{\~N}{\~n}
298
299 in T1 encoding but not in Latin-1:\\
300 ligature \BC{ff}\BC{fi}\BC{fl}\BC{ffi}\BC{ffl} \B{\OE}{\oe} \B{\IJ}{\ij}\\% \B{\NG}{\ng}\\
301 stroke \B{\L}{\l}\\
302 acute \B{\'C}{\'c} \B{\'L}{\'l} \B{\'N}{\'n} \B{\'R}{\'r} \B{\'S}{\'s} \B{\'Z}{\'z}\\
303 caron \B{\v{C}}{\v{c}} \B{\v{D}}{\v{d}} \B{\v{E}}{\v{e}} \B{\v{L}}{\v{l}} \B{\v{N}}{\v{n}}
304 \B{\v{R}}{\v{r}} \B{\v{S}}{\v{s}} \B{\v{T}}{\v{t}} \B{\v{Z}}{\v{z}}\\
305 breve \B{\u{A}}{\u{a}} \B{\u{G}}{\u{g}}\\
306 ogonek \B{\k{A}}{\k{a}} \B{\k{E}}{\k{e}}\\
307 double acute \B{\H{O}}{\H{o}} \B{\H{U}}{\H{u}}\\
308 cedilla \B{\c{S}}{\c{s}} \B{\c{T}}{\c{t}}\\
309 diaeresis \B{\"Y}{-}\\
310 ring above \B{\r{U}}{\r{u}}\\
311 dot \B{\.Z}{\.z} \B{\.I}{-}
312 }
313 \subsection{latt}
314 {
315 \fontencoding{T2A}\selectfont\ttfamily
316 in Latin-1:\\
317 ligature \B{\AE}{\ae}\\
318 stroke \B{\O}{\o}\\
319 grave \B{\`A}{\`a} \B{\`E}{\`e} \B{\`I}{\`i} \B{\`O}{\`o} \B{\`U}{\`u}\\
320 acute \B{\'A}{\'a} \B{\'E}{\'e} \B{\'I}{\'i} \B{\'O}{\'o} \B{\'U}{\'u} \B{\'Y}{\'y}\\
321 circumflex \B{\^A}{\^a} \B{\^E}{\^e} \B{\^I}{\^i} \B{\^O}{\^o} \B{\^U}{\^u}\\
322 tilde \B{\~A}{\~a} \B{\~O}{\~o}\\
323 diaeresis \B{\"A}{\"a} \B{\"E}{\"e} \B{\"I}{\"i} \B{\"O}{\"o} \B{\"U}{\"u} \B{-}{\"y}\\
324 ring above \B\AA\aa\\
325 cedilla \B{\c{C}}{\c{c}}\\
326 tilde \B{\~N}{\~n}
327
328 in T1 encoding but not in Latin-1:\\
329 ligature \BC{ff}\BC{fi}\BC{fl}\BC{ffi}\BC{ffl} \B{\OE}{\oe} \B{\IJ}{\ij}\\% \B{\NG}{\ng}\\
330 % stroke \B{\L}{\l}\\
331 acute \B{\'C}{\'c} \B{\'L}{\'l} \B{\'N}{\'n} \B{\'R}{\'r} \B{\'S}{\'s} \B{\'Z}{\'z}\\
332 caron \B{\v{C}}{\v{c}} \B{\v{D}}{\v{d}} \B{\v{E}}{\v{e}} \B{\v{L}}{\v{l}} \B{\v{N}}{\v{n}}
333 \B{\v{R}}{\v{r}} \B{\v{S}}{\v{s}} \B{\v{T}}{\v{t}} \B{\v{Z}}{\v{z}}\\
334 breve \B{\u{A}}{\u{a}} \B{\u{G}}{\u{g}}\\
335 ogonek \B{\k{A}}{\k{a}} \B{\k{E}}{\k{e}}\\
336 double acute \B{\H{O}}{\H{o}} \B{\H{U}}{\H{u}}\\
337 cedilla \B{\c{S}}{\c{s}} \B{\c{T}}{\c{t}}\\
338 diaeresis \B{\"Y}{-}\\
339 ring above \B{\r{U}}{\r{u}}\\
340 dot \B{\.Z}{\.z} \B{\.I}{-}
341 }
342
343 \end{document}