Debian Codegraph @

texmf-dist/doc/fonts/wasy/wasyfont.2

raw
1 %
2 % this is a substitute if the wasy fonts are missing
3 %
4 \font\tenwasy = lasy10
5 \font\wasyb = lasyb10
6 \font\ninewasy = lasy9
7 \font\eightwasy = lasy8
8 \font\sevenwasy = lasy7
9 \font\fivewasy = lasy5
10 \newfam\wasyfam
11 \newcount\wasyfamcount
12 \wasyfamcount=\wasyfam \multiply\wasyfamcount by 256
13 \def\wasy{\fam\wasyfam\tenwasy}
14 \textfont\wasyfam=\tenwasy
15 \scriptfont\wasyfam=\sevenwasy
16 \scriptscriptfont\wasyfam=\fivewasy
17 \let\wsl\sl \let\wbf\bf
18 %%%%%% special macro
19 \def\overstrike#1#2{{\setbox0\hbox{$#2$}\hbox to \wd0{\hss
20 $#1$\hss}\kern-\wd0\box0}}
21 %%%%%%%%%%%%%%%%%%%%%% <) angle
22 \def\varangle{\hbox{$<$\lower 0.5pt\hbox{\kern -0.5em\tt)}}}
23 %%%%%%%%%%%%%%%%%%%%%% < approx, > approx
24 \def\apprle{\mathrel{\mathpalette\buildover{<\sim {-1.15pt}{-0.25pt}}}}
25 \def\apprge{\mathrel{\mathpalette\buildover{>\sim {-1.15pt}{-0.25pt}}}}
26 \newdimen\buildraise\newdimen\buildspace
27 \def\buildover#1#2{\getargs#2\raise\buildraise\vbox{%
28 \resetall{\buildspace}\halign{$#1\hfil##\hfil$\crcr
29 \buildtop\crcr\buildbot\crcr}}}
30 \def\getargs#1#2#3#4{\def\buildtop{#1}\def\buildbot{#2}%
31 \global\buildraise=#3\global\buildspace=#4\relax}
32 \def\resetall#1{\mathsurround=0pt\everycr={}\tabskip=0pt
33 \baselineskip=0pt\lineskiplimit=0pt\lineskip=#1}
34 %%%%%%%%%%%%%%%%%%%%%% >O<
35 \def\currency{\hbox{\tt\kern -1.0pt
36 \lower 4.4pt\hbox to 0pt{\char"13\hss}%
37 \lower 1.3pt\hbox to 0pt{\kern 0.82pt\char"12\hss}%
38 \kern 2.9pt{\tensy\char"0E}\kern -3.3pt%
39 \lower 1.3pt\hbox to 0pt{\char"13\hss}%
40 \lower 4.4pt\hbox to 0pt{%
41 \kern 0.82pt\char"12\hss}\kern 4.2pt}}
42 \def\euro{\leavevmode\hbox{\kern 0.03em
43 \vrule height 0.7ex depth -0.6ex width 0.5em
44 \kern -0.47em
45 \vrule height 1.0ex depth -0.9ex width 0.5em
46 \kern -0.5em C}}
47 \def\z{{\teni 3}}
48 %%%%%%%%%%%%%%%%%%%%%%
49 \def\clock{\hbox{\kern 1pt
50 \vrule width 0.4pt height 3.6pt depth -1.2pt
51 \vrule width 0.4pt height 1.2pt depth -0.8pt\kern -0.4pt
52 \vrule width 0.4pt height 4.0pt depth -3.6pt
53 \vrule width 0.4pt height 0.8pt depth -0.4pt\kern -0.4pt
54 \vrule width 0.4pt height 4.4pt depth -4.0pt
55 \vrule width 2.4pt height 0.4pt depth 0.0pt\kern -2.4pt
56 \vrule width 2.4pt height 4.8pt depth -4.4pt\kern -1.4pt
57 \vrule width 0.4pt height 3.6pt depth -2.2pt
58 \vrule width 1.0pt height 2.6pt depth -2.2pt
59 \vrule width 0.4pt height 0.8pt depth -0.4pt\kern -0.4pt
60 \vrule width 0.4pt height 4.4pt depth -4.0pt
61 \vrule width 0.4pt height 1.2pt depth -0.8pt\kern -0.4pt
62 \vrule width 0.4pt height 4.0pt depth -3.6pt
63 \vrule width 0.4pt height 3.6pt depth -1.2pt
64 \kern 1pt}}
65 %%%%%%%%%%%%%%%%%%%%%% bell
66 \def\bell{\hbox{\kern 1pt
67 \vrule width 0.8pt height 0.8pt depth 0pt
68 \vrule width 1.0pt height 4.5pt depth 0pt
69 \vrule width 0.8pt height 5.3pt depth 0.8pt
70 \vrule width 1.0pt height 4.5pt depth 0pt
71 \vrule width 0.8pt height 0.8pt depth 0pt
72 \kern 1pt}}
73 %%%%%%%%%%%%%%%%%%%%%% note
74 \def\eighthnote{\hbox{\kern 0.5pt\lower 0.2pt
75 \hbox{\sevensy\char"0F\kern -0.9pt}%
76 \vrule width 0.2pt height 6.8pt depth -1.4pt
77 \raise 0.8pt\hbox{\tt\kern -1.3pt\char"12}\kern -1pt}}
78 %%%%%%%%%%%%%%%%%%%%%%
79 \def\phone{\hbox{Tel.}}
80 \def\Box{\hbox{\wasy\char"32}}\let\Square\Box
81 \def\Diamond{\hbox{\wasy\char"33}}
82 \def\RIGHTarrow{{\wasy\char"03}}
83 \def\LEFTarrow{{\wasy\char"01}}
84 %%%%%%%%%%%%%%%%%%%%%%
85 \def\notbackslash{\overstrike{\backslash}{-}}
86 \def\notslash{\overstrike{/}{-}}
87 \def\APLnot#1{\overstrike{\sim}{#1}}
88 \def\APLcirc#1{\overstrike{\circ}{#1}}
89 \def\APLvert#1{\overstrike{\vert}{#1}}
90 \def\APLminus{\raise0.7ex\hbox{$-$}}
91 \def\diameter{\overstrike{\circ}{/}}
92 %%%%%%%%%%%%%%%%%%%%%%
93 \def\AC{\hbox{\kern0.5pt\wasy\char"3A\kern0.5pt}}
94 \def\HF{\lower0.9pt\hbox to 0pt{\kern0.5pt\wasy\char"3A\hss}%
95 \raise0.9pt\hbox{\kern0.5pt\wasy\char"3A\kern0.5pt}}
96 \def\VHF{\lower1.7pt\hbox to 0pt{\kern0.5pt\wasy\char"3A\hss}%
97 \hbox to 0pt{\kern0.5pt\wasy\char"3A\kern0.5pt\hss}%
98 \raise1.7pt\hbox{\kern0.5pt\wasy\char"3A\kern0.5pt}}
99 %%%%%%%%%%%%%%%%%%%%%%
100 \def\iint{\int\mkern -2mu\int}
101 \def\iiint{\int\mkern -2mu\int\mkern -2mu\int}
102 %%%%%% math characters
103 \def\Bowtie{\hbox{\wasy\char"31}}
104 %%%%%% special characters
105 \def\permil{\ifmmode{^0\!{/}\!{}_{00}}\else$^0\!{/}\!{}_{00}$\fi}
106 \def\agemO{{\wasy\char"30}}
107 \def\Dh{\leavevmode{\setbox0\hbox{D}%
108 \hbox to\wd0{\kern 0.04em\char32\hss D}}}
109 \def\cent{\overstrike/{\rm c}}
110 \def\thorn{\overstrike{\rm b}{\rm p}}
111 \def\astrosun{\hbox{\tensy\char"0C}}
112 \let\Paragraph\S
113 %%%%%% math operators as mathchars
114 \def\wasymathchardef#1#2{%
115 \count"FF=\wasyfamcount
116 \advance\count"FF by"#1
117 \mathchardef#2\count"FF}
118 \wasymathchardef{3001}{\lhd}
119 \wasymathchardef{3001}{\LHD}
120 \wasymathchardef{3003}{\rhd}
121 \wasymathchardef{3003}{\RHD}
122 \wasymathchardef{3002}{\unlhd}
123 \wasymathchardef{3004}{\unrhd}
124 \wasymathchardef{303C}{\sqsubset}
125 \wasymathchardef{303D}{\sqsupset}
126 \wasymathchardef{303B}{\leadsto}
127 %%%%%%%%%%%%%%%%%%%%%%
128 \let\newpropto\relax
129 \let\newint\relax