| 1 |
%% |
| 2 |
%% This is file `euler.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% euler.dtx (with options: `package') |
| 8 |
%% |
| 9 |
%% File `euler.dtx'. |
| 10 |
%% Copyright (C) 1992 Frank Jensen. All rights reserved. |
| 11 |
%% Copyright (C) 1993--1995 Frank Jensen and Frank Mittelbach. |
| 12 |
%% All rights reserved. |
| 13 |
|
| 14 |
\def\fileversion{v2.5} |
| 15 |
\def\filedate{1995/03/05} |
| 16 |
|
| 17 |
%% \CharacterTable |
| 18 |
%% {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 |
| 19 |
%% 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 |
| 20 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 21 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 22 |
%% Dollar \$ Percent \% Ampersand \& |
| 23 |
%% Acute accent \' Left paren \( Right paren \) |
| 24 |
%% Asterisk \* Plus \+ Comma \, |
| 25 |
%% Minus \- Point \. Solidus \/ |
| 26 |
%% Colon \: Semicolon \; Less than \< |
| 27 |
%% Equals \= Greater than \> Question mark \? |
| 28 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 29 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 30 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 31 |
%% Right brace \} Tilde \~} |
| 32 |
\NeedsTeXFormat{LaTeX2e}[1994/12/01] |
| 33 |
\ProvidesPackage{euler}[\filedate\space\fileversion] |
| 34 |
\typeout{Package: `euler' \fileversion\space <\filedate> (FJ and FMi)} |
| 35 |
\DeclareSymbolFont{letters}{U}{eur}{m}{n} |
| 36 |
\SetSymbolFont{letters}{bold}{U}{eur}{b}{n} |
| 37 |
\DeclareMathSymbol{0}\mathalpha{letters}{"30} |
| 38 |
\DeclareMathSymbol{1}\mathalpha{letters}{"31} |
| 39 |
\DeclareMathSymbol{2}\mathalpha{letters}{"32} |
| 40 |
\DeclareMathSymbol{3}\mathalpha{letters}{"33} |
| 41 |
\DeclareMathSymbol{4}\mathalpha{letters}{"34} |
| 42 |
\DeclareMathSymbol{5}\mathalpha{letters}{"35} |
| 43 |
\DeclareMathSymbol{6}\mathalpha{letters}{"36} |
| 44 |
\DeclareMathSymbol{7}\mathalpha{letters}{"37} |
| 45 |
\DeclareMathSymbol{8}\mathalpha{letters}{"38} |
| 46 |
\DeclareMathSymbol{9}\mathalpha{letters}{"39} |
| 47 |
\DeclareMathSymbol\Gamma \mathord{letters}{"00} |
| 48 |
\DeclareMathSymbol\Delta \mathord{letters}{"01} |
| 49 |
\DeclareMathSymbol\Theta \mathord{letters}{"02} |
| 50 |
\DeclareMathSymbol\Lambda \mathord{letters}{"03} |
| 51 |
\DeclareMathSymbol\Xi \mathord{letters}{"04} |
| 52 |
\DeclareMathSymbol\Pi \mathord{letters}{"05} |
| 53 |
\DeclareMathSymbol\Sigma \mathord{letters}{"06} |
| 54 |
\DeclareMathSymbol\Upsilon\mathord{letters}{"07} |
| 55 |
\DeclareMathSymbol\Phi \mathord{letters}{"08} |
| 56 |
\DeclareMathSymbol\Psi \mathord{letters}{"09} |
| 57 |
\DeclareMathSymbol\Omega \mathord{letters}{"0A} |
| 58 |
\let\varsigma=\sigma |
| 59 |
\let\varrho=\rho |
| 60 |
\DeclareOption{mathbf} |
| 61 |
{\AtBeginDocument{\DeclareMathAlphabet\mathbf{U}{eur}{b}{n}}} |
| 62 |
\DeclareSymbolFont{EulerFraktur}{U}{euf}{m}{n} |
| 63 |
\SetSymbolFont{EulerFraktur}{bold}{U}{euf}{b}{n} |
| 64 |
\DeclareSymbolFontAlphabet\mathfrak{EulerFraktur} |
| 65 |
\@ifpackageloaded{amsfonts}{}{\newcommand\frak{\mathfrak}} |
| 66 |
\DeclareMathSymbol{!}\mathord {EulerFraktur}{"21} |
| 67 |
\DeclareMathSymbol{(}\mathopen {EulerFraktur}{"28} |
| 68 |
\DeclareMathSymbol{)}\mathclose{EulerFraktur}{"29} |
| 69 |
\DeclareMathSymbol{+}\mathbin {EulerFraktur}{"2B} |
| 70 |
\DeclareMathSymbol{-}\mathbin {EulerFraktur}{"2D} |
| 71 |
\DeclareMathSymbol{=}\mathrel {EulerFraktur}{"3D} |
| 72 |
\DeclareMathSymbol{[}\mathopen {EulerFraktur}{"5B} |
| 73 |
\DeclareMathSymbol{]}\mathclose{EulerFraktur}{"5D} |
| 74 |
\DeclareMathSymbol{"}\mathord {EulerFraktur}{"7D} |
| 75 |
\DeclareMathSymbol{&}\mathord {EulerFraktur}{"26} |
| 76 |
\DeclareMathSymbol{:}\mathrel {EulerFraktur}{"3A} |
| 77 |
\DeclareMathSymbol{;}\mathpunct{EulerFraktur}{"3B} |
| 78 |
\DeclareMathSymbol{?}\mathord {EulerFraktur}{"3F} |
| 79 |
\DeclareMathSymbol{^}\mathord {EulerFraktur}{"5E} |
| 80 |
\DeclareMathSymbol{`}\mathord {EulerFraktur}{"12} |
| 81 |
\DeclareMathDelimiter{(}{EulerFraktur}{"28}{largesymbols}{"00} |
| 82 |
\DeclareMathDelimiter{)}{EulerFraktur}{"29}{largesymbols}{"01} |
| 83 |
\DeclareMathDelimiter{[}{EulerFraktur}{"5B}{largesymbols}{"02} |
| 84 |
\DeclareMathDelimiter{]}{EulerFraktur}{"5D}{largesymbols}{"03} |
| 85 |
\DeclareRobustCommand\oldstylenums[1]% |
| 86 |
{\begingroup |
| 87 |
\spaceskip\fontdimen\tw@\font |
| 88 |
\TextOldstyle \MathOldstyle #1% |
| 89 |
\endgroup} |
| 90 |
\def\MathOldstyle{\mathgroup\symEulerFraktur} |
| 91 |
\providecommand\TextOldstyle{\usefont{OML}{cmm}\f@series{it}} |
| 92 |
\DeclareSymbolFont{EulerScript}{U}{eus}{m}{n} |
| 93 |
\SetSymbolFont{EulerScript}{bold}{U}{eus}{b}{n} |
| 94 |
\DeclareSymbolFontAlphabet\mathscr{EulerScript} |
| 95 |
\newcommand\scr{\mathscr} |
| 96 |
\DeclareOption{mathcal}{\renewcommand\mathcal{\mathscr}} |
| 97 |
\DeclareMathSymbol\aleph\mathord{EulerScript}{"40} |
| 98 |
\DeclareMathSymbol\Re \mathord{EulerScript}{"3C} |
| 99 |
\DeclareMathSymbol\Im \mathord{EulerScript}{"3D} |
| 100 |
\DeclareMathDelimiter\vert |
| 101 |
\mathord{EulerScript}{"6A}{largesymbols}{"0C} |
| 102 |
\DeclareMathDelimiter\backslash |
| 103 |
\mathord{EulerScript}{"6E}{largesymbols}{"0F} |
| 104 |
\DeclareMathSymbol{|}\mathord{EulerScript}{"6A} |
| 105 |
\DeclareMathDelimiter{|}{EulerScript}{"6A}{largesymbols}{"0C} |
| 106 |
\DeclareMathSymbol\neg \mathord{EulerScript}{"3A} |
| 107 |
\let\lnot=\neg |
| 108 |
\DeclareMathSymbol\wedge \mathbin{EulerScript}{"5E} |
| 109 |
\let\land=\wedge |
| 110 |
\DeclareMathSymbol\vee \mathbin{EulerScript}{"5F} |
| 111 |
\let\lor=\vee |
| 112 |
\DeclareMathSymbol\setminus\mathbin{EulerScript}{"6E} |
| 113 |
\DeclareMathSymbol\sim \mathrel{EulerScript}{"18} |
| 114 |
\DeclareMathSymbol\mid \mathrel{EulerScript}{"6A} |
| 115 |
\DeclareMathDelimiter\arrowvert |
| 116 |
\mathord{EulerScript}{"6A}{largesymbols}{"3C} % ??? |
| 117 |
\DeclareMathSymbol\mathsection\mathord{EulerScript}{"78} |
| 118 |
\DeclareSymbolFont{EulerExtension}{U}{euex}{m}{n} |
| 119 |
\@ifpackageloaded{amsmath} |
| 120 |
{\DeclareMathSymbol\coprod@\mathop{EulerExtension}{"60}% |
| 121 |
\DeclareMathSymbol\prod@ \mathop{EulerExtension}{"51}% |
| 122 |
\DeclareMathSymbol\sum@ \mathop{EulerExtension}{"50}} |
| 123 |
{\DeclareMathSymbol\coprod \mathop{EulerExtension}{"60}% |
| 124 |
\DeclareMathSymbol\prod \mathop{EulerExtension}{"51}% |
| 125 |
\DeclareMathSymbol\sum \mathop{EulerExtension}{"50}} |
| 126 |
\AtBeginDocument |
| 127 |
{\@ifpackageloaded{amstex}% |
| 128 |
{\PackageWarningNoLine{euler}{Please do not use `amstex'. |
| 129 |
Use `amsmath' instead}{}}} |
| 130 |
\DeclareMathSymbol\intop \mathop {EulerExtension}{"52} |
| 131 |
\DeclareMathSymbol\ointop \mathop {EulerExtension}{"48} |
| 132 |
\DeclareMathSymbol\braceld\mathord{EulerExtension}{"7A} |
| 133 |
\DeclareMathSymbol\bracerd\mathord{EulerExtension}{"7B} |
| 134 |
\DeclareMathSymbol\bracelu\mathord{EulerExtension}{"7C} |
| 135 |
\DeclareMathSymbol\braceru\mathord{EulerExtension}{"7D} |
| 136 |
\DeclareMathSymbol\infty \mathord{EulerExtension}{"31} |
| 137 |
\AtBeginDocument |
| 138 |
{\@ifpackageloaded{amsmath}% |
| 139 |
{\def\intkern@{\mkern -6mu }% |
| 140 |
\def\ints@#1{\mkern -3mu |
| 141 |
\mathop{\mkern 3mu |
| 142 |
\intop |
| 143 |
\ifnum #1=\z@ \intdots@ \else |
| 144 |
\intkern@ |
| 145 |
\ifnum #1>\tw@ \intop\intkern@ |
| 146 |
\ifnum #1>\thr@@ \intop\intkern@ \fi |
| 147 |
\fi |
| 148 |
\fi |
| 149 |
\intop |
| 150 |
}\ilimits@ |
| 151 |
}% |
| 152 |
}{}} |
| 153 |
\DeclareMathSymbol\nearrow\mathrel{EulerExtension}{"25} |
| 154 |
\DeclareMathSymbol\searrow\mathrel{EulerExtension}{"26} |
| 155 |
\DeclareMathSymbol\nwarrow\mathrel{EulerExtension}{"2D} |
| 156 |
\DeclareMathSymbol\swarrow\mathrel{EulerExtension}{"2E} |
| 157 |
\DeclareMathSymbol\Leftrightarrow\mathrel{EulerExtension}{"2C} |
| 158 |
\DeclareMathSymbol\Leftarrow \mathrel{EulerExtension}{"28} |
| 159 |
\DeclareMathSymbol\Rightarrow \mathrel{EulerExtension}{"29} |
| 160 |
\DeclareMathSymbol\leftrightarrow\mathrel{EulerExtension}{"24} |
| 161 |
\DeclareMathSymbol\leftarrow \mathrel{EulerExtension}{"20} |
| 162 |
\let\gets=\leftarrow |
| 163 |
\DeclareMathSymbol\rightarrow \mathrel{EulerExtension}{"21} |
| 164 |
\let\to=\rightarrow |
| 165 |
\DeclareMathDelimiter\uparrow |
| 166 |
\mathrel{EulerExtension}{"22}{largesymbols}{"78} |
| 167 |
\DeclareMathDelimiter\downarrow |
| 168 |
\mathrel{EulerExtension}{"23}{largesymbols}{"79} |
| 169 |
\DeclareMathDelimiter\updownarrow |
| 170 |
\mathrel{EulerExtension}{"6C}{largesymbols}{"3F} |
| 171 |
\DeclareMathDelimiter\Uparrow |
| 172 |
\mathrel{EulerExtension}{"2A}{largesymbols}{"7E} |
| 173 |
\DeclareMathDelimiter\Downarrow |
| 174 |
\mathrel{EulerExtension}{"2B}{largesymbols}{"7F} |
| 175 |
\DeclareMathDelimiter\Updownarrow |
| 176 |
\mathrel{EulerExtension}{"6D}{largesymbols}{"77} |
| 177 |
\DeclareMathSymbol\leftharpoonup \mathrel{EulerExtension}{"18} |
| 178 |
\DeclareMathSymbol\leftharpoondown \mathrel{EulerExtension}{"19} |
| 179 |
\DeclareMathSymbol\rightharpoonup \mathrel{EulerExtension}{"1A} |
| 180 |
\DeclareMathSymbol\rightharpoondown\mathrel{EulerExtension}{"1B} |
| 181 |
\DeclareMathDelimiter\lbrace |
| 182 |
\mathopen{EulerScript}{"66}{EulerExtension}{"08} |
| 183 |
\DeclareMathDelimiter\rbrace |
| 184 |
\mathclose{EulerScript}{"67}{EulerExtension}{"09} |
| 185 |
\DeclareMathAlphabet\cm@equals@alphabet{OT1}{cmr}{m}{n} |
| 186 |
\DeclareMathAlphabet\cm@minus@alphabet{OMS}{cmsy}{m}{n} |
| 187 |
\def\Relbar{\mathrel{\cm@equals@alphabet{\mathchar"703D}}} |
| 188 |
\def\cm@minus{{\cm@minus@alphabet{\mathchar"7000}}} |
| 189 |
\def\relbar{\mathrel{\smash\cm@minus}} |
| 190 |
% \smash, because - has the same height as + |
| 191 |
\def\leftarrowfill |
| 192 |
{$\m@th\mathord\leftarrow\mkern-6mu% |
| 193 |
\cleaders\hbox{$\mkern-2mu\cm@minus\mkern-2mu$}\hfill |
| 194 |
\mkern-6mu\cm@minus$} |
| 195 |
\def\rightarrowfill |
| 196 |
{$\m@th\cm@minus\mkern-6mu% |
| 197 |
\cleaders\hbox{$\mkern-2mu\cm@minus\mkern-2mu$}\hfill |
| 198 |
\mkern-6mu\mathord\rightarrow$} |
| 199 |
\DeclareSymbolFont{cmmigroup}{OML}{cmm}{m}{it} |
| 200 |
\SetSymbolFont{cmmigroup}{bold}{OML}{cmm}{b}{it} |
| 201 |
\DeclareMathAccent\vec \mathord{cmmigroup}{"7E} |
| 202 |
\DeclareMathSymbol\triangleleft \mathbin{cmmigroup}{"2F} |
| 203 |
\DeclareMathSymbol\triangleright\mathbin{cmmigroup}{"2E} |
| 204 |
\DeclareMathSymbol\star \mathbin{cmmigroup}{"3F} |
| 205 |
\DeclareMathSymbol\lhook \mathrel{cmmigroup}{"2C} |
| 206 |
\DeclareMathSymbol\rhook \mathrel{cmmigroup}{"2D} |
| 207 |
\DeclareMathSymbol\flat \mathord{cmmigroup}{"5B} |
| 208 |
\DeclareMathSymbol\natural \mathord{cmmigroup}{"5C} |
| 209 |
\DeclareMathSymbol\sharp \mathord{cmmigroup}{"5D} |
| 210 |
\DeclareMathSymbol\smile \mathrel{cmmigroup}{"5E} |
| 211 |
\DeclareMathSymbol\frown \mathrel{cmmigroup}{"5F} |
| 212 |
\begingroup |
| 213 |
\catcode`\'=\active |
| 214 |
\gdef'{^\bgroup\mskip2mu\prim@s} % more space before ' |
| 215 |
\endgroup |
| 216 |
\newif\ifCorkEncoding |
| 217 |
\edef\@tempa{\encodingdefault}\def\@tempb{T1} |
| 218 |
\ifx\@tempa\@tempb |
| 219 |
\CorkEncodingtrue |
| 220 |
\else |
| 221 |
\CorkEncodingfalse |
| 222 |
\fi |
| 223 |
\ifCorkEncoding |
| 224 |
\AtBeginDocument |
| 225 |
{\DeclareSymbolFont{operators}{T1}\rmdefault\mddefault\updefault |
| 226 |
\SetSymbolFont{operators}{bold}{T1}\rmdefault\bfdefault\updefault |
| 227 |
\DeclareMathAlphabet\mathbf{T1}\rmdefault\bfdefault\updefault |
| 228 |
\DeclareMathAlphabet\mathsf{T1}\sfdefault\mddefault\updefault |
| 229 |
\DeclareMathAlphabet\mathit{T1}\rmdefault\mddefault\itdefault |
| 230 |
\DeclareMathAlphabet\mathtt{T1}\ttdefault\mddefault\updefault |
| 231 |
\SetMathAlphabet\mathsf{bold}{T1}\sfdefault\bfdefault\updefault |
| 232 |
\SetMathAlphabet\mathit{bold}{T1}\rmdefault\bfdefault\itdefault} |
| 233 |
\else |
| 234 |
\AtBeginDocument |
| 235 |
{\DeclareSymbolFont{operators}{OT1}\rmdefault\mddefault\updefault |
| 236 |
\SetSymbolFont{operators}{bold}{OT1}\rmdefault\bfdefault\updefault |
| 237 |
\DeclareMathAlphabet\mathbf{OT1}\rmdefault\bfdefault\updefault |
| 238 |
\DeclareMathAlphabet\mathsf{OT1}\sfdefault\mddefault\updefault |
| 239 |
\DeclareMathAlphabet\mathit{OT1}\rmdefault\mddefault\itdefault |
| 240 |
\DeclareMathAlphabet\mathtt{OT1}\ttdefault\mddefault\updefault |
| 241 |
\SetMathAlphabet\mathsf{bold}{OT1}\sfdefault\bfdefault\updefault |
| 242 |
\SetMathAlphabet\mathit{bold}{OT1}\rmdefault\bfdefault\itdefault} |
| 243 |
\fi |
| 244 |
\ifCorkEncoding |
| 245 |
\DeclareMathAccent\grave\mathalpha{operators}{"00} |
| 246 |
\DeclareMathAccent\acute\mathalpha{operators}{"01} |
| 247 |
\DeclareMathAccent\tilde\mathalpha{operators}{"03} |
| 248 |
\DeclareMathAccent\ddot \mathalpha{operators}{"04} |
| 249 |
\DeclareMathAccent\check\mathalpha{operators}{"07} |
| 250 |
\DeclareMathAccent\breve\mathalpha{operators}{"08} |
| 251 |
\DeclareMathAccent\bar \mathalpha{operators}{"09} |
| 252 |
\DeclareMathAccent\dot \mathalpha{operators}{"0A} |
| 253 |
\fi |
| 254 |
\DeclareMathAccent\hat\mathalpha{EulerFraktur}{"5E} |
| 255 |
\DeclareOption{text-hat-accent} |
| 256 |
{\ifCorkEncoding |
| 257 |
\DeclareMathAccent\hat\mathalpha{operators}{"02}% |
| 258 |
\else |
| 259 |
\DeclareMathAccent\hat\mathalpha{operators}{"5E}% |
| 260 |
\fi} |
| 261 |
\ifCorkEncoding |
| 262 |
\DeclareMathSymbol\euler@hbar\mathord{operators}{"09} |
| 263 |
\else |
| 264 |
\DeclareMathSymbol\euler@hbar\mathord{operators}{"16} |
| 265 |
\fi |
| 266 |
\def\hbar{{\euler@hbar\mkern-8muh}} |
| 267 |
\def\@makefnmark{\hbox{$\operator@font^{\@thefnmark}\m@th$}} |
| 268 |
\ProcessOptions |
| 269 |
\endinput |
| 270 |
%% |
| 271 |
%% End of file `euler.sty'. |