742cc9c77184c4cc425b93b333b27b0d23035935
[librarian.git] / librarian / styles / wasysym / wasysym.sty
1 %%
2 %% This is file `wasysym.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% wasysym.dtx  (with options: `package')
8 %% 
9 %% Copyright (C) 1994-2003 by Axel Kielhorn.  All rights reserved.
10 %% For additional copyright information see further down in this file.
11 %% 
12 %% This file is to be used with the LaTeX2e system.
13 %% ------------------------------------------------
14 %% 
15 %% This program can be redistributed and/or modified under the terms
16 %% of the LaTeX Project Public License Distributed from CTAN
17 %% archives in directory macros/latex/base/lppl.txt; either
18 %% version 1 of the License, or any later version.
19 %% 
20 %% IMPORTANT NOTICE:
21 %% 
22 %% Error reports in case of UNCHANGED versions to
23 %% Axel Kielhorn
24 %% A.Kielhorn@web.de
25 %% 
26 %% \CharacterTable
27 %%  {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
28 %%   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
29 %%   Digits        \0\1\2\3\4\5\6\7\8\9
30 %%   Exclamation   \!     Double quote  \"     Hash (number) \#
31 %%   Dollar        \$     Percent       \%     Ampersand     \&
32 %%   Acute accent  \'     Left paren    \(     Right paren   \)
33 %%   Asterisk      \*     Plus          \+     Comma         \,
34 %%   Minus         \-     Point         \.     Solidus       \/
35 %%   Colon         \:     Semicolon     \;     Less than     \<
36 %%   Equals        \=     Greater than  \>     Question mark \?
37 %%   Commercial at \@     Left bracket  \[     Backslash     \\
38 %%   Right bracket \]     Circumflex    \^     Underscore    \_
39 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
40 %%   Right brace   \}     Tilde         \~}
41 \NeedsTeXFormat{LaTeX2e}
42 \ProvidesPackage{wasysym}
43              [2003/10/30 v2.0
44                Wasy-2 symbol support package]
45 \newif\ifwasy@integrals
46 \newif\ifwasy@compatibility
47 \DeclareOption{compat1}{%
48   \wasy@compatibilitytrue\wasy@integralsfalse}%
49 \DeclareOption{integrals}{%
50   \wasy@compatibilityfalse\wasy@integralstrue}%
51 \DeclareOption{nointegrals}{%
52   \wasy@compatibilityfalse\wasy@integralsfalse}%
53 \ExecuteOptions{compat1}
54 \ProcessOptions\relax
55 \def\wasy@setup{%
56      \let\int\wasy@int
57      \let\iint\wasy@iint
58      \let\iiint\wasy@iiint
59      \let\oint\wasy@oint
60      \let\oiint\wasy@oiint
61 }
62 \def\wasy@amssetup{%
63      \let\intop\wasy@int
64      \let\iintop\wasy@iint
65      \let\iiintop\wasy@iiint
66      \let\ointop\wasy@oint
67      \let\oiintop\wasy@oiint
68      \def\int{\DOTSI\intop\ilimits@}%
69      \def\iint{\DOTSI\iintop\ilimits@}%
70      \def\iiint{\DOTSI\iiintop\ilimits@}%
71      \def\oint{\DOTSI\ointop\ilimits@}%
72      \def\oiint{\DOTSI\oiintop\ilimits@}%
73      \def\intkern@{\mkern-8mu}
74 }
75 \newcommand{\newint}{%
76   \PackageWarning{wasysym}{%
77   The command \protect\newint\space is obsolete.
78   \MessageBreak
79   Load the package with the option [integrals] instead}
80   \wasy@integralstrue}
81 \newcommand{\newamsint}{%
82   \PackageWarning{wasysym}{%
83   The command \protect\newamsint\space is obsolete.
84   \MessageBreak
85   Load the package with the option [integrals] instead.}
86   \wasy@integralstrue}
87 \def\wasyfamily{\fontencoding{U}\fontfamily{wasy}\selectfont}
88 \DeclareTextFontCommand{\textwasy}{\wasyfamily}
89 \DeclareSymbolFont{wasy}{U}{wasy}{m}{n}
90 \SetSymbolFont{wasy}{bold}{U}{wasy}{b}{n}
91 \def\wasy@over#1#2{{\setbox0\hbox{$#2$}\hbox to \wd0{\hss
92     $#1$\hss}\kern-\wd0\box0}}
93 \def\male       {\mbox{\wasyfamily\char26}}
94 \def\female     {\mbox{\wasyfamily\char25}}
95 \def\currency   {{\wasyfamily\char27}}
96 \def\phone      {{\wasyfamily\char7}}
97 \def\recorder   {{\wasyfamily\char6}}
98 \def\clock      {{\wasyfamily\char28}}
99 \def\lightning  {{\wasyfamily\char18}}
100 \def\pointer    {{\wasyfamily\char9}}
101 \def\RIGHTarrow {{\wasyfamily\char17}}
102 \def\LEFTarrow  {{\wasyfamily\char16}}
103 \def\UParrow    {{\wasyfamily\char75}}
104 \def\DOWNarrow  {{\wasyfamily\char76}}
105 \def\AC         {\mbox{\kern0.5pt\wasyfamily\char58\kern0.5pt}}
106 \def\HF         {\leavevmode
107         \lower0.9pt\hbox to 0pt{\kern0.5pt\wasyfamily\char58\hss}%
108         \raise0.9pt\hbox{\kern0.5pt\wasyfamily\char58\kern0.5pt}}
109 \def\VHF        {\mbox{\wasyfamily\char64}}
110 \def\Square     {\mbox{$\Box$}}
111 \def\CheckedBox {\leavevmode\hbox to 0pt{\wasyfamily\char50\hss}%
112                  \hbox{\wasyfamily\char8}}
113 \def\XBox       {\mbox{\wasyfamily\char52}}
114 \def\hexagon    {\mbox{\wasyfamily\char55}}
115 \def\pentagon   {\mbox{\wasyfamily\char68}}
116 \def\octagon    {\mbox{\wasyfamily\char56}}
117 \def\varhexagon {\mbox{\wasyfamily\char57}}
118 \def\hexstar    {\mbox{\wasyfamily\char65}}
119 \def\varhexstar {\mbox{\wasyfamily\char66}}
120 \def\davidsstar {\mbox{\wasyfamily\char67}}
121 \def\diameter   {\mbox{\wasyfamily\char31}}
122 \def\invdiameter{\mbox{\wasyfamily\char21}}
123 \def\varangle   {\mbox{\wasyfamily\char30}}
124 \def\wasylozenge{\mbox{\wasyfamily\char53}}
125 \def\kreuz      {\mbox{\wasyfamily\char54}}
126 \def\smiley     {\mbox{\wasyfamily\char44}}
127 \def\frownie    {\mbox{\wasyfamily\char47}}
128 \def\blacksmiley{\mbox{\wasyfamily\char45}}
129 \def\sun        {\mbox{\wasyfamily\char46}}
130 \def\checked    {\mbox{\wasyfamily\char8}}
131 \def\bell       {\mbox{\wasyfamily\char10}}
132 \def\eighthnote {\mbox{\wasyfamily\char11}}
133 \def\quarternote{\mbox{\wasyfamily\char12}}
134 \def\halfnote   {\mbox{\wasyfamily\char13}}
135 \def\fullnote   {\mbox{\wasyfamily\char14}}
136 \def\twonotes   {\mbox{\wasyfamily\char15}}
137 \def\brokenvert {\mbox{\wasyfamily\char124}}
138 \def\ataribox   {\mbox{\wasyfamily\char109}}
139 \def\wasytherefore{\mbox{\wasyfamily\char5}}
140 \def\Circle     {\mbox{\wasyfamily\char35}}
141 \def\CIRCLE     {\mbox{\wasyfamily\char32}}
142 \def\Leftcircle {\mbox{\wasyfamily\char73}}
143 \def\LEFTCIRCLE {\mbox{\wasyfamily\char71}}
144 \def\Rightcircle{\mbox{\wasyfamily\char74}}
145 \def\RIGHTCIRCLE{\mbox{\wasyfamily\char72}}
146 \def\LEFTcircle {\leavevmode%
147                  \hbox to 0pt{\wasyfamily\char71\hss}%
148                  \hbox{\wasyfamily\char35}}
149 \def\RIGHTcircle{\leavevmode%
150                  \hbox to 0pt{\wasyfamily\char72\hss}%
151                  \hbox{\wasyfamily\char35}}
152 \def\vernal     {\mbox{\wasyfamily\char23}}
153 \def\ascnode    {\mbox{\wasyfamily\char19}}
154 \def\descnode   {\mbox{\wasyfamily\char20}}
155 \let\fullmoon   \Circle
156 \let\newmoon    \CIRCLE
157 \def\leftmoon   {\mbox{\wasyfamily\char36}}
158 \def\rightmoon  {\mbox{\wasyfamily\char37}}
159 \def\astrosun   {\mbox{$\odot$}}
160 \def\mercury    {\mbox{\wasyfamily\char39}}
161 \def\venus      {\leavevmode\raise0.2ex\hbox{\wasyfamily\char25}}
162 \def\earth      {\leavevmode\lower0.3ex\hbox{\wasyfamily\char38}}
163 \def\mars       {\leavevmode\lower0.2ex\hbox{\wasyfamily\char26}}
164 \def\jupiter    {\mbox{\wasyfamily\char88}}
165 \def\saturn     {\mbox{\wasyfamily\char89}}
166 \def\uranus     {\mbox{\wasyfamily\char90}}
167 \def\neptune    {\mbox{\wasyfamily\char91}}
168 \def\pluto      {\mbox{\wasyfamily\char92}}
169 \let\aries      \vernal
170 \def\taurus     {\mbox{\wasyfamily\char93}}
171 \def\gemini     {\mbox{\wasyfamily\char94}}
172 \def\cancer     {\mbox{\wasyfamily\char95}}
173 \let\leo        \ascnode
174 \def\virgo      {\mbox{\wasyfamily\char96}}
175 \def\libra      {\mbox{\wasyfamily\char97}}
176 \def\scorpio    {\mbox{\wasyfamily\char98}}
177 \def\sagittarius{\mbox{\wasyfamily\char99}}
178 \def\capricornus{\mbox{\wasyfamily\char100}}
179 \def\aquarius   {\mbox{\wasyfamily\char101}}
180 \def\pisces     {\mbox{\wasyfamily\char102}}
181 \def\conjunction{{\wasyfamily\char86}}
182 \def\opposition {{\wasyfamily\char87}}
183 \def\APLstar    {\mbox{\wasyfamily\char69}}
184 \def\APLlog     {\mbox{\wasyfamily\char22}}
185 \def\APLbox     {\mbox{\wasyfamily\char126}}
186 \def\APLup      {\mbox{\wasyfamily\char0}}
187 \def\APLdown    {\mbox{\wasyfamily\char70}}
188 \def\APLinput   {\mbox{\wasyfamily\char125}}
189 \def\APLcomment {\mbox{\wasyfamily\char127}}
190 \def\APLinv     {{\leavevmode\hbox to 0pt{$\div$\hss}\APLbox}}
191 \def\APLuparrowbox{\mbox{\wasyfamily\char110}}
192 \def\APLdownarrowbox{\mbox{\wasyfamily\char111}}
193 \def\APLleftarrowbox{\mbox{\wasyfamily\char112}}
194 \def\APLrightarrowbox{\mbox{\wasyfamily\char113}}
195 \def\notbackslash{\wasy@over{\backslash}{-}}
196 \def\notslash   {\wasy@over{/}{-}}
197 \def\APLminus   {\leavevmode\raise0.7ex\hbox{$-$}}
198 \def\APLnot#1{\wasy@over{\sim}{#1}}
199 \def\APLcirc#1{\wasy@over{\circ}{#1}}
200 \def\APLvert#1{\wasy@over{\vert}{#1}}
201 \def\Bowtie     {\mbox{\wasyfamily\char49}}
202 \def\leftturn   {\mbox{\wasyfamily\char34}}
203 \def\rightturn  {\mbox{\wasyfamily\char33}}
204 \def\photon     {\mbox{\wasyfamily\char58\char58\char58\char58}}
205 \def\gluon      {\mbox{\wasyfamily\char81\char80\char80\char80%
206     \char80\char80\char80\char82}}
207 \def\cent       {\mbox{\wasyfamily\char103}}
208 \def\permil     {\mbox{\wasyfamily\char104}}
209 \def\agemO      {{\wasyfamily\char48}}
210 \def\thorn      {{\wasyfamily\char105}}
211 \def\Thorn      {{\wasyfamily\char106}}
212 \DeclareTextCommand{\dh}{OT1}{{\wasyfamily\char107}}
213 \DeclareTextCommand{\DH}{OT1}{\leavevmode{\rm\setbox0\hbox{D}%
214     \hbox to\wd0{\kern 0.04em\char32\hss D}}}
215 \def\openo      {{\wasyfamily\char108}}
216 \def\inve       {{\wasyfamily\char85}}
217   \let\mho\undefined
218   \let\sqsupset\undefined \let\Join\undefined
219   \let\lhd\undefined      \let\Box\undefined
220   \let\unlhd\undefined    \let\Diamond\undefined
221   \let\rhd\undefined      \let\leadsto\undefined
222   \let\unrhd\undefined    \let\sqsubset\undefined
223   \DeclareMathSymbol\mho     {\mathord}{wasy}{"30}
224   \DeclareMathSymbol\Join    {\mathrel}{wasy}{"31}
225   \DeclareMathSymbol\Box     {\mathord}{wasy}{"32}
226   \DeclareMathSymbol\Diamond {\mathord}{wasy}{"33}
227   \DeclareMathSymbol\leadsto {\mathrel}{wasy}{"3B}
228   \DeclareMathSymbol\sqsubset{\mathrel}{wasy}{"3C}
229   \DeclareMathSymbol\sqsupset{\mathrel}{wasy}{"3D}
230   \DeclareMathSymbol\lhd     {\mathbin}{wasy}{"01}
231   \DeclareMathSymbol\unlhd   {\mathbin}{wasy}{"02}
232   \DeclareMathSymbol\LHD     {\mathbin}{wasy}{"10}
233   \DeclareMathSymbol\rhd     {\mathbin}{wasy}{"03}
234   \DeclareMathSymbol\unrhd   {\mathbin}{wasy}{"04}
235   \DeclareMathSymbol\RHD     {\mathbin}{wasy}{"11}
236   \DeclareMathSymbol\apprle  {\mathrel}{wasy}{"3E}
237   \DeclareMathSymbol\apprge  {\mathrel}{wasy}{"3F}
238   \DeclareMathSymbol\wasypropto   {\mathrel}{wasy}{"1D}
239   \DeclareMathSymbol\invneg  {\mathrel}{wasy}{"18}
240   \DeclareMathSymbol\ocircle {\mathbin}{wasy}{"23}
241   \DeclareMathSymbol\logof   {\mathrel}{wasy}{"16}
242   \DeclareMathSymbol\wasy@int  {\mathop}{wasy}{"72}
243   \DeclareMathSymbol\wasy@iint {\mathop}{wasy}{"73}
244   \DeclareMathSymbol\wasy@iiint{\mathop}{wasy}{"74}
245   \DeclareMathSymbol\wasy@oint {\mathop}{wasy}{"75}
246   \DeclareMathSymbol\wasy@oiint{\mathop}{wasy}{"76}
247 \ifwasy@compatibility
248   \let\varint\wasy@int
249   \let\iint\wasy@iint
250   \let\iiint\wasy@iiint
251   \let\varoint\wasy@oint
252   \let\oiint\wasy@oiint
253 \fi
254 \AtBeginDocument{%
255   \ifwasy@integrals
256     \@ifpackageloaded{amsmath}{\wasy@amssetup}{\wasy@setup}
257   \fi
258 }
259 \endinput
260 %%
261 %% End of file `wasysym.sty'.