type-siz.mkiv /size: 4730 b    last modification: 2020-07-01 14:35
1%D \module
2%D   [       file=type-siz,
3%D        version=2001.04.12,
4%D          title=\CONTEXT\ Typescript Macros,
5%D       subtitle=Sizing scripts,
6%D         author=Hans Hagen,
7%D           date=\currentdate,
8%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9%C
10%C This module is part of the \CONTEXT\ macro||package and is
11%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12%C details.
13
14\unprotect
15
16% beware: no \s! before keys as these are interpreted
17
18\starttypescriptcollection[\s!size]
19
20\starttypescript [\s!serif] [\s!default] [\s!size]
21  \definebodyfont
22    [4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt]
23    [\s!rm] [\s!default]
24\stoptypescript
25
26\starttypescript [\s!sans] [\s!default] [\s!size]
27  \definebodyfont
28    [4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt]
29    [\s!ss] [\s!default]
30\stoptypescript
31
32\starttypescript [\s!mono] [\s!default] [\s!size]
33  \definebodyfont
34    [4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt]
35    [\s!tt] [\s!default]
36\stoptypescript
37
38\starttypescript [\s!math] [\s!default] [\s!size]
39  \definebodyfont
40    [4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt]
41    [\s!mm] [\s!default]
42\stoptypescript
43
44\starttypescript [\s!handwriting] [\s!default] [\s!size]
45  \definebodyfont
46    [4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt]
47    [\s!hw] [\s!default]
48\stoptypescript
49
50\starttypescript [\s!calligraphy] [\s!default] [\s!size]
51  \definebodyfont
52    [4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt]
53    [\s!cg] [\s!default]
54\stoptypescript
55
56\starttypescript [\s!casual] [\s!default] [\s!size]
57  \definebodyfont
58    [4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt]
59    [\s!rm] [\s!default]
60\stoptypescript
61
62\starttypescript [\s!all] [\s!dtp] [\s!size]
63
64  \definebodyfontenvironment
65    [4pt]
66    [\s!text=4pt,\s!script=4pt,\s!scriptscript=4pt,
67     \s!x=4pt,\s!xx=4pt,\v!big=6pt,\v!small=4pt]
68
69  \definebodyfontenvironment
70    [5pt]
71    [\s!text=5pt,\s!script=5pt,\s!scriptscript=5pt,
72     \s!x=5pt,\s!xx=5pt,\v!big=7pt,\v!small=5pt]
73
74  \definebodyfontenvironment
75    [6pt]
76    [\s!text=6pt,\s!script=5pt,\s!scriptscript=5pt,
77     \s!x=5pt,\s!xx=5pt,\v!big=8pt,\v!small=5pt]
78
79  \definebodyfontenvironment
80    [7pt]
81    [\s!text=7pt,\s!script=6pt,\s!scriptscript=5pt,
82     \s!x=6pt,\s!xx=5pt,\v!big=9pt,\v!small=5pt]
83
84  \definebodyfontenvironment
85    [8pt]
86    [\s!text=8pt,\s!script=6pt,\s!scriptscript=5pt,
87     \s!x=6pt,\s!xx=5pt,\v!big=10pt,\v!small=6pt]
88
89  \definebodyfontenvironment
90    [9pt]
91    [\s!text=9pt,\s!script=7pt,\s!scriptscript=5pt,
92     \s!x=7pt,\s!xx=5pt,\v!big=11pt,\v!small=7pt]
93
94  \definebodyfontenvironment
95    [10pt]
96    [\s!text=10pt,\s!script=7pt,\s!scriptscript=5pt,
97     \s!x=8pt,\s!xx=6pt,\v!big=12pt,\v!small=8pt]
98
99  \definebodyfontenvironment
100    [11pt]
101    [\s!text=11pt,\s!script=8pt,\s!scriptscript=6pt,
102     \s!x=9pt,\s!xx=7pt,\v!big=13pt,\v!small=9pt]
103
104  \definebodyfontenvironment
105    [12pt]
106    [\s!text=12pt,\s!script=9pt,\s!scriptscript=7pt,
107     \s!x=10pt,\s!xx=8pt,\v!big=14pt,\v!small=10pt]
108
109  \definebodyfontenvironment
110    [13pt]
111    [\s!text=13pt,\s!script=10pt,\s!scriptscript=8pt,
112     \s!x=11pt,\s!xx=9pt,\v!big=16pt,\v!small=11pt]
113
114  \definebodyfontenvironment
115    [14pt]
116    [\s!text=14pt,\s!script=10pt,\s!scriptscript=7pt,
117     \s!x=12pt,\s!xx=10pt,\v!big=16pt,\v!small=12pt]
118
119  \definebodyfontenvironment
120    [16pt]
121    [\s!text=16pt,\s!script=12pt,\s!scriptscript=9pt,
122     \s!x=13pt,\s!xx=11pt,\v!big=18pt,\v!small=14pt]
123
124  % suboptimal math sizes
125
126  \definebodyfontenvironment
127    [18pt]
128    [\s!text=18pt,\s!script=16pt,\s!scriptscript=14pt,
129     \s!x=16pt,\s!xx=14pt,\v!big=22pt,\v!small=16pt]
130
131  \definebodyfontenvironment
132    [22pt]
133    [\s!text=22pt,\s!script=22pt,\s!scriptscript=18pt,
134     \s!x=18pt,\s!xx=16pt,\v!big=28pt,\v!small=18pt]
135
136  \definebodyfontenvironment
137    [28pt]
138    [\s!text=28pt,\s!script=22pt,\s!scriptscript=18pt,
139     \s!x=22pt,\s!xx=18pt,\v!big=28pt,\v!small=22pt]
140
141\stoptypescript
142
143\starttypescript [\s!serif] [\s!dtp] [\s!size]
144  \definebodyfont
145    [5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,13pt,14pt,16pt,18pt,22pt,28pt]
146    [\s!rm] [\s!default]
147\stoptypescript
148
149\starttypescript [\s!sans] [\s!dtp] [\s!size]
150  \definebodyfont
151    [5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,13pt,14pt,16pt,18pt,22pt,28pt]
152    [\s!ss] [\s!default]
153\stoptypescript
154
155\starttypescript [\s!mono] [\s!dtp] [\s!size]
156  \definebodyfont
157    [5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,13pt,14pt,16pt,18pt,22pt,28pt]
158    [\s!tt] [\s!default]
159\stoptypescript
160
161\starttypescript [\s!math] [\s!dtp] [\s!size]
162  \definebodyfont
163    [5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,13pt,14pt,16pt,18pt,22pt,28pt]
164    [\s!mm] [\s!default]
165\stoptypescript
166
167\stoptypescriptcollection
168
169\protect \endinput
170