%% Mathfont.sty. Current version: July 18, 1996
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                   
%% MathTimes Fonts 
%% The LaTeX2e part is a variation on Mathtimes.sty by 
%% Aloysius G. Helminck, changed and renamed according to the 
%% permission granted below.
%% The LaTeX2.09 and other changes are by 
%% Amy Hendrickson, TeXnology Inc.
%% (617) 738-8029 
%%                 
%% For both LaTeX2.09 and LaTeX2e!!
%%
%% Use: for LaTeX2.09, or LaTeX2e compatibility mode:
%% \documentstyle[mathfont,edbkfont]{w-edbk}
%%
%% or, for LaTeX2e, rename w-edbk.sty to w-edbk.cls, and
%% \documentclass{w-edbk}
%% \usepackage{mathfont}
%% \usepackage{edbkfont}
%%                                                                      
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Customize this file by renaming these basic fonts, if necessary.
%% The second set of font names are the Berry names.
%%
%% If you do not already know the names of the .tfm files that
%% are used for the PostScript TimesRoman, Helvetica, and Courier 
%% on your system, you can look in the directory where the .tfm files 
%% are located. You should be able to guess which font names to use.
%% Customize this file by renaming these basic fonts, if necessary.
%%
%% Times-Roman
\def\timesroman{tir}
%\def\timesroman{ptmr}

%% Helvetica
\def\helvetica{hv}
%\def\helvetica{phvr}

%% Courier
\def\courier{com}
%\def\courier{pcrr}

%% Please do not make any changes below this point!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% LaTeX 2.09:
\expandafter\ifx\csname LaTeXe\endcsname\relax\let\endhere\endinput
\typeout{^^J^^J
Wiley Edited Book Style^^J
Using MATHTIMES Fonts^^J^^J
Use: \string\documentstyle[mathfont,wbfonts]{w-edbk}
^^J^^J
}\else\let\endhere\relax\fi

%% 
%% This file is mathfont.sty, a variation on `mathtime.sty', generated 
%% on <1996/2/12> with the docstrip utility (1).
%% 
%% The original source files were:
%% 
%% mathtime.dtx  (with options: `mathtime')
%% Copyright (C) 1993 Aloysius G. Helminck. All rights reserved. 
%% This is a generated file for *PSNFSS2e*. Permission is granted to to 
%% customize the declarations in this file to serve the needs of your 
%% installation. However, no permission is granted to distribute a 
%% modified version of this file under its original name. 
%% 

\expandafter\ifx\csname sfdefault\endcsname\relax
\else
\renewcommand{\sfdefault}{\helvetica}
\renewcommand{\rmdefault}{\timesroman}
\renewcommand{\ttdefault}{\courier}
\fi

\expandafter\ifx\csname LaTeXe\endcsname\relax
\let\go\endinput
%% Do this for LaTeX 2.09:

%% This is a minimal set of changes, but adequate for our purposes,
%% that is, not to avoid the use of CM fonts altogether but to 
%% improve the looks of the text by substituting Times
%% letters, and math operators for Computer Modern.
%% I haven't substituted mtsy for cmsy because that clobbers \cal
%% and also doesn't seem to offer any particular advantage except
%% for completely avoiding cm fonts. 


% Math extension
\font\tenex  = mtex
\font\twlvex = mtex at 12pt
\font\frtnex = mtex at 14pt
\font\egtnex = mtex at 18pt
\font\twntyex = mtex at 20pt
\font\twntyfvex = mtex at 25pt

% five point
 \font\fivmi  = mtmi	at 5pt		% math italic
    \skewchar\fivmi = '177          %  for placement of accents

% six point
\font\sixmi  = mtmi	at 6pt		% math italic
    \skewchar\sixmi = '177          %  for placement of accents


% seven point
 \font\sevmi  = mtmi	at 7pt		% math italic
    \skewchar\sevmi = '177          %  for placement of accents


% eight point
 \font\egtmi  = mtmi	at 8pt		% math italic
    \skewchar\egtmi = '177          %  for placement of accents

% nine point
 \font\ninmi  = mtmi	at 9pt		% math italic
    \skewchar\ninmi = '177          %  for placement of accents

% ten point
 \font\tenmi  = mtmi	at 10pt		% math italic
    \skewchar\tenmi = '177  	   %  for placement of accents

% eleven point
 \font\elvmi  = mtmi	at 11pt		% math italic
    \skewchar\elvmi = '177          %  for placement of accents

