blob: ae46d88e712eb8b7129cb8b248a2a75e2b317498 (
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
|
% Loads stmaryrd symbols for 10pt plain TeX documents.
% Use \stmaryrdninepoint for nine point documents.
% Use \stmaryrdelevenpoint for eleven point documents.
% Use \stmaryrdtwelvepoint for twelve point documents.
%
% See the LaTeX stmaryrd package docs for details on the symbols
% available and the commands to access them.
%
\def\plainstmaryversion{0.4}%
\edef\restoreallcatcodes{%
\catcode`\noexpand\@=\number\catcode`\@\relax
\catcode`\noexpand\!=\number\catcode`\!\relax}%
%
\newfam\stmaryrdfam
%
\font\stmaryfive stmary5
\font\stmarysix stmary6
\font\stmaryseven stmary7
\font\stmaryeight stmary8
\font\stmarynine stmary9
\font\stmaryten stmary10
\font\stmaryeleven stmary10 at10.95pt
\font\stmarytwelve stmary10 at12pt
%
\def\stmaryrdninepoint{%
\textfont\stmaryrdfam \stmarynine
\scriptfont\stmaryrdfam \stmaryseven
\scriptscriptfont\stmaryrdfam \stmaryfive}%
%
\def\stmaryrdtenpoint{%
\textfont\stmaryrdfam \stmaryten
\scriptfont\stmaryrdfam \stmaryseven
\scriptscriptfont\stmaryrdfam \stmaryfive}%
%
\def\stmaryrdelevenpoint{%
\textfont\stmaryrdfam \stmaryeleven
\scriptfont\stmaryrdfam \stmaryeight
\scriptscriptfont\stmaryrdfam \stmarysix}%
%
\def\stmaryrdtwelvepoint{%
\textfont\stmaryrdfam \stmarytwelve
\scriptfont\stmaryrdfam \stmaryeight
\scriptscriptfont\stmaryrdfam \stmarysix}%
%
\catcode`\@=11
%
\catcode`\!\active
\edef!{\ifcase\stmaryrdfam
0\or 1\or 2\or 3\or 4\or 5\or 6\or 7\or
8\or 9\or A\or B\or C\or D\or E\or F\fi}%
%
\def\stm@op #1#2{\mathchardef#1"1!#2}%
\def\stm@bin #1#2{\mathchardef#1"2!#2}%
\def\stm@rel #1#2{\mathchardef#1"3!#2}%
\def\stm@open #1#2{\mathchardef#1"4!#2}%
\def\stm@close#1#2{\mathchardef#1"5!#2}%
\stm@rel \shortleftarrow{00}%
\stm@rel \shortrightarrow{01}%
\stm@rel \shortuparrow{02}%
\stm@rel \shortdownarrow{03}%
\stm@bin \Yup{04}%
\stm@bin \Ydown{05}%
\stm@bin \Yleft{06}%
\stm@bin \Yright{07}%
\stm@bin \varcurlyvee{08}%
\stm@bin \varcurlywedge{09}%
\stm@bin \minuso{0A}%
\stm@bin \baro{0B}%
\stm@bin \sslash{0C}%
\stm@bin \bbslash{0D}%
\stm@bin \moo{0E}%
\stm@bin \varotimes{0F}%
\stm@bin \varoast{10}%
\stm@bin \varobar{11}%
\stm@bin \varodot{12}%
\stm@bin \varoslash{13}%
\stm@bin \varobslash{14}%
\stm@bin \varocircle{15}%
\stm@bin \varoplus{16}%
\stm@bin \varominus{17}%
\stm@bin \boxast{18}%
\stm@bin \boxbar{19}%
\stm@bin \boxdot{1A}%
\stm@bin \boxslash{1B}%
\stm@bin \boxbslash{1C}%
\stm@bin \boxcircle{1D}%
\stm@bin \boxbox{1E}%
\stm@bin \boxempty{1F}%
\mathchardef\lightning"0!20
\stm@bin \merge{21}%
\stm@bin \vartimes{22}%
\stm@bin \fatsemi{23}%
\stm@rel \sswarrow{24}%
\stm@rel \ssearrow{25}%
\stm@rel \curlywedgeuparrow{26}%
\stm@rel \curlywedgedownarrow{27}%
\stm@bin \fatslash{28}%
\stm@bin \fatbslash{29}%
\stm@open \lbag{2A}%
\stm@close\rbag{2B}%
\stm@bin \varbigcirc{2C}%
\stm@rel \leftrightarroweq{2D}%
\stm@rel \curlyveedownarrow{2E}%
\stm@rel \curlyveeuparrow{2F}%
\stm@rel \nnwarrow{30}%
\stm@rel \nnearrow{31}%
\stm@bin \leftslice{32}%
\stm@bin \rightslice{33}%
\stm@bin \varolessthan{34}%
\stm@bin \varogreaterthan{35}%
\stm@bin \varovee{36}%
\stm@bin \varowedge{37}%
\stm@bin \talloblong{38}%
\stm@bin \interleave{39}%
\stm@bin \obar{3A}%
\stm@bin \obslash{3B}%
\stm@bin \olessthan{3C}%
\stm@bin \ogreaterthan{3D}%
\stm@bin \ovee{3E}%
\stm@bin \owedge{3F}%
\stm@bin \oblong{40}%
\stm@rel \inplus{41}%
\stm@rel \niplus{42}%
\stm@bin \nplus{43}%
\stm@rel \subsetplus{44}%
\stm@rel \supsetplus{45}%
\stm@rel \subsetpluseq{46}%
\stm@rel \supsetpluseq{47}%
\stm@open \Lbag{48}%
\stm@close\Rbag{49}%
%
% \def instead of \let in case amssym is loaded later
\def\oast{\circledast}%
\def\ocircle{\circledcirc}%
%
\stm@open \llparenthesis{4C}%
\stm@close\rrparenthesis{4D}%
\stm@bin \binampersand{4E}%
\stm@bin \bindnasrepma{4F}%
\stm@rel \trianglelefteqslant{50}%
\stm@rel \trianglerighteqslant{51}%
\stm@rel \ntrianglelefteqslant{52}%
\stm@rel \ntrianglerighteqslant{53}%
\stm@open \llfloor{54}%
\stm@close\rrfloor{55}%
\stm@open \llceil{56}%
\stm@close\rrceil{57}%
\stm@rel \arrownot{58}%
\stm@rel \Arrownot{59}%
\stm@rel \Mapstochar{5A}%
\stm@rel \mapsfromchar{5B}%
\stm@rel \Mapsfromchar{5C}%
\stm@rel \leftrightarrowtriangle{5D}%
\stm@rel \leftarrowtriangle{5E}%
\stm@rel \rightarrowtriangle{5F}%
\stm@op \bigtriangledown{60}%
\stm@op \bigtriangleup{61}%
\stm@op \bigcurlyvee{62}%
\stm@op \bigcurlywedge{63}%
\stm@op \bigsqcap{64}%
\stm@op \bigbox{65}%
\stm@op \bigparallel{66}%
\stm@op \biginterleave{67}%
\stm@op \bignplus{70}%
%
\edef\llbracket{\delimiter"4!4A!71}%
\edef\rrbracket{\delimiter"5!4B!79}%
%
\def\@tempa#1{%
\def\varcopyright{%
{\ooalign{\hfil\raise.07ex\hbox{c}\hfil\crcr\mathhexbox#12C}}}}%
\expandafter\@tempa!%
%
% The long arrow negations.
%
\def\longarrownot{\mathrel{\mkern5.5mu\arrownot\mkern-5.5mu}}%
\def\Longarrownot{\mathrel{\mkern5.5mu\Arrownot\mkern-5.5mu}}%
%
% The variants on \mapsto:
%
\def\Mapsto{\Mapstochar\Rightarrow}%
\def\mapsfrom{\leftarrow\mapsfromchar}%
\def\Mapsfrom{\Leftarrow\Mapsfromchar}%
\def\Longmapsto{\Mapstochar\Longrightarrow}%
\def\longmapsfrom{\longleftarrow\mapsfromchar}%
\def\Longmapsfrom{\Longleftarrow\Mapsfromchar}%
%
\restoreallcatcodes
\stmaryrdtenpoint
|