| 1 |
%\iffalse |
| 2 |
% ==================================================================== |
| 3 |
% @LaTeX-documentation-file{ |
| 4 |
% author = "Alan Jeffrey", |
| 5 |
% version = "2.02a-tmp-CAR", |
| 6 |
% date = "03 March 2004", |
| 7 |
% time = "14:00:40 GMT", |
| 8 |
% filename = "stmaryrd.dtx", |
| 9 |
% address = "School of Cognitive and Computing Sciences |
| 10 |
% University of Sussex |
| 11 |
% Brighton BN1 9QH |
| 12 |
% UK", |
| 13 |
% telephone = "+44 273 606755 x 3238", |
| 14 |
% FAX = "+44 273 678188", |
| 15 |
% checksum = "???", |
| 16 |
% email = "[email protected]", |
| 17 |
% codetable = "ISO/ASCII", |
| 18 |
% keywords = "LaTeX math fonts", |
| 19 |
% supported = "yes", |
| 20 |
% abstract = "This is the documentation and |
| 21 |
% self-extracting archive for the stmaryrd |
| 22 |
% package. If you run latex2e on it, it will |
| 23 |
% produce the documentation, as well as |
| 24 |
% the stmaryrd package and font definition |
| 25 |
% file.", |
| 26 |
% docstring = "The checksum field above contains a CRC-16 |
| 27 |
% checksum as the first value, followed by the |
| 28 |
% equivalent of the standard UNIX wc (word |
| 29 |
% count) utility output of lines, words, and |
| 30 |
% characters. This is produced by Robert |
| 31 |
% Solovay's checksum utility.", |
| 32 |
% package = "stands alone", |
| 33 |
% dependencies = "none", |
| 34 |
% } |
| 35 |
% ==================================================================== |
| 36 |
%\fi |
| 37 |
% \CheckSum{772} |
| 38 |
%% \CharacterTable |
| 39 |
%% {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 |
| 40 |
%% 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 |
| 41 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 42 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 43 |
%% Dollar \$ Percent \% Ampersand \& |
| 44 |
%% Acute accent \' Left paren \( Right paren \) |
| 45 |
%% Asterisk \* Plus \+ Comma \, |
| 46 |
%% Minus \- Point \. Solidus \/ |
| 47 |
%% Colon \: Semicolon \; Less than \< |
| 48 |
%% Equals \= Greater than \> Question mark \? |
| 49 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 50 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 51 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 52 |
%% Right brace \} Tilde \~} |
| 53 |
% |
| 54 |
% \setcounter{StandardModuleDepth}{1} |
| 55 |
% \def\dst{\expandafter{\normalfont\scshape docstrip}} |
| 56 |
% |
| 57 |
% \changes{1.00}{1991/05/23}{File created} |
| 58 |
% \changes{1.01}{1991/05/25}{Updated for the new module.sty and |
| 59 |
% stmaryrd.mf.} |
| 60 |
% \changes{1.02}{1991/06/05}{By mistake, `varotimes wasn't swapped for |
| 61 |
% `otimes.} |
| 62 |
% \changes{1.03}{1991/06/25}{`longarrownot and `Longarrownot.} |
| 63 |
% \changes{1.04}{1991/06/27}{The default is now for the cmsy circles, |
| 64 |
% not the heavier ones. If you want `oplus, `otimes, etc. to |
| 65 |
% generate the heavier symbols, set the tag `heavycircles.} |
| 66 |
% \changes{1.10}{1992/06/02}{Added the headers.} |
| 67 |
% \changes{2.00}{1994/03/02}{Hacked for \LaTeXe{} by Martin Ward |
| 68 |
% ([email protected]).} |
| 69 |
% \changes{2.01}{1994/03/02}{Made into a dtx file.} |
| 70 |
% \changes{2.02}{1994/03/03}{Fixed a couple of bugs with options.} |
| 71 |
% \changes{2.02a-tmp-CAR}{2004/03/03}{An emergency version to make |
| 72 |
% TLC2 correct (Chris Rowley).} |
| 73 |
% |
| 74 |
% \title{The St Mary's Road symbol font} |
| 75 |
% \author{Jeremy Gibbons \and Alan Jeffrey (and temporarily Chris Rowley)} |
| 76 |
% \date{Version 2.02a-tmp-CAR, March 2004} |
| 77 |
% |
| 78 |
% \maketitle |
| 79 |
% |
| 80 |
% \section{Introduction} |
| 81 |
% |
| 82 |
% This is a brief guide to the St Mary's Road symbol font, a new symbol |
| 83 |
% font for \TeX\ and \LaTeX. It is designed to live with the American |
| 84 |
% Mathematical Society's fonts, contained in {\tt amssymb.sty}. |
| 85 |
% |
| 86 |
% It provides a number of new symbols, including ones for derivation of |
| 87 |
% functional programming (such as $\varcurlyvee$, $\moo$ and |
| 88 |
% $\merge$), process algebra ($\llfloor$, $\oblong$ and |
| 89 |
% $\lightning$), domain theory ($\bigsqcap$), linear logic |
| 90 |
% ($\binampersand$ and $\bindnasrepma$), multisets ($\Lbag x \Rbag$, |
| 91 |
% $\nplus$, and $\subsetpluseq$) and many more. It also fixes some `features' |
| 92 |
% with previous symbols ($\oplus$ used not to be circular, now you can |
| 93 |
% use $\varoplus$ instead) and adds obvious variants of others (such as |
| 94 |
% $\mapsfrom$, $\Mapsto$ and $\Mapsfrom$). |
| 95 |
% It is all wrapped up in a \LaTeXe package called {\tt stmaryrd}, |
| 96 |
% which can be used by saying: |
| 97 |
% \begin{verbatim} |
| 98 |
% \usepackage{stmaryrd} |
| 99 |
% \end{verbatim} |
| 100 |
% This package understands a large number of options: |
| 101 |
% \begin{itemize} |
| 102 |
% \item |heavycircles| says that all of the circular operators |
| 103 |
% such as |\oplus| and |\otimes| should by default be heavy, and |
| 104 |
% that |\varoplus| and |\varotimes| should refer to the light ones. |
| 105 |
% \item |only| says that only the symbols listed in the option list |
| 106 |
% should be defined. For example: |
| 107 |
% \begin{verbatim} |
| 108 |
% \usepackage[only,mapsfrom,Mapsto,Mapsfrom]{stmaryrd} |
| 109 |
% \end{verbatim} |
| 110 |
% says that only the symbols `$\mapsfrom$', `$\Mapsto$' and |
| 111 |
% `$\Mapsfrom$' should be defined, which is useful if you use a |
| 112 |
% \TeX{} implementation with limited memory. |
| 113 |
% \end{itemize} |
| 114 |
% |
| 115 |
% \section{Symbols} |
| 116 |
% |
| 117 |
% The following operators are defined: |
| 118 |
% \begin{symbols} |
| 119 |
% \dosymbol\Ydown |
| 120 |
% \dosymbol\Yleft |
| 121 |
% \dosymbol\Yright |
| 122 |
% \dosymbol\Yup |
| 123 |
% \dosymbol\baro |
| 124 |
% \dosymbol\bbslash |
| 125 |
% \dosymbol\binampersand |
| 126 |
% \dosymbol\bindnasrepma |
| 127 |
% \dosymbol\boxast |
| 128 |
% \dosymbol\boxbar |
| 129 |
% \dosymbol\boxbox |
| 130 |
% \dosymbol\boxbslash |
| 131 |
% \dosymbol\boxcircle |
| 132 |
% \dosymbol\boxdot |
| 133 |
% \dosymbol\boxempty |
| 134 |
% \dosymbol\boxslash |
| 135 |
% \dosymbol\curlyveedownarrow |
| 136 |
% \dosymbol\curlyveeuparrow |
| 137 |
% \dosymbol\curlywedgedownarrow |
| 138 |
% \dosymbol\curlywedgeuparrow |
| 139 |
% \dosymbol\fatbslash |
| 140 |
% \dosymbol\fatsemi |
| 141 |
% \dosymbol\fatslash |
| 142 |
% \dosymbol\interleave |
| 143 |
% \dosymbol\leftslice |
| 144 |
% \dosymbol\merge |
| 145 |
% \dosymbol\minuso |
| 146 |
% \dosymbol\moo |
| 147 |
% \dosymbol\nplus |
| 148 |
% \dosymbol\obar |
| 149 |
% \dosymbol\oblong |
| 150 |
% \dosymbol\obslash |
| 151 |
% \dosymbol\ogreaterthan |
| 152 |
% \dosymbol\olessthan |
| 153 |
% \dosymbol\ovee |
| 154 |
% \dosymbol\owedge |
| 155 |
% \dosymbol\rightslice |
| 156 |
% \dosymbol\sslash |
| 157 |
% \dosymbol\talloblong |
| 158 |
% \dosymbol\varbigcirc |
| 159 |
% \dosymbol\varcurlyvee |
| 160 |
% \dosymbol\varcurlywedge |
| 161 |
% \dosymbol\varoast |
| 162 |
% \dosymbol\varobar |
| 163 |
% \dosymbol\varobslash |
| 164 |
% \dosymbol\varocircle |
| 165 |
% \dosymbol\varodot |
| 166 |
% \dosymbol\varogreaterthan |
| 167 |
% \dosymbol\varolessthan |
| 168 |
% \dosymbol\varominus |
| 169 |
% \dosymbol\varoplus |
| 170 |
% \dosymbol\varoslash |
| 171 |
% \dosymbol\varotimes |
| 172 |
% \dosymbol\varovee |
| 173 |
% \dosymbol\varowedge |
| 174 |
% \dosymbol\vartimes |
| 175 |
% \end{symbols} |
| 176 |
% (CAR) Added by Chris Rowley, March 2004: |
| 177 |
% |
| 178 |
% If the \textsf{amssymb} package has been loaded then the following |
| 179 |
% are also defined: \verb|\oast| and \verb|\ocircle|. |
| 180 |
% The following large operators are defined: |
| 181 |
% \begin{symbols} |
| 182 |
% \dosymbol\bigbox |
| 183 |
% \dosymbol\bigcurlyvee |
| 184 |
% \dosymbol\bigcurlywedge |
| 185 |
% \dosymbol\biginterleave |
| 186 |
% \dosymbol\bignplus |
| 187 |
% \dosymbol\bigparallel |
| 188 |
% \dosymbol\bigsqcap |
| 189 |
% \dosymbol\bigtriangledown |
| 190 |
% \dosymbol\bigtriangleup |
| 191 |
% \end{symbols} |
| 192 |
% The following relations are defined: |
| 193 |
% \begin{symbols} |
| 194 |
% \dosymbol\inplus |
| 195 |
% \dosymbol\niplus |
| 196 |
% \dosymbol\ntrianglelefteqslant |
| 197 |
% \dosymbol\ntrianglerighteqslant |
| 198 |
% \dosymbol\subsetplus |
| 199 |
% \dosymbol\subsetpluseq |
| 200 |
% \dosymbol\supsetplus |
| 201 |
% \dosymbol\supsetpluseq |
| 202 |
% \dosymbol\trianglelefteqslant |
| 203 |
% \dosymbol\trianglerighteqslant |
| 204 |
% \end{symbols} |
| 205 |
% The following arrows are defined: |
| 206 |
% \begin{symbols} |
| 207 |
% \dosymbol\Longmapsfrom |
| 208 |
% \dosymbol\Longmapsto |
| 209 |
% \dosymbol\Mapsfrom |
| 210 |
% \dosymbol\Mapsto |
| 211 |
% \dosymbol\leftarrowtriangle |
| 212 |
% \dosymbol\leftrightarroweq |
| 213 |
% \dosymbol\leftrightarrowtriangle |
| 214 |
% \dosymbol\lightning |
| 215 |
% \dosymbol\longmapsfrom |
| 216 |
% \dosymbol\mapsfrom |
| 217 |
% \dosymbol\nnearrow |
| 218 |
% \dosymbol\nnwarrow |
| 219 |
% \dosymbol\rightarrowtriangle |
| 220 |
% \dosymbol\rrparenthesis |
| 221 |
% \dosymbol\shortdownarrow |
| 222 |
% \dosymbol\shortleftarrow |
| 223 |
% \dosymbol\shortrightarrow |
| 224 |
% \dosymbol\shortuparrow |
| 225 |
% \dosymbol\ssearrow |
| 226 |
% \dosymbol\sswarrow |
| 227 |
% \end{symbols} |
| 228 |
% The following delimiters are defined: |
| 229 |
% \begin{symbols} |
| 230 |
% \dosymbol\Lbag |
| 231 |
% \dosymbol\Rbag |
| 232 |
% \dosymbol\lbag |
| 233 |
% \dosymbol\llbracket |
| 234 |
% \dosymbol\llceil |
| 235 |
% \dosymbol\llfloor |
| 236 |
% \dosymbol\llparenthesis |
| 237 |
% \dosymbol\rbag |
| 238 |
% \dosymbol\rrbracket |
| 239 |
% \dosymbol\rrceil |
| 240 |
% \dosymbol\rrfloor |
| 241 |
% \end{symbols} |
| 242 |
% Note that \verb|\llbracket| and \verb|\rrbracket| are `growing' |
| 243 |
% delimiters that can be used with \verb|\left| and \verb|\right|: |
| 244 |
% \[ |
| 245 |
% \left\llbracket {\cal P} \right\rrbracket \quad |
| 246 |
% \left\llbracket \bigbox {\cal P} \right\rrbracket \quad |
| 247 |
% \left\llbracket \bigbox_{i\inplus I}^{a \varoplus b} P_i |
| 248 |
% \right\rrbracket \quad |
| 249 |
% \left\llbracket \begin{array}{c}a\\b\\c\end{array} |
| 250 |
% \right\rrbracket \quad |
| 251 |
% \left\llbracket \begin{array}{c}a\\b\\c\\d\\e\\f\end{array} \right\rrbracket |
| 252 |
% \] |
| 253 |
% The following special characters are used in building others: |
| 254 |
% \begin{symbols} |
| 255 |
% \dosymbol\Arrownot |
| 256 |
% \dosymbol\Mapsfromchar |
| 257 |
% \dosymbol\Mapstochar |
| 258 |
% \dosymbol\arrownot |
| 259 |
% \dosymbol\mapsfromchar |
| 260 |
% \end{symbols} |
| 261 |
% For example, if you type |
| 262 |
% \verb|$\Arrownot\Rightarrow$| |
| 263 |
% you get |
| 264 |
% $\Arrownot\Rightarrow$, |
| 265 |
% and if you type |
| 266 |
% \verb|$\arrownot\rightarrowtriangle$| |
| 267 |
% you get |
| 268 |
% $\arrownot\rightarrowtriangle$. |
| 269 |
% |
| 270 |
% \section*{Acknowledgements} |
| 271 |
% |
| 272 |
% Thanks to David Murphy for suggestions in the design of the St |
| 273 |
% Mary's Road font. |
| 274 |
% Thanks to Martin Ward for the first pass of converting the |
| 275 |
% |stmaryrd| package to \LaTeXe. |
| 276 |
% Thanks to Simon Mercer for all the wine at 45 St.~Mary's Road. |
| 277 |
% |
| 278 |
% \section*{Legal rubbish} |
| 279 |
% |
| 280 |
% This document is copyright \copyright~1991--1994 Alan Jeffrey.% |
| 281 |
% The St Mary's Road fonts are copyright \copyright~1991--1994 Jeremy |
| 282 |
% Gibbons and Alan Jeffrey. All rights are reserved. |
| 283 |
% The moral right of the authors has been asserted. |
| 284 |
% |
| 285 |
% This package may be distributed under the terms of the LaTeX Project Public |
| 286 |
% License, as described in lppl.txt in the base LaTeX distribution. |
| 287 |
% Either version 1.0 or, at your option, any later version. |
| 288 |
% |
| 289 |
% \StopEventually{} |
| 290 |
% |
| 291 |
% \section{Installation} |
| 292 |
% |
| 293 |
% To begin with, the |stmaryrd| package is |
| 294 |
% installed by running \LaTeXe{} on this document, so we begin with |
| 295 |
% the instllation procedure. This needs to use \LaTeXe: |
| 296 |
% \begin{macrocode} |
| 297 |
%<*install> |
| 298 |
\NeedsTeXFormat{LaTeX2e} |
| 299 |
% \end{macrocode} |
| 300 |
% First of all, we write out a little |.ins| file which creates the |
| 301 |
% |stmaryrd| package: |
| 302 |
% \begin{macrocode} |
| 303 |
\begin{filecontents}{stmaryrd.ins} |
| 304 |
\generateFile{stmaryrd.sty}{f}{ |
| 305 |
\from{stmaryrd.dtx}{package}} |
| 306 |
\generateFile{Ustmry.fd}{f}{ |
| 307 |
\from{stmaryrd.dtx}{fontdef}} |
| 308 |
\end{filecontents} |
| 309 |
% \end{macrocode} |
| 310 |
% Then we do some horrible low-level hacks to run docstrip on |
| 311 |
% |stmaryrd.ins|: |
| 312 |
% \begin{macrocode} |
| 313 |
\bgroup |
| 314 |
\makeatletter |
| 315 |
\let\@@end=\relax |
| 316 |
\def\batchfile{stmaryrd.ins} |
| 317 |
\input{docstrip} |
| 318 |
\egroup |
| 319 |
% \end{macrocode} |
| 320 |
% That's it for the installation: |
| 321 |
% \begin{macrocode} |
| 322 |
%</install> |
| 323 |
% \end{macrocode} |
| 324 |
% |
| 325 |
% \section{Documentation} |
| 326 |
% |
| 327 |
% We now provide the documentation driver for this document: |
| 328 |
% \begin{macrocode} |
| 329 |
%<*driver> |
| 330 |
\documentclass{ltxdoc} |
| 331 |
\DisableCrossrefs |
| 332 |
\OnlyDescription |
| 333 |
\usepackage{stmaryrd} |
| 334 |
% \end{macrocode} |
| 335 |
% \begin{macro}{\symbols} |
| 336 |
% \begin{macro}{\endsymbols} |
| 337 |
% \begin{macro}{\dosymbol} |
| 338 |
% \begin{macro}{\test} |
| 339 |
% Some hacks that are used in the documentation: |
| 340 |
% \begin{macrocode} |
| 341 |
\def\symbols{\flushleft} |
| 342 |
\def\endsymbols{\endflushleft} |
| 343 |
\def\dosymbol#1{\leavevmode\hbox to .33\textwidth{\hbox to 1.2em |
| 344 |
{\hss$#1$\hfil}\footnotesize\tt\string#1\hss}\penalty10} |
| 345 |
\def\test#1{\par\leavevmode\llap{#1\tt\string#1:} |
| 346 |
\rlap{#1$\left\llbracket\bigbox_{i \inplus I}^{a \varoplus b} P_i |
| 347 |
\right\rrbracket$}} |
| 348 |
% \end{macrocode} |
| 349 |
% \end{macro} |
| 350 |
% \end{macro} |
| 351 |
% \end{macro} |
| 352 |
% \end{macro} |
| 353 |
% Then we produce the documentation: |
| 354 |
% \begin{macrocode} |
| 355 |
\begin{document} |
| 356 |
\DocInput{stmaryrd.dtx} |
| 357 |
\end{document} |
| 358 |
%</driver> |
| 359 |
% \end{macrocode} |
| 360 |
% |
| 361 |
% \section{The package} |
| 362 |
% |
| 363 |
% We can now implement the |stmaryrd| package. |
| 364 |
% \begin{macrocode} |
| 365 |
%<*package> |
| 366 |
\NeedsTeXFormat{LaTeX2e} |
| 367 |
\ProvidesPackage{stmaryrd}[1994/03/03 St Mary's Road symbol package] |
| 368 |
% \end{macrocode} |
| 369 |
% |
| 370 |
% \begin{macro}{\stmry@if} |
| 371 |
% Most definitions in this file are preceded by |stm@if|, |
| 372 |
% which sets its second argument to be undefined, and expands to |
| 373 |
% |\iftrue| if its second argument is going to be |
| 374 |
% defined, for example: |
| 375 |
% \begin{verbatim} |
| 376 |
% \stmry@if\def\foo{baz}\fi |
| 377 |
% \end{verbatim} |
| 378 |
% By default, this is always true. |
| 379 |
% \begin{macrocode} |
| 380 |
\def\stmry@if#1#2{\let#2=\@undefined\iftrue#1#2} |
| 381 |
% \end{macrocode} |
| 382 |
% \end{macro} |
| 383 |
% |
| 384 |
% \begin{macro}{\ds@only} |
| 385 |
% \begin{macro}{\stmry@only} |
| 386 |
% The |only| option causes |\stmry@if| to be true only when its |
| 387 |
% second argument is defined to be |\relax|. |
| 388 |
% \begin{macrocode} |
| 389 |
\DeclareOption{only}{\let\stmry@if=\stmry@only} |
| 390 |
\def\stmry@only#1#2{\ifx#2\relax\let#2=\@undefined#1#2} |
| 391 |
% \end{macrocode} |
| 392 |
% \end{macro} |
| 393 |
% \end{macro} |
| 394 |
% |
| 395 |
% \begin{macro}{\ds@heavycircles} |
| 396 |
% \begin{macro}{\ifstmry@heavy@} |
| 397 |
% The |heavycircles| option makes sure all of the heavy circles |
| 398 |
% are defined, and sets |\stmry@heavy@true|. |
| 399 |
% \begin{macrocode} |
| 400 |
\newif\ifstmry@heavy@ |
| 401 |
\stmry@heavy@false |
| 402 |
\DeclareOption{heavycircles}{% |
| 403 |
\stmry@option{varotimes}\stmry@option{varoast}% |
| 404 |
\stmry@option{varobar}\stmry@option{varodot}% |
| 405 |
\stmry@option{varoslash}\stmry@option{varobslash}% |
| 406 |
\stmry@option{varocircle}\stmry@option{varoplus}% |
| 407 |
\stmry@option{varominus}\stmry@option{varbigcirc}% |
| 408 |
\stmry@heavy@true |
| 409 |
} |
| 410 |
% \end{macrocode} |
| 411 |
% \end{macro} |
| 412 |
% \end{macro} |
| 413 |
% |
| 414 |
% \begin{macro}{\stmry@option} |
| 415 |
% For every other option, we call |\stmry@option|, which defines |
| 416 |
% its argument to be |\relax|. |
| 417 |
% \begin{macrocode} |
| 418 |
\def\stmry@option#1{\expandafter\let\csname#1\endcsname\relax} |
| 419 |
\DeclareOption*{\stmry@option\CurrentOption} |
| 420 |
% \end{macrocode} |
| 421 |
% \end{macro} |
| 422 |
% |
| 423 |
% \begin{macro}{\ds@Mapsto} |
| 424 |
% \begin{macro}{\ds@mapsfrom} |
| 425 |
% \begin{macro}{\ds@Mapsfrom} |
| 426 |
% \begin{macro}{\ds@longarrownot} |
| 427 |
% \begin{macro}{\ds@Longarrownot} |
| 428 |
% \begin{macro}{\ds@longmapsto} |
| 429 |
% \begin{macro}{\ds@Longmapsto} |
| 430 |
% \begin{macro}{\ds@longmapsfrom} |
| 431 |
% \begin{macro}{\ds@Longmapsfrom} |
| 432 |
% All of the other options for |stmaryrd| are command names. Some of |
| 433 |
% the commands need others to be defined, so we declare these |
| 434 |
% explicitly. |
| 435 |
% \begin{macrocode} |
| 436 |
\DeclareOption{Mapsto}{% |
| 437 |
\stmry@option{Mapsto}% |
| 438 |
\stmry@option{Mapstochar}% |
| 439 |
} |
| 440 |
\DeclareOption{mapsfrom}{% |
| 441 |
\stmry@option{mapsfrom}% |
| 442 |
\stmry@option{mapsfromchar}% |
| 443 |
} |
| 444 |
\DeclareOption{Mapsfrom}{% |
| 445 |
\stmry@option{Mapsfrom}% |
| 446 |
\stmry@option{Mapsfromchar}% |
| 447 |
} |
| 448 |
\DeclareOption{longarrownot}{% |
| 449 |
\stmry@option{longarrownot}% |
| 450 |
\stmry@option{arrownot}% |
| 451 |
} |
| 452 |
\DeclareOption{Longarrownot}{% |
| 453 |
\stmry@option{Longarrownot}% |
| 454 |
\stmry@option{Arrownot}% |
| 455 |
} |
| 456 |
\DeclareOption{Longmapsto}{% |
| 457 |
\stmry@option{Longmapsto}% |
| 458 |
\stmry@option{Mapstochar}% |
| 459 |
} |
| 460 |
\DeclareOption{longmapsfrom}{% |
| 461 |
\stmry@option{longmapsfrom}% |
| 462 |
\stmry@option{mapsfromchar}% |
| 463 |
} |
| 464 |
\DeclareOption{Longmapsfrom}{% |
| 465 |
\stmry@option{Longmapsfrom}% |
| 466 |
\stmry@option{Mapsfromchar}% |
| 467 |
} |
| 468 |
% \end{macrocode} |
| 469 |
% \end{macro} |
| 470 |
% \end{macro} |
| 471 |
% \end{macro} |
| 472 |
% \end{macro} |
| 473 |
% \end{macro} |
| 474 |
% \end{macro} |
| 475 |
% \end{macro} |
| 476 |
% \end{macro} |
| 477 |
% \end{macro} |
| 478 |
% |
| 479 |
% Then we can process the options! |
| 480 |
% \begin{macrocode} |
| 481 |
\ProcessOptions |
| 482 |
% \end{macrocode} |
| 483 |
% Declare the symbol fonts: |
| 484 |
% \begin{macrocode} |
| 485 |
\DeclareSymbolFont{stmry}{U}{stmry}{m}{n} |
| 486 |
\SetSymbolFont{stmry}{bold}{U}{stmry}{b}{n} |
| 487 |
% \end{macrocode} |
| 488 |
% Then we load those symbols! |
| 489 |
% \begin{macrocode} |
| 490 |
\stmry@if\DeclareMathSymbol\shortleftarrow\mathrel{stmry}{"00}\fi |
| 491 |
\stmry@if\DeclareMathSymbol\shortrightarrow\mathrel{stmry}{"01}\fi |
| 492 |
\stmry@if\DeclareMathSymbol\shortuparrow\mathrel{stmry}{"02}\fi |
| 493 |
\stmry@if\DeclareMathSymbol\shortdownarrow\mathrel{stmry}{"03}\fi |
| 494 |
\stmry@if\DeclareMathSymbol\Yup\mathbin{stmry}{"04}\fi |
| 495 |
\stmry@if\DeclareMathSymbol\Ydown\mathbin{stmry}{"05}\fi |
| 496 |
\stmry@if\DeclareMathSymbol\Yleft\mathbin{stmry}{"06}\fi |
| 497 |
\stmry@if\DeclareMathSymbol\Yright\mathbin{stmry}{"07}\fi |
| 498 |
\stmry@if\DeclareMathSymbol\varcurlyvee\mathbin{stmry}{"08}\fi |
| 499 |
\stmry@if\DeclareMathSymbol\varcurlywedge\mathbin{stmry}{"09}\fi |
| 500 |
\stmry@if\DeclareMathSymbol\minuso\mathbin{stmry}{"0A}\fi |
| 501 |
\stmry@if\DeclareMathSymbol\baro\mathbin{stmry}{"0B}\fi |
| 502 |
\stmry@if\DeclareMathSymbol\sslash\mathbin{stmry}{"0C}\fi |
| 503 |
\stmry@if\DeclareMathSymbol\bbslash\mathbin{stmry}{"0D}\fi |
| 504 |
\stmry@if\DeclareMathSymbol\moo\mathbin{stmry}{"0E}\fi |
| 505 |
\stmry@if\DeclareMathSymbol\varotimes\mathbin{stmry}{"0F}\fi |
| 506 |
\stmry@if\DeclareMathSymbol\varoast\mathbin{stmry}{"10}\fi |
| 507 |
\stmry@if\DeclareMathSymbol\varobar\mathbin{stmry}{"11}\fi |
| 508 |
\stmry@if\DeclareMathSymbol\varodot\mathbin{stmry}{"12}\fi |
| 509 |
\stmry@if\DeclareMathSymbol\varoslash\mathbin{stmry}{"13}\fi |
| 510 |
\stmry@if\DeclareMathSymbol\varobslash\mathbin{stmry}{"14}\fi |
| 511 |
\stmry@if\DeclareMathSymbol\varocircle\mathbin{stmry}{"15}\fi |
| 512 |
\stmry@if\DeclareMathSymbol\varoplus\mathbin{stmry}{"16}\fi |
| 513 |
\stmry@if\DeclareMathSymbol\varominus\mathbin{stmry}{"17}\fi |
| 514 |
\stmry@if\DeclareMathSymbol\boxast\mathbin{stmry}{"18}\fi |
| 515 |
\stmry@if\DeclareMathSymbol\boxbar\mathbin{stmry}{"19}\fi |
| 516 |
\stmry@if\DeclareMathSymbol\boxdot\mathbin{stmry}{"1A}\fi |
| 517 |
\stmry@if\DeclareMathSymbol\boxslash\mathbin{stmry}{"1B}\fi |
| 518 |
\stmry@if\DeclareMathSymbol\boxbslash\mathbin{stmry}{"1C}\fi |
| 519 |
\stmry@if\DeclareMathSymbol\boxcircle\mathbin{stmry}{"1D}\fi |
| 520 |
\stmry@if\DeclareMathSymbol\boxbox\mathbin{stmry}{"1E}\fi |
| 521 |
\stmry@if\DeclareMathSymbol\boxempty\mathbin{stmry}{"1F}\fi |
| 522 |
\stmry@if\DeclareMathSymbol\lightning\mathord{stmry}{"20}\fi |
| 523 |
\stmry@if\DeclareMathSymbol\merge\mathbin{stmry}{"21}\fi |
| 524 |
\stmry@if\DeclareMathSymbol\vartimes\mathbin{stmry}{"22}\fi |
| 525 |
\stmry@if\DeclareMathSymbol\fatsemi\mathbin{stmry}{"23}\fi |
| 526 |
\stmry@if\DeclareMathSymbol\sswarrow\mathrel{stmry}{"24}\fi |
| 527 |
\stmry@if\DeclareMathSymbol\ssearrow\mathrel{stmry}{"25}\fi |
| 528 |
\stmry@if\DeclareMathSymbol\curlywedgeuparrow\mathrel{stmry}{"26}\fi |
| 529 |
\stmry@if\DeclareMathSymbol\curlywedgedownarrow\mathrel{stmry}{"27}\fi |
| 530 |
\stmry@if\DeclareMathSymbol\fatslash\mathbin{stmry}{"28}\fi |
| 531 |
\stmry@if\DeclareMathSymbol\fatbslash\mathbin{stmry}{"29}\fi |
| 532 |
\stmry@if\DeclareMathSymbol\lbag\mathbin{stmry}{"2A}\fi |
| 533 |
\stmry@if\DeclareMathSymbol\rbag\mathbin{stmry}{"2B}\fi |
| 534 |
\stmry@if\DeclareMathSymbol\varbigcirc\mathbin{stmry}{"2C}\fi |
| 535 |
\stmry@if\DeclareMathSymbol\leftrightarroweq\mathrel{stmry}{"2D}\fi |
| 536 |
\stmry@if\DeclareMathSymbol\curlyveedownarrow\mathrel{stmry}{"2E}\fi |
| 537 |
\stmry@if\DeclareMathSymbol\curlyveeuparrow\mathrel{stmry}{"2F}\fi |
| 538 |
\stmry@if\DeclareMathSymbol\nnwarrow\mathrel{stmry}{"30}\fi |
| 539 |
\stmry@if\DeclareMathSymbol\nnearrow\mathrel{stmry}{"31}\fi |
| 540 |
\stmry@if\DeclareMathSymbol\leftslice\mathbin{stmry}{"32}\fi |
| 541 |
\stmry@if\DeclareMathSymbol\rightslice\mathbin{stmry}{"33}\fi |
| 542 |
\stmry@if\DeclareMathSymbol\varolessthan\mathbin{stmry}{"34}\fi |
| 543 |
\stmry@if\DeclareMathSymbol\varogreaterthan\mathbin{stmry}{"35}\fi |
| 544 |
\stmry@if\DeclareMathSymbol\varovee\mathbin{stmry}{"36}\fi |
| 545 |
\stmry@if\DeclareMathSymbol\varowedge\mathbin{stmry}{"37}\fi |
| 546 |
\stmry@if\DeclareMathSymbol\talloblong\mathbin{stmry}{"38}\fi |
| 547 |
\stmry@if\DeclareMathSymbol\interleave\mathbin{stmry}{"39}\fi |
| 548 |
%% (CAR) Added by Chris Rowley, March 2004: |
| 549 |
\stmry@if\let\oast\circledast\fi |
| 550 |
\stmry@if\let\ocircle\circledcirc\fi |
| 551 |
%% |
| 552 |
\stmry@if\DeclareMathSymbol\obar\mathbin{stmry}{"3A}\fi |
| 553 |
\stmry@if\DeclareMathSymbol\obslash\mathbin{stmry}{"3B}\fi |
| 554 |
\stmry@if\DeclareMathSymbol\olessthan\mathbin{stmry}{"3C}\fi |
| 555 |
\stmry@if\DeclareMathSymbol\ogreaterthan\mathbin{stmry}{"3D}\fi |
| 556 |
\stmry@if\DeclareMathSymbol\ovee\mathbin{stmry}{"3E}\fi |
| 557 |
\stmry@if\DeclareMathSymbol\owedge\mathbin{stmry}{"3F}\fi |
| 558 |
\stmry@if\DeclareMathSymbol\oblong\mathbin{stmry}{"40}\fi |
| 559 |
\stmry@if\DeclareMathSymbol\inplus\mathrel{stmry}{"41}\fi |
| 560 |
\stmry@if\DeclareMathSymbol\niplus\mathrel{stmry}{"42}\fi |
| 561 |
\stmry@if\DeclareMathSymbol\nplus\mathbin{stmry}{"43}\fi |
| 562 |
\stmry@if\DeclareMathSymbol\subsetplus\mathrel{stmry}{"44}\fi |
| 563 |
\stmry@if\DeclareMathSymbol\supsetplus\mathrel{stmry}{"45}\fi |
| 564 |
\stmry@if\DeclareMathSymbol\subsetpluseq\mathrel{stmry}{"46}\fi |
| 565 |
\stmry@if\DeclareMathSymbol\supsetpluseq\mathrel{stmry}{"47}\fi |
| 566 |
\stmry@if\DeclareMathSymbol\Lbag\mathopen{stmry}{"48}\fi |
| 567 |
\stmry@if\DeclareMathSymbol\Rbag\mathclose{stmry}{"49}\fi |
| 568 |
|
| 569 |
\stmry@if\DeclareMathSymbol\llparenthesis\mathopen{stmry}{"4C}\fi |
| 570 |
\stmry@if\DeclareMathSymbol\rrparenthesis\mathclose{stmry}{"4D}\fi |
| 571 |
\stmry@if\DeclareMathSymbol\binampersand\mathopen{stmry}{"4E}\fi |
| 572 |
\stmry@if\DeclareMathSymbol\bindnasrepma\mathclose{stmry}{"4F}\fi |
| 573 |
\stmry@if\DeclareMathSymbol\trianglelefteqslant\mathrel{stmry}{"50}\fi |
| 574 |
\stmry@if\DeclareMathSymbol\trianglerighteqslant\mathrel{stmry}{"51}\fi |
| 575 |
\stmry@if\DeclareMathSymbol\ntrianglelefteqslant\mathrel{stmry}{"52}\fi |
| 576 |
\stmry@if\DeclareMathSymbol\ntrianglerighteqslant\mathrel{stmry}{"53}\fi |
| 577 |
\stmry@if\DeclareMathSymbol\llfloor\mathopen{stmry}{"54}\fi |
| 578 |
\stmry@if\DeclareMathSymbol\rrfloor\mathclose{stmry}{"55}\fi |
| 579 |
\stmry@if\DeclareMathSymbol\llceil\mathopen{stmry}{"56}\fi |
| 580 |
\stmry@if\DeclareMathSymbol\rrceil\mathclose{stmry}{"57}\fi |
| 581 |
\stmry@if\DeclareMathSymbol\arrownot\mathrel{stmry}{"58}\fi |
| 582 |
\stmry@if\DeclareMathSymbol\Arrownot\mathrel{stmry}{"59}\fi |
| 583 |
\stmry@if\DeclareMathSymbol\Mapstochar\mathrel{stmry}{"5A}\fi |
| 584 |
\stmry@if\DeclareMathSymbol\mapsfromchar\mathrel{stmry}{"5B}\fi |
| 585 |
\stmry@if\DeclareMathSymbol\Mapsfromchar\mathrel{stmry}{"5C}\fi |
| 586 |
%% (CAR) Corrected by Chris Rowley, March 2004: |
| 587 |
%% \stmry@if\DeclareMathSymbol\leftrightarrowtriangle\mathbin{stmry}{"5D}\fi |
| 588 |
\stmry@if\DeclareMathSymbol\leftrightarrowtriangle\mathrel{stmry}{"5D}\fi |
| 589 |
%% |
| 590 |
\stmry@if\DeclareMathSymbol\leftarrowtriangle\mathrel{stmry}{"5E}\fi |
| 591 |
\stmry@if\DeclareMathSymbol\rightarrowtriangle\mathrel{stmry}{"5F}\fi |
| 592 |
\stmry@if\DeclareMathSymbol\bigtriangledown\mathop{stmry}{"60}\fi |
| 593 |
\stmry@if\DeclareMathSymbol\bigtriangleup\mathop{stmry}{"61}\fi |
| 594 |
\stmry@if\DeclareMathSymbol\bigcurlyvee\mathop{stmry}{"62}\fi |
| 595 |
\stmry@if\DeclareMathSymbol\bigcurlywedge\mathop{stmry}{"63}\fi |
| 596 |
\stmry@if\DeclareMathSymbol\bigsqcap\mathop{stmry}{"64}\fi |
| 597 |
\stmry@if\DeclareMathSymbol\bigbox\mathop{stmry}{"65}\fi |
| 598 |
\stmry@if\DeclareMathSymbol\bigparallel\mathop{stmry}{"66}\fi |
| 599 |
\stmry@if\DeclareMathSymbol\biginterleave\mathop{stmry}{"67}\fi |
| 600 |
\stmry@if\DeclareMathSymbol\bignplus\mathop{stmry}{"70}\fi |
| 601 |
|
| 602 |
\stmry@if\DeclareMathDelimiter\llbracket{\mathopen}{stmry}{"4A} |
| 603 |
{stmry}{"71}\fi |
| 604 |
\stmry@if\DeclareMathDelimiter\rrbracket{\mathclose}{stmry}{"4B} |
| 605 |
{stmry}{"79}\fi |
| 606 |
% \end{macrocode} |
| 607 |
% The heavy \varcopyright: |
| 608 |
% \begin{macrocode} |
| 609 |
\stmry@if\def\varcopyright |
| 610 |
{{\ooalign{\hfil\raise.07ex\hbox{c}\hfil\crcr% |
| 611 |
\mbox{$\m@th\varbigcirc$}}}}\fi |
| 612 |
% \end{macrocode} |
| 613 |
% The long arrow negations. |
| 614 |
% \begin{macrocode} |
| 615 |
\stmry@if\def\longarrownot{\mathrel{\mkern5.5mu\arrownot\mkern-5.5mu}}\fi |
| 616 |
\stmry@if\def\Longarrownot{\mathrel{\mkern5.5mu\Arrownot\mkern-5.5mu}}\fi |
| 617 |
% \end{macrocode} |
| 618 |
% The variants on $\mapsto$: |
| 619 |
% \begin{macrocode} |
| 620 |
\stmry@if\def\Mapsto{\Mapstochar\Rightarrow}\fi |
| 621 |
\stmry@if\def\mapsfrom{\leftarrow\mapsfromchar}\fi |
| 622 |
\stmry@if\def\Mapsfrom{\Leftarrow\Mapsfromchar}\fi |
| 623 |
\stmry@if\def\Longmapsto{\Mapstochar\Longrightarrow}\fi |
| 624 |
\stmry@if\def\longmapsfrom{\longleftarrow\mapsfromchar}\fi |
| 625 |
\stmry@if\def\Longmapsfrom{\Longleftarrow\Mapsfromchar}\fi |
| 626 |
% \end{macrocode} |
| 627 |
% The circular circles: |
| 628 |
% \begin{macrocode} |
| 629 |
\ifstmry@heavy@ |
| 630 |
\def\@swap#1#2{\let\@tempa#1\let#1#2\let#2\@tempa} |
| 631 |
\@swap\varotimes\otimes |
| 632 |
\@swap\varolessthan\olessthan |
| 633 |
\@swap\varogreaterthan\ogreaterthan |
| 634 |
\@swap\varovee\ovee |
| 635 |
\@swap\varowedge\owedge |
| 636 |
\@swap\varoast\oast |
| 637 |
\@swap\varobar\obar |
| 638 |
\@swap\varodot\odot |
| 639 |
\@swap\varoslash\oslash |
| 640 |
\@swap\varobslash\obslash |
| 641 |
\@swap\varocircle\ocircle |
| 642 |
\@swap\varoplus\oplus |
| 643 |
\@swap\varominus\ominus |
| 644 |
\@swap\varbigcirc\bigcirc |
| 645 |
\@swap\varcopyright\copyright |
| 646 |
\fi |
| 647 |
%</package> |
| 648 |
% \end{macrocode} |
| 649 |
% |
| 650 |
% \section{The font definitions} |
| 651 |
% |
| 652 |
% The font definitions for the St Mary's Road fonts are: |
| 653 |
% \begin{macrocode} |
| 654 |
%<*fontdef> |
| 655 |
\DeclareFontFamily{U}{stmry}{} |
| 656 |
\DeclareFontShape{U}{stmry}{m}{n} |
| 657 |
{ <5> <6> <7> <8> <9> <10> gen * stmary |
| 658 |
<10.95><12><14.4><17.28><20.74><24.88>stmary10% |
| 659 |
}{} |
| 660 |
%</fontdef> |
| 661 |
% \end{macrocode} |
| 662 |
% |
| 663 |
% \Finale |
| 664 |
\endinput |