% twelve point
 \font\twlmi  = mtmi	at 12pt		% math italic
    \skewchar\twlmi = '177          %  for placement of accents

% fourteen point
 \font\frtnmi  = mtmi	at 14pt		% math italic
    \skewchar\frtnmi = '177          %  for placement of accents

% seventeen point
 \font\svtnmi  = mtmi	at 17pt		% math italic
    \skewchar\svtnmi = '177          %  for placement of accents

% twenty point
\font\twtymi  = mtmi	at 20pt		% math italic
    \skewchar\twtymi = '177          %  for placement of accents

% twenty-five point
\font\twfvmi  = mtmi	at 25pt		% math italic
\else\let\go\relax\fi
\go

\def\bfdefault{b}
\def\encodingdefault{OT1}%
\fontencoding{OT1}%
\DeclareSymbolFont{operators}{\encodingdefault}{\rmdefault}{m}{n}
\DeclareSymbolFont{letters}{OML}{mtt}{m}{it}
\DeclareSymbolFont{symbols}{OMS}{mtt}{m}{n}
\DeclareSymbolFont{largesymbols}{OMX}{mtt}{m}{n}
\DeclareSymbolFont{italics}{\encodingdefault}{\rmdefault}{m}{it}
\SetSymbolFont{operators}{normal}{\encodingdefault}{\rmdefault}{m}{n}
\SetSymbolFont{letters}{normal}{OML}{mtt}{m}{it}
\SetSymbolFont{symbols}{normal}{OMS}{mtt}{m}{n}%% was mtt
\SetSymbolFont{largesymbols}{normal}{OMX}{mtt}{m}{n}
\SetMathAlphabet{\mathbf}{normal}{\encodingdefault}{\rmdefault}{b}{n}%
\SetMathAlphabet{\mathsf}{normal}{\encodingdefault}{\sfdefault}{m}{n}%
\SetMathAlphabet{\mathrm}{normal}{\encodingdefault}{\rmdefault}{m}{n}%
\SetSymbolFont{operators}{bold}{\encodingdefault}{cmr}{bx}{n}
\SetSymbolFont{letters}{bold}{OML}{cmm}{b}{it}
\SetSymbolFont{symbols}{bold}{OMS}{cmsy}{b}{n}
\SetSymbolFont{largesymbols}{bold}{OMX}{mtt}{m}{n}
\SetMathAlphabet{\mathbf}{bold}{\encodingdefault}{\rmdefault}{m}{n}%
\SetMathAlphabet{\mathsf}{bold}{\encodingdefault}{\sfdefault}{b}{n}%
\SetMathAlphabet{\mathrm}{bold}{\encodingdefault}{\rmdefault}{b}{n}%
\DeclareMathAlphabet\mathfrak{U}{euf}{m}{n}
\SetMathAlphabet \mathfrak{normal}{U}{euf}{m}{n}
\SetMathAlphabet \mathfrak{bold}{U}{euf}{b}{n}
%\DeclareSymbolFont{AMSb}{U}{msb}{m}{n}
\DeclareSymbolFont{AMSb}{U}{cmr}{m}{n}%???
\DeclareSymbolFontAlphabet{\mathbb}{AMSb}
\DeclareSymbolFont{cal}{OMS}{cmsy}{m}{n}
\SetMathAlphabet \mathcal{normal}{OMS}{cmsy}{m}{n}
\SetMathAlphabet \mathcal{bold}{OMS}{cmsy}{b}{n}
\def\frak{\mathfrak}
\def\Bbb{\mathbb}
\def\bold{\mathbf}
\def\cal{\mathcal}
\DeclareMathSymbol\varGamma    {\mathord}{letters}{"00}
\DeclareMathSymbol\varDelta    {\mathord}{letters}{"01}
\DeclareMathSymbol\varTheta    {\mathord}{letters}{"02}
\DeclareMathSymbol\varLambda    {\mathord}{letters}{"03}
\DeclareMathSymbol\varXi       {\mathord}{letters}{"04}
\DeclareMathSymbol\varPi       {\mathord}{letters}{"05}
\DeclareMathSymbol\varSigma    {\mathord}{letters}{"06}
\DeclareMathSymbol\varUpsilon   {\mathord}{letters}{"07}
\DeclareMathSymbol\varPhi      {\mathord}{letters}{"08}
\DeclareMathSymbol\varPsi      {\mathord}{letters}{"09}
\DeclareMathSymbol\varOmega    {\mathord}{letters}{"0A}
\def\space@.{\futurelet\space@\relax}
  \space@. %
\begingroup
  \catcode`\_=\active
  \def_{\protect\pUS}
  \def\pUS{\ifmmode\expandafter\sb@\else
   \expandafter\csname subscript character \string_\endcsname\fi}
  \let\sb_
  \def\sb@#1{\csname subscript character \string_\endcsname
   {\futurelet\next\sb@@#1}}
  \def\sb@@{%
   \ifx\next\space@\def\next@. {\futurelet\next\sb@@}\else
    \def\next@.{%
    \ifx\next j\mkern-\tw@ mu\else
    \ifx\next f\mkern-\tw@ mu\else
    \ifx\next p\mkern-\@ne mu
    \fi\fi\fi}%
   \fi
   \next@.}
\endgroup
\def\pvdots{\vbox{\baselineskip4\p@ \lineskiplimit\z@
 \kern6\p@\hbox{$\m@th.$}\hbox{$\m@th.$}\hbox{$\m@th.$}}}
\def\pddots{\mathinner{\mkern1mu\raise7\p@\vbox{\kern7\p@
 \hbox{$\m@th.$}}\mkern2mu
 \raise4\p@\hbox{$\m@th.$}\mkern2mu\raise\p@\hbox{$\m@th.$}\mkern1mu}}
\def\pangle{{\vbox{\ialign{$\m@th\scriptstyle##$\crcr
       \not\mathrel{\mkern14mu}\crcr
       \noalign{\nointerlineskip}
       \mkern2.5mu\leaders\hrule height.48pt\hfill\mkern2.5mu\crcr}}}}
\def\pt#1{{\edef\next{\the\font}\the\textfont2\accent"41\next#1}}
\def\pdot{\ifnum\fam=\m@ne
 \mathaccent"0250 \else\mathaccent"70C7 \fi}
\def\pgrave{\ifnum\fam=\m@ne
 \mathaccent"024A \else\mathaccent"7012 \fi}
\def\pacute{\ifnum\fam=\m@ne
 \mathaccent"024B \else\mathaccent"7013 \fi}
\def\pcheck{\ifnum\fam=\m@ne
 \mathaccent"024C \else\mathaccent"7014 \fi}
\def\pbreve{\ifnum\fam=\m@ne
 \mathaccent"024D \else\mathaccent"7015 \fi}
\def\pbar{\ifnum\fam=\m@ne
 \mathaccent"024E \else\mathaccent"7016 \fi}
\def\phat{\ifnum\fam=\m@ne
 \mathaccent"024F \else\mathaccent"705E \fi}
\def\pdot{\ifnum\fam=\m@ne
 \mathaccent"0250 \else\mathaccent"70C7 \fi}
\def\ptilde{\ifnum\fam=\m@ne
 \mathaccent"0251 \else\mathaccent"707E \fi}
\def\pddot{\ifnum\fam=\m@ne
 \mathaccent"0252 \else\mathaccent"707F \fi}
\def\qvdots{\vbox{\baselineskip4\p@ \lineskiplimit\z@
  \kern6\p@\hbox{.}\hbox{.}\hbox{.}}}
\def\qddots{\mathinner{\mkern1mu\raise7\p@\vbox{\kern7\p@\hbox{.}}\mkern2mu
  \raise4\p@\hbox{.}\mkern2mu\raise\p@\hbox{.}\mkern1mu}}
\def\angle{{\vbox{\ialign{$\m@th\scriptstyle##$\crcr
     \not\mathrel{\mkern14mu}\crcr
     \noalign{\nointerlineskip}
     \mkern2.5mu\leaders\hrule height.34pt\hfill\mkern2.5mu\crcr}}}}
\def\qt#1{{\edef\next{\the\font}\the\textfont1\accent"7F\next#1}}
\def\qvec{\mathaccent"017E}
\def\qacute{\mathaccent"7013 }
\def\qgrave{\mathaccent"7012 }
\def\qddot{\mathaccent"707F }
\def\qtilde{\mathaccent"707E }
\def\qbar{\mathaccent"7016 }
\def\qbreve{\mathaccent"7015 }
\def\qcheck{\mathaccent"7014 }
\def\qhat{\mathaccent"705E }
\def\qdot{\mathaccent"705F }
\def\qRelbar{\mathrel=}
\def\qhbar{{\mathchar'26\mkern-9muh}}
\mathcode`\+="202B
%% dagger, ddagger, \P and \S from cmsy instead of Times. This has the
%% advantage that their definitions are independent of the fontencoding of
%% the Times fonts used.
\DeclareMathSymbol{\pS}{3}{cal}{"78}
\DeclareMathSymbol{\pP}{3}{cal}{"7B}
\DeclareMathSymbol{\dagger}{3}{cal}{"79}
\DeclareMathSymbol{\ddagger}{3}{cal}{"7A}
\def\unboldmath{\@nomath\boldmath
\mathchardef\Gamma="0130
\mathchardef\Delta="0131
\mathchardef\Theta="0132
\mathchardef\Lambda="0133
\mathchardef\Xi="0134
\mathchardef\Pi="0135
\mathchardef\Sigma="0136
\mathchardef\Upsilon="0137
\mathchardef\Phi="0138
\mathchardef\Psi="0139
\mathchardef\Omega="017F
\def\grave{\protect\pgrave}
\def\acute{\protect\pacute}
\def\check{\protect\pcheck}
\def\breve{\protect\pbreve}
\def\bar{\protect\pbar}
\def\hat{\protect\phat}
\def\dot{\protect\pdot}
\def\tilde{\protect\ptilde}
\def\ddot{\protect\pddot}
\def\hbar{{\mathchar'26\mkern-6.7muh}}
\def\vec{\mathaccent"0245 }
\def\widebar{\mathaccent"0253 }
\def\dag{\hbox{$\dagger$}}
\def\ddag{\hbox{$\ddagger$}}
\def\S{\hbox{$\pS$}}
\def\P{\hbox{$\pP$}}
\def\t{\protect\pt}
\def\jadjust{\mkern-\tw@ mu}
\mathchardef\ldotp="613A
\mathchardef\triangleleft="2247
\mathchardef\triangleright="2246
\mathchardef\Relbar="3248
\mathchardef\varkappa="017E
\mathchardef\comp="2242
\def\vdots{\pvdots}
\def\ddots{\pddots}
\def\t{\protect\pt}
\def\angle{\pangle}
\mathcode`\=="3244
\mathcode`\(="412E
\mathcode`\)="512F
\delcode`\(="12E300
\delcode`\)="12F301
\mathcode`\.="013A
\mathcode`\,="613B
\mathcode`\;="6249
\mathcode`\+="2243
  \mathversion{normal}
}
\def\boldmath{\@nomath\unboldmath
\mathchardef\Gamma="7000
\mathchardef\Delta="7001
\mathchardef\Theta="7002
\mathchardef\Lambda="7003
\mathchardef\Xi="7004
\mathchardef\Pi="7005
\mathchardef\Sigma="7006
\mathchardef\Upsilon="7007
\mathchardef\Phi="7008
\mathchardef\Psi="7009
\mathchardef\Omega="700A
\let\comp=\relax
\let\widebar\bar
\let\varkappa=\kappa
\mathchardef\ldotp="613A
\mathchardef\triangleleft="212F
\mathchardef\triangleright="212E
\mathchardef\ddagger="227A
\mathchardef\dagger="2279
\mathcode`\(="4028
\mathcode`\)="5029
\delcode`\(="028300
\delcode`\)="029301
\mathcode`\.="013A
\mathcode`\,="613B
\mathcode`\=="303D
\mathcode`\;="603B
\let\Relbar=\qRelbar
\let\grave=\qgrave
\let\acute=\qacute
\let\check=\qcheck
\let\breve=\qbreve
\let\bar=\qbar
\let\hat=\qhat
\let\dot=\qdot
\let\tilde=\qtilde
\let\vec=\qvec
\let\t=\qt
\let\hbar=\qhbar
\let\ddot=\qddot
\let\ddots=\qddots
\let\vdots=\qvdots
\mathcode`\+="202B
  \mathversion{bold}
}
\unboldmath

%% File: mathtime.dtx Copyright (C) 1994 Aloysius Helminck
%% dagger, ddagger, \P and \S from cmsy instead of Times. This has the
%% advantage that their definitions are independent of the fontencoding of
%% the Times fonts used.
\DeclareFontFamily{OML}{mtt}{\skewchar\font'055}
\DeclareFontShape{OML}{mtt}{m}{it}{<->mtmi}{}

\DeclareFontFamily{OMS}{mtt}{\skewchar\font'060}
\DeclareFontShape{OMS}{mtt}{m}{n}{<->mtsy}{}

\DeclareFontFamily{OMX}{mtt}{}
\DeclareFontShape{OMX}{mtt}{m}{n}{<->mtex}{}

\endinput

%% 
%% End of file `mathfont.sty'.
