summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/third/urwgaramond/type-urwgaramond.tex
blob: dd0b14c584d78219888216ffb3d579ae48b44276 (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
76
77
78
79
80
81
82
83
84
% raw fonts

\starttypescript[serif] [garamond] [texnansi]

\definefontsynonym[Garamond] [ugmr8a] [encoding=texnansi]
\definefontsynonym[GaramondItalic] [ugmri8a] [encoding=texnansi]
\definefontsynonym[GaramondBold] [ugmm8a] [encoding=texnansi]
\definefontsynonym[GaramondBoldItalic][ugmmi8a] [encoding=texnansi]

\stoptypescript

% names

\starttypescript [serif] [garamond] [name]

\setups[font:fallback:serif]

\definefontsynonym[Serif] [Garamond]
\definefontsynonym[SerifBold] [Garamond-Bold]
\definefontsynonym[SerifItalic] [Garamond-Italic]
\definefontsynonym[SerifBoldItalic][Garamond-BoldItalic]

\stoptypescript

% synonyms

\starttypescript [serif] [garamond] [texnansi]

\definefontsynonym [Garamond]
[\typescriptthree-ugmr8a]
[encoding=\typescriptthree]

\definefontsynonym [Garamond-Italic]
[\typescriptthree-ugmri8a]
[encoding=\typescriptthree]

\definefontsynonym [Garamond-Bold]
[\typescriptthree-ugmm8a]
[encoding=\typescriptthree]

\definefontsynonym [Garamond-BoldItalic]
[\typescriptthree-ugmmi8a]
[encoding=\typescriptthree]

\stoptypescript

% maps

\starttypescript [map] [garamond] [texnansi]

\loadmapfile[texnansi-urw-garamond.map]

\stoptypescript%

% typefaces

\starttypescript [URWGaramond]

\definebodyfontenvironment
  [urwgaramond]
  [default]
  [interlinespace=2.8ex]

\definetypeface [urwgaramond]
[rm] [serif] [garamond] [default]
[encoding=texnansi]

\definetypeface [urwgaramond]
[ss] [sans] [helvetica] [default]
[encoding=texnansi]

\definetypeface [urwgaramond]
[mm] [math] [palatino] [default]
[encoding=texnansi]

\definetypeface [urwgaramond]
[tt] [mono] [modern] [default]
[encoding=texnansi]

\stoptypescript

%%% Local Variables: 
%%% mode: context
%%% End: