summaryrefslogtreecommitdiff
path: root/info/examples/tex-in-practice/fotable.tip
blob: 5af38e251a8f4658e6669080a5886b0d25ab2c57 (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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
% This macro source file is from the four volume series
% "TeX in Practice" by Stephan von Bechtolsheim, published
% 1993 by Springer-Verlag, New York.
% Copyright 1993 Stephan von Bechtolsheim.
% No warranty or liability is assumed.
% This macro may be copied freely if no fees other than
% media cost or shipping charges are charged and as long
% as this copyright and the following source code itself
% is not changed. Please see the series for further information.
%
% Version: 1.0
% Date: May 1, 1993
%
%
% This source code is documented in 16.8.1, p. II-298.
% Original source in file "fonts2.TEX", starting line 1840.
\wlog{L: "fotable.tip" ["fonts2.TEX," l. 1840, p. II-298]}%
% This file DOES belong to format "texip."
\catcode`\@ = 11
\def\@OctPrintFontTable#1{% 
    \hbox{% 
        \rm\'{}% 
        \kern-.2em
        \it #1\/% 
        \kern.05em
    }% 
}
\def\@HexPrintFontTable#1{% 
    \hbox{\rm\H{}\tt#1}% 
}
\def\@OddLineFontTable#1{% 
    \cr
    \noalign{\nointerlineskip}
    \multispan{19}\hrulefill&
    \setbox0 = \hbox{% 
        \lower 2.3pt\hbox{% 
            \@HexPrintFontTable{#1x}% 
        }% 
    }% 
    \smash{\box0}% 
    \cr
    \noalign{\nointerlineskip}
}
\def\@EvenLineFontTable{\cr\noalign{\hrule}}
\def\@FontTableStrut{\lower4.5pt\vbox to 14pt{}}
\def\BeginFontTable #1{% 
    $$
    \postdisplaypenalty = 0
    \global\count@=0
    #1
    \halign to\hsize\bgroup
        \@FontTableStrut##\relax    \tabskip = 0pt plus 10pt&
        &\hfil##\hfil&\vrule##% 
    \cr
    \lower6.5pt\null
    &&&
    \@OctPrintFontTable0&&
    \@OctPrintFontTable1&&
    \@OctPrintFontTable2&&
    \@OctPrintFontTable3&&
    \@OctPrintFontTable4&&
    \@OctPrintFontTable5&&
    \@OctPrintFontTable6&&
    \@OctPrintFontTable7&
    \@EvenLineFontTable
}
\def\EndFontTable{% 
    \raise 11.5pt\null
    &&&
    \@HexPrintFontTable 8&&
    \@HexPrintFontTable 9&&
    \@HexPrintFontTable A&&
    \@HexPrintFontTable B&&
    \@HexPrintFontTable C&&
    \@HexPrintFontTable D&&
    \@HexPrintFontTable E&&
    \@HexPrintFontTable F&
    \cr
    \egroup
    $$% 
}
\def\:{% 
    \setbox0 = \hbox{% 
        \char\count@
    }%
    \ifdim\ht0 > 7.5pt
        \@RepositionFontTable
    \else
        \ifdim\dp0 > 2.5pt
            \@RepositionFontTable
        \fi
    \fi
    \box0
    \global\advance\count@ by 1
}
\def\@RepositionFontTable{% 
    \setbox0 = \hbox{% 
        $
            \vcenter{% 
                \kern 2pt
                \box0
                \kern 2pt
            }
        $%
    }% 
}
\def\NormalFontTable{%
    &\@OctPrintFontTable{00x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable0
    &\@OctPrintFontTable{01x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
    &\@OctPrintFontTable{02x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable1
    &\@OctPrintFontTable{03x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
    &\@OctPrintFontTable{04x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable2
    &\@OctPrintFontTable{05x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
    &\@OctPrintFontTable{06x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable3
    &\@OctPrintFontTable{07x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
    &\@OctPrintFontTable{10x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable4
    &\@OctPrintFontTable{11x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
    &\@OctPrintFontTable{12x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable5
    &\@OctPrintFontTable{13x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
    &\@OctPrintFontTable{14x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable6
    &\@OctPrintFontTable{15x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
    &\@OctPrintFontTable{16x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable7
    &\@OctPrintFontTable{17x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
}
\def\MoreFontTable{%
    &\@OctPrintFontTable{20x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable8
    &\@OctPrintFontTable{21x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
    &\@OctPrintFontTable{22x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable9
    &\@OctPrintFontTable{23x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
    &\@OctPrintFontTable{24x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable A
    &\@OctPrintFontTable{25x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
    &\@OctPrintFontTable{26x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable B
    &\@OctPrintFontTable{27x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
    &\@OctPrintFontTable{30x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable C
    &\@OctPrintFontTable{31x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
    &\@OctPrintFontTable{32x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable D
    &\@OctPrintFontTable{33x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
    &\@OctPrintFontTable{34x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable E
    &\@OctPrintFontTable{35x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
    &\@OctPrintFontTable{36x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&&\@OddLineFontTable F
    &\@OctPrintFontTable{37x}&&\:&&\:&&\:&&\:&&\:&&\:&&
        \:&&\:&\@EvenLineFontTable
}
\catcode`\@ = 12