%%% ====================================================================
%%%  @TeX-file{
%%%     author          = "Alan Jeffrey and Sebastian Rathz and
%%%                        Ulrik Vieth",
%%%     version         = "1.802",
%%%     date            = "01 July 1998",
%%%     time            = "10:57:48 MET DST",
%%%     filename        = "fontzcmtmx.tex",
%%%     email           = "vieth@thphy.uni-duesseldorf.de",
%%%     URL             = "http://www.thphy.uni-duesseldorf.de/~vieth/",
%%%     checksum        = "49508 76 251 3044",
%%%     codetable       = "ISO/ASCII",
%%%     keywords        = "font installation example",
%%%     supported       = "yes",
%%%     abstract        = "This is an example program which uses
%%%                        Adobe Times, Adobe Symbol and Computer
%%%                        Modern fonts to build Times math fonts.",
%%%     package         = "fontinst",
%%%     dependencies    = "fontinst.sty, ptmr8a.afm, ptmri8a.afm,
%%%                        pzcmi8a.afm, psyr.afm, cmr10.pl,
%%%                        cmmi10.pl, cmsy10.pl, cmex10.pl,
%%%                        mathit.mtx, mathsy.mtx, mathex.mtx,
%%%                        zrhax.mtx, zrmhax.mtx, zrvhax.mtx,
%%%                        zrmkern.mtx, unsethum.mtx, unsetalf.mtx,
%%%                        resetsy.mtx, kernoff.mtx, kernon.mtx",
%%%  }
%%% ====================================================================

% Math fonts built from Times, Symbol, RSFS and CM math.

\input fontinst.sty

\needsfontinstversion{1.800}

\declareencoding{RAS SCRIPT}{rsfs}

\installfonts
   \transformfont{ptmr8r} {\reencodefont{8r}{\fromafm{ptmr8a}}}
   \transformfont{ptmri8r}{\reencodefont{8r}{\fromafm{ptmri8a}}}
   \transformfont{psyro}  {\slantfont{167}{\fromafm{psyr}}}

   % OT1: Latin and digits from Times-Roman, Greek from Symbol,
   % accents and punctuation from Times, delimiters from cmr10
   \installfamily{OT1}{ztmcm}{}
   \installfont{zptmcm7t}
      {ptmr8r,psyr,resetsy,latin,%
       zrhax,kernoff,cmr10,kernon}
      {OT1}{OT1}{ztmcm}{m}{n}{}

   % OML: Latin from Times-Italic, Greek from Symbol (oblique),
   % operators, delimiters and puctuation from cmmi10
   \installfamily{OML}{ztmcm}{\skewchar\font=127}
   \installfont{zptmcm7m}
      {ptmri8r,unsetmu,psyro,resetsy,%
       zrmhax,kernoff,cmmi10,kernon,%
       mathit,zrmkernx}
      {OML}{OML}{ztmcm}{m}{it}{}

   % OMS: Humanist symbols from Times-Roman and Symbol,
   % Script alphabet from Ralph Smith's Formal Script,
   % operators, delimiters and arrows from cmsy10
   \installfamily{OMS}{ztmcm}{\skewchar\font=48}
   \installfont{zptmcm7y}
      {kernoff,cmsy10,kernon,zryhax,ptmr8r,psyr,%
       unsetalf,rsfs10,zrykernx,mathsy}
      {OMS}{OMS}{ztmcm}{m}{n}{}

   % OMX: summation and product from psyr, bigops from scaled cmex10,
   % delimiters, radicals and arrows from cmex10
   \installfamily{OMX}{ztmcm}{}
   \installfont{zptmcm7v}
      {cmex10,psyr,zrvhax,cmex10 scaled 900}
      {OMX}{OMX}{ztmcm}{m}{n}{}

\endinstallfonts
\end
