summaryrefslogtreecommitdiff
path: root/fonts/utilities/fontinst/examples/mathptm/fontptcm.tex
blob: 12f9200f1a4ba9b33a712cdfaee16b217a67ce7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
%%% ====================================================================
%%%  @TeX-file{
%%%     author          = "Alan Jeffrey and Sebastian Rathz and
%%%                        Ulrik Vieth",
%%%     version         = "1.801",
%%%     date            = "30 June 1998",
%%%     time            = "00:24:26 CEST",
%%%     filename        = "fontptcm.tex",
%%%     email           = "vieth@thphy.uni-duesseldorf.de",
%%%     URL             = "http://www.thphy.uni-duesseldorf.de/~vieth/",
%%%     checksum        = "55484 75 248 2976",
%%%     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, cmex9.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, Zapf Chancery and CM math.

\input fontinst.sty

\needsfontinstversion{1.800}

\installfonts
   \transformfont{ptmr8r} {\reencodefont{8r}{\fromafm{ptmr8a}}}
   \transformfont{ptmri8r}{\reencodefont{8r}{\fromafm{ptmri8a}}}
   \transformfont{pzcmi8r}{\reencodefont{8r}{\fromafm{pzcmi8a}}}
   \fromafm{psyr}

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

   % OML: Latin from Times-Italic, Greek from Adobe Symbol,
   % operators, delimiters and punctuation from cmmi10
   \installfamily{OML}{ptmcm}{\skewchar\font=127}
   \installfont{zptmcmrm}
      {ptmri8r,psyr,resetsy,%
       zrmhax,kernoff,cmmi10,kernon,%
       zrmkern,mathit}
      {OML}{OML}{ptmcm}{m}{it}{}

   % OMS: Humanist symbols from Times-Roman and Symbol,
   % Calligraphic alphabet from Zapf Chancery,
   % operators, delimiters and arrows from cmsy10
   \installfamily{OMS}{pzccm}{}
   \installfont{zpzccmry}
      {cmsy10,zryhax,psyr,ptmr8r,%
       unsetalf,pzcmi8r scaled 1124,mathsy}
      {OMS}{OMS}{pzccm}{m}{n}{}

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

\endinstallfonts
\end