Debian Codegraph @

texmf-dist/doc/fonts/fontinst/examples/mathptmx/fontptcmx.tex

raw
1 %%% ====================================================================
2 %%% @TeX-file{
3 %%% author = "Alan Jeffrey and Sebastian Rathz and
4 %%% Ulrik Vieth",
5 %%% version = "1.802",
6 %%% date = "01 July 1998",
7 %%% time = "10:57:48 MET DST",
8 %%% filename = "fontzcmtmx.tex",
9 %%% email = "[email protected]",
10 %%% URL = "http://www.thphy.uni-duesseldorf.de/~vieth/",
11 %%% checksum = "49508 76 251 3044",
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,
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, RSFS and CM math.
30
31 \input fontinst.sty
32
33 \needsfontinstversion{1.800}
34
35 \declareencoding{RAS SCRIPT}{rsfs}
36
37 \installfonts
38 \transformfont{ptmr8r} {\reencodefont{8r}{\fromafm{ptmr8a}}}
39 \transformfont{ptmri8r}{\reencodefont{8r}{\fromafm{ptmri8a}}}
40 \transformfont{psyro} {\slantfont{167}{\fromafm{psyr}}}
41
42 % OT1: Latin and digits from Times-Roman, Greek from Symbol,
43 % accents and punctuation from Times, delimiters from cmr10
44 \installfamily{OT1}{ztmcm}{}
45 \installfont{zptmcm7t}
46 {ptmr8r,psyr,resetsy,latin,%
47 zrhax,kernoff,cmr10,kernon}
48 {OT1}{OT1}{ztmcm}{m}{n}{}
49
50 % OML: Latin from Times-Italic, Greek from Symbol (oblique),
51 % operators, delimiters and puctuation from cmmi10
52 \installfamily{OML}{ztmcm}{\skewchar\font=127}
53 \installfont{zptmcm7m}
54 {ptmri8r,unsetmu,psyro,resetsy,%
55 zrmhax,kernoff,cmmi10,kernon,%
56 mathit,zrmkernx}
57 {OML}{OML}{ztmcm}{m}{it}{}
58
59 % OMS: Humanist symbols from Times-Roman and Symbol,
60 % Script alphabet from Ralph Smith's Formal Script,
61 % operators, delimiters and arrows from cmsy10
62 \installfamily{OMS}{ztmcm}{\skewchar\font=48}
63 \installfont{zptmcm7y}
64 {kernoff,cmsy10,kernon,zryhax,ptmr8r,psyr,%
65 unsetalf,rsfs10,zrykernx,mathsy}
66 {OMS}{OMS}{ztmcm}{m}{n}{}
67
68 % OMX: summation and product from psyr, bigops from scaled cmex10,
69 % delimiters, radicals and arrows from cmex10
70 \installfamily{OMX}{ztmcm}{}
71 \installfont{zptmcm7v}
72 {cmex10,psyr,zrvhax,cmex10 scaled 900}
73 {OMX}{OMX}{ztmcm}{m}{n}{}
74
75 \endinstallfonts
76 \end