summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/plain/plstmary/stmary.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/plain/plstmary/stmary.tex')
-rw-r--r--Master/texmf-dist/tex/plain/plstmary/stmary.tex189
1 files changed, 189 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/plain/plstmary/stmary.tex b/Master/texmf-dist/tex/plain/plstmary/stmary.tex
new file mode 100644
index 00000000000..ae46d88e712
--- /dev/null
+++ b/Master/texmf-dist/tex/plain/plstmary/stmary.tex
@@ -0,0 +1,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