%%
%% This is file `hvmaths.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% hvmaths.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 hvmaths.sty.
%% 
%% For distribution of the original source see the terms
%% for copying and modification in the file hvmaths.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.)
\NeedsTeXFormat{LaTeX2e}[1997/12/01]
\ProvidesPackage{hvmaths}
           [2004/02/01 v1.5 (WaS/MicroPress)]
\RequirePackage{keyval}
\newif\ifhvmath@slantedGreek
\newif\ifhvmath@roman
\newif\ifhvmath@sans
\define@key{Hvr}{scaled}[.95]{%
  \expandafter\def\csname OM1@hvr@scale\endcsname{#1}
  \expandafter\def\csname OT1@hvr@scale\endcsname{#1}
  \expandafter\def\csname T1@hvr@scale\endcsname{#1}
}
\define@key{Hvr}{slantedGreek}[true]{%
   \csname hvmath@slantedGreek#1\endcsname
}
\define@key{Hvr}{roman}[true]{%
   \csname hvmath@roman#1\endcsname
}
\define@key{Hvr}{sans}[true]{%
   \csname hvmath@sans#1\endcsname
}
\def\ProcessOptionsWithKV#1{%
  \let\@tempc\relax
  \let\Hvr@tempa\@empty
  \@for\CurrentOption:=\@classoptionslist\do{%
    \@ifundefined{KV@#1@\CurrentOption}%
    {}%
    {%
      \edef\Hvr@tempa{\Hvr@tempa,\CurrentOption,}%
      \@expandtwoargs\@removeelement\CurrentOption
        \@unusedoptionlist\@unusedoptionlist
    }%
  }%
  \edef\Hvr@tempa{%
    \noexpand\setkeys{#1}{%
      \Hvr@tempa\@ptionlist{\@currname.\@currext}%
    }%
  }%
  \Hvr@tempa
  \let\CurrentOption\@empty
}
\ProcessOptionsWithKV{Hvr}
\AtEndOfPackage{%
  \let\@unprocessedoptions\relax
}
\ifhvmath@roman
  \hvmath@sansfalse
  \DeclareFontSubstitution{OT1}{hvr}{m}{n}
  \renewcommand{\rmdefault}{hvr}
\else
  \renewcommand{\sfdefault}{hvr}
  \ifhvmath@sans\else
    \renewcommand{\familydefault}{\sfdefault}
  \fi
\fi
\def\hvmath@Aring
{%
  \leavevmode
  \setbox0\hbox{h}%
  \dimen@\ht0 %
  \advance\dimen@-1ex%
  \ooalign{\hfil\raise.85\dimen@\hbox{\r{}}\hfil\crcr A}%
}%
\DeclareTextCompositeCommand{\r}{OT1}{A}{\hvmath@Aring}%
\normalfont
\ifhvmath@sans\endinput\fi
\DeclareSymbolFont{operators}{OT1}{hvr}{m}{n}%
\DeclareSymbolFont{letters}{OML}{hvm}{m}{it}%
\DeclareSymbolFont{symbols}{OMS}{hvsy}{m}{n}%
\DeclareSymbolFont{largesymbols}{OMX}{hvex}{m}{n}%
\SetSymbolFont{operators}{bold}{OT1}{hvr}{bx}{n}%
\SetSymbolFont{letters}{bold}{OML}{hvm}{b}{it}%
\SetSymbolFont{symbols}{bold}{OMS}{hvsy}{b}{n}%
\DeclareMathAlphabet{\mathbf}{OT1}{hvr}{bx}{n}%
\DeclareMathAlphabet{\mathit}{OT1}{hvr}{m}{it}%
\SetMathAlphabet\mathit{bold}{OT1}{hvr}{bx}{it}%
\DeclareMathSymbol{\hbar}{\mathord}{letters}{128}
\DeclareMathAlphabet{\mathbold}{OML}{hvm}{b}{it}%
\DeclareMathSymbol{\alpha}{\mathalpha}{letters}{11}
\DeclareMathSymbol{\beta}{\mathalpha}{letters}{12}
\DeclareMathSymbol{\gamma}{\mathalpha}{letters}{13}
\DeclareMathSymbol{\delta}{\mathalpha}{letters}{14}
\DeclareMathSymbol{\epsilon}{\mathalpha}{letters}{15}
\DeclareMathSymbol{\zeta}{\mathalpha}{letters}{16}
\DeclareMathSymbol{\eta}{\mathalpha}{letters}{17}
\DeclareMathSymbol{\theta}{\mathalpha}{letters}{18}
\DeclareMathSymbol{\iota}{\mathalpha}{letters}{19}
\DeclareMathSymbol{\kappa}{\mathalpha}{letters}{20}
\DeclareMathSymbol{\lambda}{\mathalpha}{letters}{21}
\DeclareMathSymbol{\mu}{\mathalpha}{letters}{22}
\DeclareMathSymbol{\nu}{\mathalpha}{letters}{23}
\DeclareMathSymbol{\xi}{\mathalpha}{letters}{24}
\DeclareMathSymbol{\pi}{\mathalpha}{letters}{25}
\DeclareMathSymbol{\rho}{\mathalpha}{letters}{26}
\DeclareMathSymbol{\sigma}{\mathalpha}{letters}{27}
\DeclareMathSymbol{\tau}{\mathalpha}{letters}{28}
\DeclareMathSymbol{\upsilon}{\mathalpha}{letters}{29}
\DeclareMathSymbol{\phi}{\mathalpha}{letters}{30}
\DeclareMathSymbol{\chi}{\mathalpha}{letters}{31}
\DeclareMathSymbol{\psi}{\mathalpha}{letters}{32}
\DeclareMathSymbol{\omega}{\mathalpha}{letters}{33}
\DeclareMathSymbol{\varepsilon}{\mathalpha}{letters}{34}
\DeclareMathSymbol{\vartheta}{\mathalpha}{letters}{35}
\DeclareMathSymbol{\varpi}{\mathalpha}{letters}{36}
\DeclareMathSymbol{\varphi}{\mathalpha}{letters}{39}
\DeclareMathSymbol{\varrho}{\mathalpha}{letters}{37}
\DeclareMathSymbol{\varsigma}{\mathalpha}{letters}{38}
\ifhvmath@slantedGreek
  \DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{0}
  \DeclareMathSymbol{\Delta}{\mathalpha}{letters}{1}
  \DeclareMathSymbol{\Theta}{\mathalpha}{letters}{2}
  \DeclareMathSymbol{\Lambda}{\mathalpha}{letters}{3}
  \DeclareMathSymbol{\Xi}{\mathalpha}{letters}{4}
  \DeclareMathSymbol{\Pi}{\mathalpha}{letters}{5}
  \DeclareMathSymbol{\Sigma}{\mathalpha}{letters}{6}
  \DeclareMathSymbol{\Upsilon}{\mathalpha}{letters}{7}
  \DeclareMathSymbol{\Phi}{\mathalpha}{letters}{8}
  \DeclareMathSymbol{\Psi}{\mathalpha}{letters}{9}
  \DeclareMathSymbol{\Omega}{\mathalpha}{letters}{10}
\fi
\DeclareMathSymbol{\upGamma}  {\mathord}{operators}{"00}
\DeclareMathSymbol{\upDelta}  {\mathord}{operators}{"01}
\DeclareMathSymbol{\upTheta}  {\mathord}{operators}{"02}
\DeclareMathSymbol{\upLambda} {\mathord}{operators}{"03}
\DeclareMathSymbol{\upXi}     {\mathord}{operators}{"04}
\DeclareMathSymbol{\upPi}     {\mathord}{operators}{"05}
\DeclareMathSymbol{\upSigma}  {\mathord}{operators}{"06}
\DeclareMathSymbol{\upUpsilon}{\mathord}{operators}{"07}
\DeclareMathSymbol{\upPhi}    {\mathord}{operators}{"08}
\DeclareMathSymbol{\upPsi}    {\mathord}{operators}{"09}
\DeclareMathSymbol{\upOmega}  {\mathord}{operators}{"0A}
\DeclareFontFamily{U}{hvrmex}{}
\DeclareFontShape{U}{hvrmex}{m}{n}{<->hvrm10ex}{}
\DeclareFontShape{U}{hvrmex}{b}{n}{<->hvrb10ex}{}
\DeclareSymbolFont{upright}{U}{hvrmex}{m}{n}%
\SetSymbolFont{upright}{bold}{U}{hvrmex}{b}{n}
\DeclareMathSymbol{\upalpha}{\mathord}{upright}{211}
\DeclareMathSymbol{\upbeta}{\mathord}{upright}{212}
\DeclareMathSymbol{\upgamma}{\mathord}{upright}{213}
\DeclareMathSymbol{\updelta}{\mathord}{upright}{214}
\DeclareMathSymbol{\upepsilon}{\mathord}{upright}{215}
\DeclareMathSymbol{\upzeta}{\mathord}{upright}{216}
\DeclareMathSymbol{\upeta}{\mathord}{upright}{217}
\DeclareMathSymbol{\uptheta}{\mathord}{upright}{218}
\DeclareMathSymbol{\upiota}{\mathord}{upright}{219}
\DeclareMathSymbol{\upkappa}{\mathord}{upright}{220}
\DeclareMathSymbol{\uplambda}{\mathord}{upright}{221}
\DeclareMathSymbol{\upmu}{\mathord}{upright}{222}
\DeclareMathSymbol{\upnu}{\mathord}{upright}{223}
\DeclareMathSymbol{\upxi}{\mathord}{upright}{224}
\DeclareMathSymbol{\uppi}{\mathord}{upright}{225}
\DeclareMathSymbol{\uprho}{\mathord}{upright}{226}
\DeclareMathSymbol{\upsigma}{\mathord}{upright}{227}
\DeclareMathSymbol{\uptau}{\mathord}{upright}{228}
\DeclareMathSymbol{\upupsilon}{\mathord}{upright}{229}
\DeclareMathSymbol{\upphi}{\mathord}{upright}{230}
\DeclareMathSymbol{\upchi}{\mathord}{upright}{231}
\DeclareMathSymbol{\uppsi}{\mathord}{upright}{232}
\DeclareMathSymbol{\upomega}{\mathord}{upright}{233}
\DeclareMathSymbol{\upvarepsilon}{\mathord}{upright}{234}
\DeclareMathSymbol{\upvartheta}{\mathord}{upright}{235}
\DeclareMathSymbol{\upvarpi}{\mathord}{upright}{236}
\DeclareMathSymbol{\upvarphi}{\mathord}{upright}{239}
\DeclareMathSymbol{\upvarrho}{\mathord}{upright}{237}
\DeclareMathSymbol{\upvarsigma}{\mathord}{upright}{238}
\AtBeginDocument{%
  \@ifpackageloaded{amsmath}{%
    \def\intkern@{\mkern-6mu}
  }{}
  \expandafter\ifx\csname OM1@hvr@scale\endcsname\relax
   \let\@l@scale\@empty
  \else
   \edef\@l@scale{s*[\csname OM1@hvr@scale\endcsname]}%
  \fi
  \DeclareFontFamily{U}{msa}{}
  \DeclareFontShape{U}{msa}{m}{n}{<->\@l@scale hvam10}{}
  \DeclareFontFamily{U}{msb}{}
  \DeclareFontShape{U}{msb}{m}{n}{<->\@l@scale hvbm10}{}
}
%% \CharacterTable
%%  {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
%%   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
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
%%

\endinput
%%
%% End of file `hvmaths.sty'.
