summaryrefslogtreecommitdiff
path: root/obsolete/fonts/wasy/wasyfont.tex
blob: 90c70ba97451d35f1ced644c9b48a6790c580e97 (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
\font\tenwasy = wasy10
\font\ninewasy = wasy9
\font\eightwasy = wasy8
\font\sevenwasy = wasy7
\font\fivewasy = wasy5
\newfam\wasyfam
\newcount\wasyfamcount
\wasyfamcount=\wasyfam \multiply\wasyfamcount by 256
\def\wasy{\fam\wasyfam\tenwasy}
\textfont\wasyfam=\tenwasy
\scriptfont\wasyfam=\sevenwasy
\scriptscriptfont\wasyfam=\fivewasy
%%%%%% special macro
\def\overstrike#1#2{{\setbox0\hbox{$#2$}\hbox to \wd0{\hss
    $#1$\hss}\kern-\wd0\box0}}
%%%%%% special symbols
\def\male{\hbox{\wasy\char"1A}}
\def\female{\hbox{\wasy\char"19}}
\def\currency{{\wasy\char"1B}}
\def\phone{{\wasy\char"07}}
\def\recorder{{\wasy\char"06}}
\def\clock{{\wasy\char"1C}}
\def\lightning{{\wasy\char"12}}
\def\pointer{{\wasy\char"09}}
\def\RIGHTarrow{{\wasy\char"11}}
\def\LEFTarrow{{\wasy\char"10}}
\def\UParrow{{\wasy\char"4B}}
\def\DOWNarrow{{\wasy\char"4C}}
\def\AC{\hbox{\kern0.5pt\wasy\char"3A\kern0.5pt}}
\def\HF{\lower0.9pt\hbox to 0pt{\kern0.5pt\wasy\char"3A\hss}%
        \raise0.9pt\hbox{\kern0.5pt\wasy\char"3A\kern0.5pt}}
\def\VHF{\hbox{\wasy\char"40}}
\def\Box{\hbox{\wasy\char"32}}\let\Square\Box
\def\XBox{\hbox{\wasy\char"34}}
\def\Diamond{\hbox{\wasy\char"33}}
\def\hexagon{\hbox{\wasy\char"37}}
\def\pentagon{\hbox{\wasy\char"44}}
\def\octagon{\hbox{\wasy\char"38}}
\def\varhexagon{\hbox{\wasy\char"39}}
\def\hexstar{\hbox{\wasy\char"41}}
\def\varhexstar{\hbox{\wasy\char"42}}
\def\davidsstar{\hbox{\wasy\char"43}}
\def\diameter{\hbox{\wasy\char"1F}}
\def\invdiameter{\hbox{\wasy\char"15}}
\def\varangle{\hbox{\wasy\char"1E}}
\def\lozenge{\hbox{\wasy\char"35}}
\def\kreuz{\hbox{\wasy\char"36}}
\def\smiley{\hbox{\wasy\char"01}}
\def\frownie{\hbox{\wasy\char"04}}
\def\blacksmiley{\hbox{\wasy\char"02}}
\def\sun{\hbox{\wasy\char"03}}
\def\checked{\hbox{\wasy\char"08}}
\def\bell{\hbox{\wasy\char"0A}}
\def\eighthnote{\hbox{\wasy\char"0B}}
\def\quarternote{\hbox{\wasy\char"0C}}
\def\halfnote{\hbox{\wasy\char"0D}}
\def\fullnote{\hbox{\wasy\char"0E}}
\def\twonotes{\hbox{\wasy\char"0F}}
\def\brokenvert{\hbox{\wasy\char"7C}}
\def\therefore{\hbox{\wasy\char"05}}
\def\Circle{\hbox{\wasy\char"23}}
\def\CIRCLE{\hbox{\wasy\char"20}}
\def\Leftcircle{\hbox{\wasy\char"49}}
\def\LEFTCIRCLE{\hbox{\wasy\char"47}}
\def\Rightcircle{\hbox{\wasy\char"4A}}
\def\RIGHTCIRCLE{\hbox{\wasy\char"48}}
\def\LEFTcircle{\hbox to 0pt{\wasy\char"47\hss}\hbox{\wasy\char"23}}
\def\RIGHTcircle{\hbox to 0pt{\wasy\char"48\hss}\hbox{\wasy\char"23}}
%%%%%% astronomy
\def\aries{\hbox{\wasy\char"17}}
\def\ascnode{\hbox{\wasy\char"13}}
\def\descnode{\hbox{\wasy\char"14}}
\def\fullmoon{\hbox{\wasy\char"23}}
\def\newmoon{\hbox{\wasy\char"20}}
\def\leftmoon{\hbox{\wasy\char"24}}
\def\rightmoon{\hbox{\wasy\char"25}}
\def\astrosun{\hbox{\tensy\char"0C}}
\def\mercury{\hbox{\wasy\char"27}}
\def\venus{\raise0.2ex\hbox{\wasy\char"19}}
\def\earth{\lower0.3ex\hbox{\wasy\char"26}}
\def\mars{\lower0.2ex\hbox{\wasy\char"1A}}
\def\jupiter{\hbox{\wasy\char"28}}
\def\saturn{\hbox{\wasy\char"29}}
\def\uranus{\hbox{\wasy\char"2A}}
\def\neptune{\hbox{\wasy\char"2B}}
\def\pluto{\hbox{\wasy\char"30}}
%%%%%% APL characters
\def\APLstar{{\hbox{\wasy\char"45}}}
\def\APLlog{{\hbox{\wasy\char"16}}}
\def\APLbox{{\hbox{\wasy\char"7E}}}
\def\APLup{{\hbox{\wasy\char"00}}}
\def\APLdown{{\hbox{\wasy\char"46}}}
\def\APLinput{{\hbox{\wasy\char"7D}}}
\def\APLcomment{{\hbox{\wasy\char"7F}}}
\def\APLinv{{\hbox to 0pt{\tensy\char"04\hss}\APLbox}}
\def\APLuparrowbox{{\hbox{\wasy\char"6E}}}
\def\APLdownarrowbox{{\hbox{\wasy\char"6F}}}
\def\APLleftarrowbox{{\hbox{\wasy\char"70}}}
\def\APLrightarrowbox{{\hbox{\wasy\char"71}}}
\def\notbackslash{\overstrike{\backslash}{-}}
\def\notslash{\overstrike{/}{-}}
\def\APLnot#1{\overstrike{\sim}{#1}}
\def\APLcirc#1{\overstrike{\circ}{#1}}
\def\APLvert#1{\overstrike{\vert}{#1}}
\def\APLminus{\raise0.7ex\hbox{$-$}}
%%%%%% diagrams
\def\photon{\hbox{\wasy\char"3A\char"3A\char"3A\char"3A}}
\def\gluon{\hbox{\wasy\char"51\char"50\char"50\char"50%
    \char"50\char"50\char"50\char"52}}
%%%%%% math characters
\def\Bowtie{\hbox{\wasy\char"31}}
\def\leftturn{\hbox{\wasy\char"22}}
\def\rightturn{\hbox{\wasy\char"21}}
%%%%%% math operators as mathchars
\def\wasymathchardef#1#2{%
    \count"FF=\wasyfamcount
    \advance\count"FF by"#1
    \mathchardef#2\count"FF}
\wasymathchardef{302C}{\lhd}
\wasymathchardef{302E}{\rhd}
\wasymathchardef{3010}{\LHD}
\wasymathchardef{3011}{\RHD}
\wasymathchardef{302D}{\unlhd}
\wasymathchardef{302F}{\unrhd}
\wasymathchardef{303C}{\sqsubset}
\wasymathchardef{303D}{\sqsupset}
\wasymathchardef{303E}{\apprle}
\wasymathchardef{303F}{\apprge}
\wasymathchardef{301D}{\varpropto}
\wasymathchardef{0018}{\invneg}
\wasymathchardef{303B}{\leadsto}
\wasymathchardef{2023}{\ocircle}
\wasymathchardef{3016}{\logof}
\wasymathchardef{1072}{\varint}
\wasymathchardef{1073}{\iint}
\wasymathchardef{1074}{\iiint}
\wasymathchardef{1075}{\varoint}
\wasymathchardef{1076}{\oiint}
%
%%%%%% new definitions
%
\def\newpropto{\let\propto\varpropto}
\def\newint{\let\int\varint \let\oint\varoint} % default limits