Debian Codegraph @

texmf-dist/source/latex/bbold/fonttabl.sty

raw
1 %%
2 %% This is file `fonttabl.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% bbold.dtx (with options: `fonttabl')
8 %%
9 %% IMPORTANT NOTICE:
10 %%
11 %% For the copyright see the source file.
12 %%
13 %% Any modified versions of this file must be renamed
14 %% with new filenames distinct from fonttabl.sty.
15 %%
16 %% For distribution of the original source see the terms
17 %% for copying and modification in the file bbold.dtx.
18 %%
19 %% This generated file may be distributed as long as the
20 %% original source files, as listed above, are part of the
21 %% same distribution. (The sources need not necessarily be
22 %% in the same archive or directory.)
23 %% \CharacterTable
24 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
25 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
26 %% Digits \0\1\2\3\4\5\6\7\8\9
27 %% Exclamation \! Double quote \" Hash (number) \#
28 %% Dollar \$ Percent \% Ampersand \&
29 %% Acute accent \' Left paren \( Right paren \)
30 %% Asterisk \* Plus \+ Comma \,
31 %% Minus \- Point \. Solidus \/
32 %% Colon \: Semicolon \; Less than \<
33 %% Equals \= Greater than \> Question mark \?
34 %% Commercial at \@ Left bracket \[ Backslash \\
35 %% Right bracket \] Circumflex \^ Underscore \_
36 %% Grave accent \` Left brace \{ Vertical bar \|
37 %% Right brace \} Tilde \~}
38 \newcount\m \newcount\n \newcount\p \newdimen\dim
39 \chardef\other=12
40 \def\oct#1{\hbox{\rm\'{}\kern-.2em\it#1\/\kern.05em}} % octal constant
41 \def\hex#1{\hbox{\rm\H{}\tt#1}} % hexadecimal constant
42 \def\setdigs#1"#2{\gdef\h{#2}% \h=hex prefix; \0\1=corresponding octal
43 \m=\n \divide\m by 64 \xdef\0{\the\m}%
44 \multiply\m by-64 \advance\m by\n \divide\m by 8 \xdef\1{\the\m}}
45 \def\testrow{\setbox0=\hbox{\penalty 1\def\\{\char"\h}%
46 \\0\\1\\2\\3\\4\\5\\6\\7\\8\\9\\A\\B\\C\\D\\E\\F%
47 \global\p=\lastpenalty}} % \p=1 if none of the characters exist
48 \def\oddline{\cr
49 \noalign{\nointerlineskip}
50 \multispan{19}\hrulefill&
51 \setbox0=\hbox{\lower 2.3pt\hbox{\hex{\h x}}}\smash{\box0}\cr
52 \noalign{\nointerlineskip}}
53 \newif\ifskipping
54 \def\evenline{\loop\skippingfalse
55 \ifnum\n<256 \m=\n \divide\m 16 \chardef\next=\m
56 \expandafter\setdigs\meaning\next \testrow
57 \ifnum\p=1 \skippingtrue \fi\fi
58 \ifskipping \global\advance\n 16 \repeat
59 \ifnum\n=256 \let\next=\endchart\else\let\next=\morechart\fi
60 \next}
61 \def\morechart{\cr\noalign{\hrule\penalty5000}
62 \chartline \oddline \m=\1 \advance\m 1 \xdef\1{\the\m}
63 \chartline \evenline}
64 \def\chartline{&\oct{\0\1x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&}
65 \def\chartstrut{\lower4.5pt\vbox to14pt{}}
66 \def\fonttable{$$
67 \@namedef{T@OT1}{}% Switch off loading of ot1.def
68 \@namedef{T@T1}{}% and t1.def in the table axes
69 \global\n=0
70 \halign to\hsize\bgroup
71 \chartstrut##\tabskip0pt plus10pt&
72 &\hfil##\hfil&\vrule##\cr
73 \lower6.5pt\null
74 &&&\oct0&&\oct1&&\oct2&&\oct3&&\oct4&&\oct5&&\oct6&&\oct7&\evenline}
75 \def\endchart{\cr\noalign{\hrule}
76 \raise11.5pt\null&&&\hex 8&&\hex 9&&\hex A&&\hex B&
77 &\hex C&&\hex D&&\hex E&&\hex F&\cr\egroup$$\par}
78 \def\:{\setbox0=\hbox{\char\n}%
79 \ifdim\ht0>7.5pt\reposition
80 \else\ifdim\dp0>2.5pt\reposition\fi\fi
81 \box0\global\advance\n 1 }
82 \def\reposition{\setbox0=\vbox{\kern2pt\box0}\dim=\dp0
83 \advance\dim 2pt \dp0=\dim}
84 \def\centerlargechars{
85 \def\reposition{\setbox0=\hbox{$\vcenter{\kern2pt\box0\kern2pt}$}}}
86 \endinput
87 %%
88 %% End of file `fonttabl.sty'.