Debian Codegraph @

texmf-dist/doc/fonts/fontinst/examples/mathptm/fontptcm.tex

raw
1 %%% ====================================================================
2 %%% @TeX-file{
3 %%% author = "Alan Jeffrey and Sebastian Rathz and
4 %%% Ulrik Vieth",
5 %%% version = "1.801",
6 %%% date = "30 June 1998",
7 %%% time = "00:24:26 CEST",
8 %%% filename = "fontptcm.tex",
9 %%% email = "[email protected]",
10 %%% URL = "http://www.thphy.uni-duesseldorf.de/~vieth/",
11 %%% checksum = "55484 75 248 2976",
12 %%% codetable = "ISO/ASCII",
13 %%% keywords = "font installation example",
14 %%% supported = "yes",
15 %%% abstract = "This is an example program which uses
16 %%% Adobe Times, Adobe Symbol and Computer
17 %%% Modern fonts to build Times math fonts.",
18 %%% package = "fontinst",
19 %%% dependencies = "fontinst.sty, ptmr8a.afm, ptmri8a.afm,
20 %%% pzcmi8a.afm, psyr.afm, cmr10.pl,
21 %%% cmmi10.pl, cmsy10.pl, cmex10.pl, cmex9.pl,
22 %%% mathit.mtx, mathsy.mtx, mathex.mtx,
23 %%% zrhax.mtx, zrmhax.mtx, zrvhax.mtx,
24 %%% zrmkern.mtx, unsethum.mtx, unsetalf.mtx,
25 %%% resetsy.mtx, kernoff.mtx, kernon.mtx",
26 %%% }
27 %%% ====================================================================
28
29 % Math fonts built from Times, Symbol, Zapf Chancery and CM math.
30
31 \input fontinst.sty
32
33 \needsfontinstversion{1.800}
34
35 \installfonts
36 \transformfont{ptmr8r} {\reencodefont{8r}{\fromafm{ptmr8a}}}
37 \transformfont{ptmri8r}{\reencodefont{8r}{\fromafm{ptmri8a}}}
38 \transformfont{pzcmi8r}{\reencodefont{8r}{\fromafm{pzcmi8a}}}
39 \fromafm{psyr}
40
41 % OT1: Latin and digits from Times-Roman, Greek from Symbol,
42 % accents and punctuation from Times, delimiters from cmr10
43 \installfamily{OT1}{ptmcm}{}
44 \installfont{zptmcmr}
45 {ptmr8r,psyr,resetsy,latin,%
46 zrhax,kernoff,cmr10,kernon}
47 {OT1}{OT1}{ptmcm}{m}{n}{}
48
49 % OML: Latin from Times-Italic, Greek from Adobe Symbol,
50 % operators, delimiters and punctuation from cmmi10
51 \installfamily{OML}{ptmcm}{\skewchar\font=127}
52 \installfont{zptmcmrm}
53 {ptmri8r,psyr,resetsy,%
54 zrmhax,kernoff,cmmi10,kernon,%
55 zrmkern,mathit}
56 {OML}{OML}{ptmcm}{m}{it}{}
57
58 % OMS: Humanist symbols from Times-Roman and Symbol,
59 % Calligraphic alphabet from Zapf Chancery,
60 % operators, delimiters and arrows from cmsy10
61 \installfamily{OMS}{pzccm}{}
62 \installfont{zpzccmry}
63 {cmsy10,zryhax,psyr,ptmr8r,%
64 unsetalf,pzcmi8r scaled 1124,mathsy}
65 {OMS}{OMS}{pzccm}{m}{n}{}
66
67 % OMX: summation and product from psyr, bigops from cmex9,
68 % delimiters, radicals and arrows from cmex10
69 \installfamily{OMX}{psycm}{}
70 \installfont{zpsycmrv}
71 {cmex10,psyr,zrvhax,cmex9 scaled 900}
72 {OMX}{OMX}{psycm}{m}{n}{}
73
74 \endinstallfonts
75 \end