%%
%% This is file `eulervm.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% eulervm.dtx  (with options: `package')
%% 
%% IMPORTANT NOTICE:
%% 
%% For the copyright see the source file.
%% 
%% Any modified versions of this file must be renamed
%% with new filenames distinct from eulervm.sty.
%% 
%% For distribution of the original source see the terms
%% for copying and modification in the file eulervm.dtx.
%% 
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesPackage{eulervm}
           [2005/01/11 v4.0 (WaS)]
\let\evm@info\@font@info
\let\evm@warning\@font@warning
\let\@font@info\@gobble
\let\@font@warning\@gobble
\DeclareOption{small}{%
  \def\zeu@Scale{.95}}
\newif\ifevm@ed
\DeclareOption{euler-digits}{%
  \evm@edtrue
  \DeclareMathSymbol{0}\mathalpha{letters}{"30}
  \DeclareMathSymbol{1}\mathalpha{letters}{"31}
  \DeclareMathSymbol{2}\mathalpha{letters}{"32}
  \DeclareMathSymbol{3}\mathalpha{letters}{"33}
  \DeclareMathSymbol{4}\mathalpha{letters}{"34}
  \DeclareMathSymbol{5}\mathalpha{letters}{"35}
  \DeclareMathSymbol{6}\mathalpha{letters}{"36}
  \DeclareMathSymbol{7}\mathalpha{letters}{"37}
  \DeclareMathSymbol{8}\mathalpha{letters}{"38}
  \DeclareMathSymbol{9}\mathalpha{letters}{"39}
}
\newif\ifevm@eha
\DeclareOption{euler-hat-accent}{\evm@ehatrue}
\edef\operator@encoding{\encodingdefault}
\DeclareOption{OT1}{\def\operator@encoding{OT1}}
\DeclareOption{T1}{\def\operator@encoding{T1}}
\DeclareOption{LY1}{\def\operator@encoding{LY1}}
\newif\ifevm@ic
\DeclareOption{icomma}{\evm@ictrue}
\DeclareSymbolFont{letters}       {U}{zeur}{m}{n}
\SetSymbolFont{letters}{bold}     {U}{zeur}{b}{n}
\DeclareSymbolFont{symbols}       {U}{zeus}{m}{n}
\SetSymbolFont{symbols}{bold}     {U}{zeus}{b}{n}
\DeclareSymbolFont{largesymbols}  {U}{zeuex}{m}{n}
\DeclareMathAlphabet{\mathbold}   {U}{zeur}{b}{n}
\DeclareMathSymbol\Gamma    {\mathalpha}{letters}{"00}
\DeclareMathSymbol\Delta    {\mathalpha}{letters}{"01}
\DeclareMathSymbol\Theta    {\mathalpha}{letters}{"02}
\DeclareMathSymbol\Lambda   {\mathalpha}{letters}{"03}
\DeclareMathSymbol\Xi       {\mathalpha}{letters}{"04}
\DeclareMathSymbol\Pi       {\mathalpha}{letters}{"05}
\DeclareMathSymbol\Sigma    {\mathalpha}{letters}{"06}
\DeclareMathSymbol\Upsilon  {\mathalpha}{letters}{"07}
\DeclareMathSymbol\Phi      {\mathalpha}{letters}{"08}
\DeclareMathSymbol\Psi      {\mathalpha}{letters}{"09}
\DeclareMathSymbol\Omega    {\mathalpha}{letters}{"0A}
\DeclareMathSymbol{\alpha}  {\mathalpha}{letters}{"0B}
\DeclareMathSymbol{\beta}   {\mathalpha}{letters}{"0C}
\DeclareMathSymbol{\gamma}  {\mathalpha}{letters}{"0D}
\DeclareMathSymbol{\delta}  {\mathalpha}{letters}{"0E}
\DeclareMathSymbol{\epsilon}{\mathalpha}{letters}{"0F}
\DeclareMathSymbol{\zeta}   {\mathalpha}{letters}{"10}
\DeclareMathSymbol{\eta}    {\mathalpha}{letters}{"11}
\DeclareMathSymbol{\theta}  {\mathalpha}{letters}{"12}
\DeclareMathSymbol{\iota}   {\mathalpha}{letters}{"13}
\DeclareMathSymbol{\kappa}  {\mathalpha}{letters}{"14}
\DeclareMathSymbol{\lambda} {\mathalpha}{letters}{"15}
\DeclareMathSymbol{\mu}     {\mathalpha}{letters}{"16}
\DeclareMathSymbol{\nu}     {\mathalpha}{letters}{"17}
\DeclareMathSymbol{\xi}     {\mathalpha}{letters}{"18}
\DeclareMathSymbol{\pi}     {\mathalpha}{letters}{"19}
\DeclareMathSymbol{\rho}    {\mathalpha}{letters}{"1A}
\DeclareMathSymbol{\sigma}  {\mathalpha}{letters}{"1B}
\DeclareMathSymbol{\tau}    {\mathalpha}{letters}{"1C}
\DeclareMathSymbol{\upsilon}{\mathalpha}{letters}{"1D}
\DeclareMathSymbol{\phi}    {\mathalpha}{letters}{"1E}
\DeclareMathSymbol{\chi}    {\mathalpha}{letters}{"1F}
\DeclareMathSymbol{\psi}    {\mathalpha}{letters}{"20}
\DeclareMathSymbol{\omega}  {\mathalpha}{letters}{"21}
\DeclareMathSymbol{\varepsilon}{\mathalpha}{letters}{"22}
\DeclareMathSymbol{\vartheta}{\mathalpha}{letters}{"23}
\DeclareMathSymbol{\varpi}  {\mathalpha}{letters}{"24}
\DeclareMathSymbol{\varphi} {\mathalpha}{letters}{"27}
\DeclareMathSymbol\upOmega  {\mathord}{letters}{"0A}
\DeclareMathSymbol\upDelta  {\mathord}{letters}{"01}
\let\varsigma=\sigma
\let\varrho=\rho
\DeclareMathSymbol{\evm@hslash}{\mathord}{letters}{128}
\def\evm@hbar{\evm@hslash%
  \PackageWarning{eulervm}{%
    Symbol \protect\hbar\space not available;\MessageBreak
    \protect\hslash\space will be used instead}}
\DeclareMathDelimiter{/}{\mathord}{letters}{61}{largesymbols}{"0E}
\DeclareMathSymbol{+}\mathbin  {symbols}{171}
\DeclareMathSymbol{:}\mathrel  {symbols}{186}
\DeclareMathSymbol{=}\mathrel  {symbols}{189}
\DeclareMathDelimiter{(}{\mathopen} {symbols}{168}{largesymbols}{"00}
\DeclareMathDelimiter{)}{\mathclose}{symbols}{169}{largesymbols}{"01}
\DeclareMathDelimiter{[}{\mathopen} {symbols}{219}{largesymbols}{"02}
\DeclareMathDelimiter{]}{\mathclose}{symbols}{221}{largesymbols}{"03}
\DeclareMathSymbol{\cm@minus}{\mathord}{letters}{129}
\def\relbar{\mathrel{\smash\cm@minus}}
\let\Relbar\undefined
\DeclareMathSymbol{\Relbar}{\mathrel}{letters}{130}
\def\leftarrowfill
   {$\m@th\mathord\leftarrow\mkern-6mu%
     \cleaders\hbox{$\mkern-2mu\cm@minus\mkern-2mu$}\hfill
     \mkern-6mu\cm@minus$}
\def\rightarrowfill
   {$\m@th\cm@minus\mkern-6mu%
     \cleaders\hbox{$\mkern-2mu\cm@minus\mkern-2mu$}\hfill
     \mkern-6mu\mathord\rightarrow$}
\DeclareMathSymbol{\infty}{\mathord}{largesymbols}{153}
\begingroup
   \catcode`\'=\active
   \gdef'{^\bgroup\mskip2mu\prim@s}
\endgroup
\ProcessOptions\relax
\ifevm@ed\relax\else
  \DeclareMathSymbol{,}{\mathpunct}{operators}{44}
  \DeclareMathSymbol{.}{\mathord}{operators}{46}
  \DeclareMathSymbol{\ldotp}{\mathpunct}{operators}{46}
\fi
\DeclareSymbolFont{operators}{\operator@encoding}{\familydefault}{m}{n}
\SetSymbolFont{operators}{bold}{\operator@encoding}{\familydefault}{b}{n}
\SetSymbolFont{operators}{normal}{\operator@encoding}{\familydefault}{m}{n}
\DeclareMathAlphabet{\mathsf}  {\operator@encoding}{\sfdefault}{m}{n}
\DeclareMathAlphabet{\mathit}  {\operator@encoding}{\rmdefault}{m}{it}
\DeclareMathAlphabet{\mathtt}  {\operator@encoding}{\ttdefault}{m}{n}
\SetMathAlphabet{\mathsf}{bold}{\operator@encoding}{\sfdefault}{b}{n}
\SetMathAlphabet{\mathit}{bold}{\operator@encoding}{\rmdefault}{b}{it}
\SetMathAlphabet{\mathtt}{bold}{\operator@encoding}{\ttdefault}{b}{n}
\DeclareMathAlphabet\mathbf  \operator@encoding{\rmdefault}{b}{n}
\let\acute\undefined
\let\grave\undefined
\let\ddot\undefined
\let\tilde\undefined
\let\bar\undefined
\let\breve\undefined
\let\check\undefined
\let\hat\undefined
\let\dot\undefined
\def\@tempa{T1}
\ifx\operator@encoding\@tempa
  \DeclareMathAccent{\acute}{\mathalpha}{operators}{1}
  \DeclareMathAccent{\grave}{\mathalpha}{operators}{0}
  \DeclareMathAccent{\ddot}{\mathalpha}{operators}{4}
  \DeclareMathAccent{\tilde}{\mathalpha}{operators}{3}
  \DeclareMathAccent{\bar}{\mathalpha}{operators}{9}
  \DeclareMathAccent{\breve}{\mathalpha}{operators}{8}
  \DeclareMathAccent{\check}{\mathalpha}{operators}{7}
  \DeclareMathAccent{\hat}{\mathalpha}{operators}{2}
  \DeclareMathAccent{\dot}{\mathalpha}{operators}{10}
\else
\def\@tempa{OT1}
\ifx\operator@encoding\@tempa
  \DeclareMathAccent{\acute}{\mathalpha}{operators}{19}
  \DeclareMathAccent{\grave}{\mathalpha}{operators}{18}
  \DeclareMathAccent{\ddot}{\mathalpha}{operators}{127}
  \DeclareMathAccent{\tilde}{\mathalpha}{operators}{126}
  \DeclareMathAccent{\bar}{\mathalpha}{operators}{22}
  \DeclareMathAccent{\breve}{\mathalpha}{operators}{21}
  \DeclareMathAccent{\check}{\mathalpha}{operators}{20}
  \DeclareMathAccent{\hat}{\mathalpha}{operators}{94}
  \DeclareMathAccent{\dot}{\mathalpha}{operators}{95}
\else
\def\@tempa{LY1}
\ifx\operator@encoding\@tempa
  \DeclareMathAccent{\acute}{\mathalpha}{operators}{19}
  \DeclareMathAccent{\grave}{\mathalpha}{operators}{18}
  \DeclareMathAccent{\ddot}{\mathalpha}{operators}{127}
  \DeclareMathAccent{\tilde}{\mathalpha}{operators}{126}
  \DeclareMathAccent{\bar}{\mathalpha}{operators}{22}
  \DeclareMathAccent{\breve}{\mathalpha}{operators}{21}
  \DeclareMathAccent{\check}{\mathalpha}{operators}{20}
  \DeclareMathAccent{\hat}{\mathalpha}{operators}{94}
  \DeclareMathAccent{\dot}{\mathalpha}{operators}{5}
\else
  \PackageWarningNoLine{eulervm}
    {Unknown Operator Encoding!\MessageBreak
     Math accents may be wrong: assuming OT1 positions}
\fi\fi\fi
\ifevm@eha
  \DeclareMathAccent\hat\mathalpha{symbols}{222}
\fi
\ifevm@ic
  \mathchardef\mathcomma\mathcode`\,
  \mathcode`\,="8000
  \catcode`,=\active
  \def,{\afterassignment\domathcomma\finalhyphendemerits=1}
  \def\domathcomma{\ifnum\finalhyphendemerits>1\mathord\fi
    \mathcomma
    \expandafter\@gobble\number\finalhyphendemerits}
  \catcode`\,=12
\fi
\AtBeginDocument{%
  \begingroup
  \nfss@catcodes
  \expandafter\ifx\csname zeu@Scale\endcsname\relax
    \let\zeu@@Scale\@empty
  \else
    \edef\zeu@@Scale{s*[\csname zeu@Scale\endcsname]}%
  \fi
  \DeclareFontFamily{U}{euf}{}
  \DeclareFontShape{U}{euf}{m}{n}{%
    <-6>\zeu@@Scale eufm5%
    <6-9>\zeu@@Scale eufm7%
    <9->\zeu@@Scale eufm10%
    }{}
  \DeclareFontShape{U}{euf}{b}{n}{%
    <-6>\zeu@@Scale eufb5%
    <6-9>\zeu@@Scale eufb7%
    <9->\zeu@@Scale eufb10%
  }{}
  \DeclareFontFamily{U}{msa}{}%
  \DeclareFontShape{U}{msa}{m}{n}{%
    <-6>\zeu@@Scale msam5%
    <6-9>\zeu@@Scale msam7%
    <9->\zeu@@Scale msam10%
  }{}%
  \DeclareFontFamily{U}{msb}{}%
  \DeclareFontShape{U}{msb}{m}{n}{%
    <-6>\zeu@@Scale msbm5%
    <6-9>\zeu@@Scale msbm7%
    <9->\zeu@@Scale msbm10%
  }{}%
  \endgroup
}

\AtBeginDocument{
  \let\hslash\evm@hslash\let\hbar\evm@hbar
  \@ifpackageloaded{amsmath}{%
     \def\intkern@{\mkern -4mu }%
     \def\relbar{\mathrel{\smash\cm@minus}}
     \let\Relbar\undefined
     \DeclareMathSymbol{\Relbar}{\mathrel}{letters}{130}
  }%
  {%
    \newdimen\big@size
    \addto@hook\every@math@size{\setbox\z@\vbox{\hbox{$($}\kern\z@}%
       \global\big@size 1.2\ht\z@}
    \def\bBigg@#1#2{%
       {\hbox{$\left#2\vcenter to#1\big@size{}\right.\n@space$}}}
    \def\big{\bBigg@\@ne}
    \def\Big{\bBigg@{1.5}}
    \def\bigg{\bBigg@\tw@}
    \def\Bigg{\bBigg@{2.5}}
  }
}
\let\@font@info\evm@info
\let\@font@warning\evm@warning
\endinput
%%
%% End of file `eulervm.sty'.
