%\iffalse        This is a META comment
%
% File `tmmath.dtx'.
% Copyright (c) 2000,2001 MicroPress Inc. (AVK)
% All Rights Reserved.
%
%<ot1tmr>\ProvidesFile{ot1tmr.fd}%
%<ot1tmr>  [2001/05/15 v1.51 LaTeX TM Roman font definition (OT1 encoding)]%
%
%<omltmm>\ProvidesFile{omltmm.fd}%
%<omltmm>  [2001/05/15 v1.51 LaTeX TM math font definition (OML encoding)]%
%
%<omltmr>\ProvidesFile{omltmr.fd}%
%<omltmr>  [2001/05/15 v1.51 LaTeX TM math font definition (OML encoding)]%
%
%<omstmr>\ProvidesFile{omstmr.fd}%
%<omstmr>  [2001/05/15 v1.51 LaTeX TM math symbol font definition %
%<omstmr>  (OMS encoding)]%
%
%<omstmsy>\ProvidesFile{omstmsy.fd}%
%<omstmsy>  [2001/05/15 v1.51 LaTeX TM math symbol font definition %
%<omstmsy>  (OMS encoding)]%
%
%<omxtmex>\ProvidesFile{omxtmex.fd}%
%<omxtmex>  [2001/05/15 v1.51 LaTeX TM math extended symbol font definition
%<omxtmex>  (OMX encoding)]%
%
%<ts1tmr>\ProvidesFile{ts1tmr.fd}%
%<ts1tmr>  [2001/05/15 v1.51 LaTeX TM text symbol font definition %
%<ts1tmr>  (TS1 encoding)]%
%
%<t1tmr>\ProvidesFile{t1tmr.fd}%
%<t1tmr>  [2001/05/15 v1.51 LaTeX TM text font definition (T1 encoding)]%
%
%<tm>\NeedsTeXFormat{LaTeX2e}[1997/12/01]%
%<tm>\ProvidesPackage{tmmath}[2001/05/15 v1.51 MicroPress TM fonts setup]%
%
%<tmams>\ProvidesPackage{tmams}[2001/05/15 v1.51 MicroPress TM math AMS A/B sets]
%<*driver>
\ProvidesFile{tmmath.drv}%
  [2001/05/15 v1.51 VTeX LaTeX configuration files for TMMath fonts]
%
\documentclass{ltxdoc}
\GetFileInfo{tmmath.drv}
\providecommand\dst{\expandafter{\normalfont\scshape docstrip}}
\title{The file \texttt{tmmath.dtx} for use with
      \LaTeXe.\thanks{This file has version
           number \fileversion, dated \filedate.}}
\date{\filedate}
\author{MicroPress Inc.}
\begin{document}
\maketitle
 \DocInput{tmmath.dtx}
\end{document}
%</driver>
%
%\fi
%
%    \begin{macrocode}
%<*driver>
\documentclass{ltxdoc}
\begin{document}
   \DocInput{tmmath.dtx}
\end{document}
%</driver>
%    \end{macrocode}
% 
%   \section{\texttt{ot1tmr.fd}} 
% 
%    \begin{macrocode} 
%<*ot1tmr> 
\ifx\aliasfont\@undefined
\else
  \begingroup
    \catcode32=10 %
    \aliasfont tmro10ot = tmrm10ot slant 167 %
    \aliasfont tmui10ot = tmri10ot slant -277 %
    \aliasfont tmbo10ot = tmrb10ot slant 167 %
    \aliasfont tmbu10ot = tmbi10ot slant -277 %
  \endgroup
\fi
%
\expandafter\ifx\csname OT1@tmr@scale\endcsname\relax
 \let\@l@scale\@empty
\else
 \edef\@l@scale{s*[\csname OT1@tmr@scale\endcsname]}%
\fi
%
\DeclareFontFamily{OT1}{tmr}{}%
%
\DeclareFontShape{OT1}{tmr}{m}{n}{ <-> \@l@scale tmrm10ot}{}%
\DeclareFontShape{OT1}{tmr}{m}{sc}{<-> \@l@scale tmsc10ot}{}%
\DeclareFontShape{OT1}{tmr}{m}{sl}{<-> \@l@scale tmro10ot}{}%
\DeclareFontShape{OT1}{tmr}{m}{it}{<-> \@l@scale tmri10ot}{}%
%
\DeclareFontShape{OT1}{tmr}{bx}{n}{<-> \@l@scale tmrb10ot}{}%
\DeclareFontShape{OT1}{tmr}{bx}{sc}{<-> \@l@scale tmbc10ot}{}%
\DeclareFontShape{OT1}{tmr}{bx}{sl}{<-> \@l@scale tmbo10ot}{}%
\DeclareFontShape{OT1}{tmr}{bx}{it}{<-> \@l@scale tmbi10ot}{}%
%
\DeclareFontShape{OT1}{tmr}{b}{n}{<-> ssub * tmr/bx/n}{}%
\DeclareFontShape{OT1}{tmr}{b}{sc}{<-> ssub * tmr/bx/sc}{}%
\DeclareFontShape{OT1}{tmr}{b}{sl}{<-> ssub * tmr/bx/sl}{}%
\DeclareFontShape{OT1}{tmr}{b}{it}{<-> ssub * tmr/bx/it}{}%
%
\DeclareFontShape{OT1}{tmr}{m}{ui}{<-> \@l@scale tmui10ot}{}%
\DeclareFontShape{OT1}{tmr}{bx}{ui}{<-> \@l@scale tmbu10ot}{}%
%</ot1tmr> 
%    \end{macrocode} 
% 
%   \section{\texttt{omltmm.fd}} 
% 
%    \begin{macrocode} 
%<*omltmm> 
\expandafter\ifx\csname OM1@tmr@scale\endcsname\relax
 \let\@l@scale\@empty
\else
 \edef\@l@scale{s*[\csname OM1@tmr@scale\endcsname]}%
\fi
%
\DeclareFontFamily{OML}{tmm}{\skewchar\font127 }%
%
\DeclareFontShape{OML}{tmm}{m}{it}{<->\@l@scale tmmi10}{}%
\DeclareFontShape{OML}{tmm}{b}{it}{<->\@l@scale tmmib10}{}%
\DeclareFontShape{OML}{tmm}{bx}{it}{<-> ssub * tmm/b/it}{}%
%</omltmm> 
%    \end{macrocode} 
% 
%   \section{\texttt{omltmr.fd}} 
% 
%    \begin{macrocode} 
%<*omltmr> 
%
\DeclareFontFamily{OML}{tmr}{\skewchar\font127 }%
%
\DeclareFontShape{OML}{tmr}{m}{n}{<-> ssub * tmm/m/it}{}%
\DeclareFontShape{OML}{tmr}{m}{it}{<-> ssub * tmm/m/it}{}%
\DeclareFontShape{OML}{tmr}{m}{sl}{<-> ssub * tmm/m/it}{}%
\DeclareFontShape{OML}{tmr}{m}{sc}{<-> ssub * tmm/m/it}{}%
%
\DeclareFontShape{OML}{tmr}{b}{n}{<-> ssub * tmm/b/it}{}%
\DeclareFontShape{OML}{tmr}{b}{it}{<-> ssub * tmm/b/it}{}%
\DeclareFontShape{OML}{tmr}{b}{sl}{<-> ssub * tmm/b/it}{}%
\DeclareFontShape{OML}{tmr}{b}{sc}{<-> ssub * tmm/b/it}{}%
%</omltmr> 
%    \end{macrocode} 
% 
%   \section{\texttt{omstmr.fd}} 
% 
%    \begin{macrocode} 
%<*omstmr> 
\DeclareFontFamily{OMS}{tmr}{\skewchar\font48 }%
%
\DeclareFontShape{OMS}{tmr}{m}{n}{<-> ssub * tmsy/m/n}{}%
\DeclareFontShape{OMS}{tmr}{m}{it}{<-> ssub * tmsy/m/n}{}%
\DeclareFontShape{OMS}{tmr}{m}{sl}{<-> ssub * tmsy/m/n}{}%
\DeclareFontShape{OMS}{tmr}{m}{sc}{<-> ssub * tmsy/m/n}{}%
%
\DeclareFontShape{OMS}{tmr}{b}{n}{<-> ssub * tmsy/b/n}{}%
\DeclareFontShape{OMS}{tmr}{b}{it}{<-> ssub * tmsy/b/n}{}%
\DeclareFontShape{OMS}{tmr}{b}{sl}{<-> ssub * tmsy/b/n}{}%
\DeclareFontShape{OMS}{tmr}{b}{sc}{<-> ssub * tmsy/b/n}{}%
%</omstmr> 
%    \end{macrocode} 
% 
%   \section{\texttt{omstmsy.fd}} 
% 
%    \begin{macrocode} 
%<*omstmsy> 
\expandafter\ifx\csname OM1@tmr@scale\endcsname\relax
 \let\@l@scale\@empty
\else
 \edef\@l@scale{s*[\csname OM1@tmr@scale\endcsname]}%
\fi
%
\DeclareFontFamily{OMS}{tmsy}{\skewchar\font48 }%
%
\DeclareFontShape{OMS}{tmsy}{m}{n}{<->\@l@scale tmsy10}{}%
\DeclareFontShape{OMS}{tmsy}{b}{n}{<->\@l@scale tmbsy10}{}%
\DeclareFontShape{OMS}{tmsy}{bx}{n}{<->ssub * tmsy/b/n}{}%
%</omstmsy> 
%    \end{macrocode} 
% 
%   \section{\texttt{omxtmex.fd}} 
% 
%    \begin{macrocode} 
%<*omxtmex> 
\expandafter\ifx\csname OM1@tmr@scale\endcsname\relax
 \let\@l@scale\@empty
\else
 \edef\@l@scale{s*[\csname OM1@tmr@scale\endcsname]}%
\fi
%
\DeclareFontFamily{OMX}{tmex}{}%
%
\DeclareFontShape{OMX}{tmex}{m}{n}{<->\@l@scale tmex10}{}%
\DeclareFontShape{OMX}{tmex}{b}{n}{<->\@l@scale tmexb10}{}%
\DeclareFontShape{OMX}{tmex}{bx}{n}{<-> ssub * tmex/b/n}{}%
%</omxtmex> 
%    \end{macrocode} 
% 
%   \section{\texttt{t1tmr.fd}} 
% 
%    \begin{macrocode} 
%<*t1tmr> 
\ifx\aliasfont\@undefined
\else
  \begingroup
    \catcode32=10 %
    \aliasfont tmro10t1 = tmrm10t1 slant 167 %
    \aliasfont tmui10t1 = tmri10t1 slant -277 %
    \aliasfont tmbo10t1 = tmrb10t1 slant 167 %
    \aliasfont tmbu10t1 = tmbi10t1 slant -277 %
  \endgroup
\fi
%
\expandafter\ifx\csname T1@tmr@scale\endcsname\relax
 \let\@l@scale\@empty
\else
 \edef\@l@scale{s*[\csname T1@tmr@scale\endcsname]}%
\fi
%
\DeclareFontFamily{T1}{tmr}{}%
%
\DeclareFontShape{T1}{tmr}{m}{n}{ <-> \@l@scale tmrm10t1}{}%
\DeclareFontShape{T1}{tmr}{m}{sc}{<-> \@l@scale tmsc10t1}{}%
\DeclareFontShape{T1}{tmr}{m}{sl}{<-> \@l@scale tmro10t1}{}%
\DeclareFontShape{T1}{tmr}{m}{it}{<-> \@l@scale tmri10t1}{}%
%
\DeclareFontShape{T1}{tmr}{bx}{n}{<-> \@l@scale  tmrb10t1}{}%
\DeclareFontShape{T1}{tmr}{bx}{sc}{<-> \@l@scale tmbc10t1}{}%
\DeclareFontShape{T1}{tmr}{bx}{sl}{<-> \@l@scale tmbo10t1}{}%
\DeclareFontShape{T1}{tmr}{bx}{it}{<-> \@l@scale tmbi10t1}{}%
%
\DeclareFontShape{T1}{tmr}{b}{n}{<-> ssub * tmr/bx/n}{}%
\DeclareFontShape{T1}{tmr}{b}{sc}{<-> ssub * tmr/bx/sc}{}%
\DeclareFontShape{T1}{tmr}{b}{sl}{<-> ssub * tmr/bx/sl}{}%
\DeclareFontShape{T1}{tmr}{b}{it}{<-> ssub * tmr/bx/it}{}%
%
\DeclareFontShape{T1}{tmr}{m}{ui}{<-> \@l@scale tmui10t1}{}%
\DeclareFontShape{T1}{tmr}{bx}{ui}{<-> \@l@scale tmbu10t1}{}%
%</t1tmr> 
%    \end{macrocode} 
% 
%   \section{\texttt{ts1tmr.fd}} 
% 
%    \begin{macrocode} 
%<*ts1tmr> 
\expandafter\ifx\csname T1@tmr@scale\endcsname\relax
 \let\@l@scale\@empty
\else
 \edef\@l@scale{s*[\csname T1@tmr@scale\endcsname]}%
\fi
%
\DeclareFontFamily{TS1}{tmr}{}
\DeclareFontShape{TS1}{tmr}{m}{n}{<->\@l@scale tmrm10ts}{}%
\DeclareFontShape{TS1}{tmr}{m}{it}{<->\@l@scale tmri10ts}{}%
\DeclareFontShape{TS1}{tmr}{m}{sl}{<-> ssub * tmr/m/it}{}%
\DeclareFontShape{TS1}{tmr}{bx}{n}{<->\@l@scale tmrb10ts}{}%
\DeclareFontShape{TS1}{tmr}{bx}{it}{<->\@l@scale tmbi10ts}{}%
\DeclareFontShape{TS1}{tmr}{bx}{sl}{<-> ssub * tmr/bx/it}{}%
\DeclareFontShape{TS1}{tmr}{b}{n}{<-> ssub * tmr/bx/n}{}%
\DeclareFontShape{TS1}{tmr}{b}{it}{<-> ssub * tmr/bx/it}{}%
\DeclareFontShape{TS1}{tmr}{b}{sl}{<-> ssub * tmr/bx/it}{}%
%</ts1tmr> 
%    \end{macrocode} 
% 
%   \section{\texttt{tmmath.sty}} 
% 
%    \begin{macrocode} 
%<*tm> 
\renewcommand{\rmdefault}{tmr}%
\renewcommand{\familydefault}{\rmdefault}%
%
\edef\vtex@tempa{\cf@encoding}%
\edef\vtex@tempb{LV1}
\ifx\vtex@tempa\vtex@tempb
  \edef\vtex@tempa{LV1}%
  \edef\vtex@tempb{LVS1}%
  \edef\vtex@tempc{LVM1}%
  \edef\vtex@tempd{LVX1}%
  \def\OMS{LVS1}%
  \def\OML{LVM1}%
  \def\cmsy{tmsy}%
  \def\cmmi{tmm}%
\else
  \edef\vtex@tempa{OT1}%
  \edef\vtex@tempb{OMS}%
  \edef\vtex@tempc{OML}%
  \edef\vtex@tempd{OMX}%
  \def\OMS{OMS}%
  \def\OML{OML}%
  \def\cmsy{cmsy}%
  \def\cmmi{cmm}%
\fi
%
\DeclareSymbolFont{operators}{\vtex@tempa}{tmr}{m}{n}%
\DeclareSymbolFont{letters}{\vtex@tempc}{tmm}{m}{it}%
\DeclareSymbolFont{symbols}{\vtex@tempb}{tmsy}{m}{n}%
\DeclareSymbolFont{largesymbols}{\vtex@tempd}{tmex}{m}{n}%
\SetSymbolFont{operators}{bold}{\vtex@tempa}{tmr}{bx}{n}%
\SetSymbolFont{letters}{bold}{\vtex@tempc}{tmm}{b}{it}%
\SetSymbolFont{symbols}{bold}{\vtex@tempb}{tmsy}{b}{n}%
\DeclareMathAlphabet{\mathbf}{\vtex@tempa}{tmr}{bx}{n}%
\DeclareMathAlphabet{\mathit}{\vtex@tempa}{tmr}{m}{it}%
\SetMathAlphabet\mathit{bold}{\vtex@tempa}{tmr}{bx}{it}%
\DeclareMathAlphabet{\mathbold}{\vtex@tempc}{tmm}{b}{it}%
%
\def\tmmath@Aring
{%
  \leavevmode
  \setbox0\hbox{h}%
  \dimen@\ht0 %
  \advance\dimen@-1ex%
  \ooalign{\hfil\raise.65\dimen@\hbox{\r{}}\hfil\crcr A}%
}%
\AtBeginDocument
{%
  \@ifundefined{T@OT1}{}%
    {\DeclareTextCompositeCommand{\r}{OT1}{A}{\tmmath@Aring}}%
  \@ifundefined{T@LV1}{}%
    {\DeclareTextCompositeCommand{\r}{LV1}{A}{\tmmath@Aring}}%
}%
\DeclareMathSymbol{\hbar}{\mathord}{letters}{128}%
\let\vtex@hbar\hbar
\AtBeginDocument
{%
  \@ifpackageloaded{amsfonts}%
  {%
    \@ifundefined{vtex@hbar}{}{\global\let\hbar\vtex@hbar}%
  }{}%
  \@ifpackageloaded{amsmath}%
  {%
    \def\intkern@{\mkern-3mu\mathchoice{\mkern-1.5mu}{}{}{}}%
  }{}%
}%
\normalfont
%</tm> 
%    \end{macrocode} 
% 
%   \section{\texttt{tmams.sty}} 
% 
%    \begin{macrocode} 
%<*tmams> 
\expandafter\ifx\csname OM1@tmr@scale\endcsname\relax
 \let\@l@scale\@empty
\else
 \edef\@l@scale{s*[\csname OM1@tmr@scale\endcsname]}%
\fi
%
\DeclareFontFamily{U}{msa}{}
\DeclareFontShape{U}{msa}{m}{n}{<->\@l@scale tmam10}{}
\DeclareFontFamily{U}{msb}{}
\DeclareFontShape{U}{msb}{m}{n}{<->\@l@scale tmbm10}{}
%</tmams> 
%    \end{macrocode} 
%
%
%    The next line goes into all files and in addition prevents \dst{}
%    from adding any further code from the main source file (such as a
%    character table).
%    \begin{macrocode}
\endinput
%    \end{macrocode}
%
% \Finale
%
%% \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         \~}
