summaryrefslogtreecommitdiff
path: root/tex/context/base/font-cmx.tex
blob: c4fd4649d4d3c142d21cf0f74c4d529b276c09b3 (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
%D \module
%D   [     file=font-cmx,
%D      version=1996.11.10,
%D        title=\CONTEXT\ Font Macros,
%D     subtitle=Large Computer Modern,
%D       author=J. Hagen,
%D         date=\currentdate,
%D    copyright=J. Hagen]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See licen-en.pdf for 
%C details. 

%D Small is beautiful, but sometimes large is needed. We 
%D therefore define some rather large Computer Modern Roman 
%D bodyfont sizes, that cna be used in for instance headings. 
%D 
%D First we define some bodyfont environments. This enables us 
%D to typeset lerge math. 

\unprotect

\definebodyfontenvironment
  [14.4pt]
  [        \s!text=14.4pt,
         \s!script=11pt, 
   \s!scriptscript=9pt, 
              \c!x=12pt,
             \c!xx=10pt,
          \c!groot=17.3pt,
          \c!klein=12pt]

\definebodyfontenvironment
  [17.3pt]
  [        \s!text=17.3pt,
         \s!script=12pt, 
   \s!scriptscript=10pt, 
              \c!x=14.4pt,
             \c!xx=12pt,
          \c!groot=20.7pt,
          \c!klein=14.4pt]

\definebodyfontenvironment
  [20.7pt]
  [        \s!text=20.7pt,
         \s!script=14.4pt, 
   \s!scriptscript=12pt, 
              \c!x=17.3pt,
             \c!xx=14.4pt,
          \c!groot=20.7pt,    % !!!!
          \c!klein=17.3pt]

\protect

%D We can use \type{sa} here because there are no genuine design
%D sizes larger than 12pt (exept from cmr17). 

\definebodyfont [14.4pt,17.3pt,20.7pt] [rm] 
  [tf=cmr12    sa 1,
   bf=cmbx12   sa 1,
   it=cmti12   sa 1,
   sl=cmsl12   sa 1,
   bi=cmbxti10 sa 1,
   bs=cmbxsl10 sa 1,
  tfa=cmr12    sa 1.200,
  tfb=cmr12    sa 1.440,
  tfc=cmr12    sa 1.728,
  tfd=cmr12    sa 2.074,
   sc=cmcsc10  sa 1.200]

\definebodyfont [14.4pt,17.3pt,20.7pt] [ss] 
  [tf=cmss12   sa 1,
   bf=cmssbx10 sa 1,
   it=cmssi12  sa 1,
   sl=cmssi12  sa 1,
   bi=cmssbx10 sa 1,
   bs=cmssbx10 sa 1,
  tfa=cmss12   sa 1.200,
  tfb=cmss12   sa 1.440,
  tfc=cmss12   sa 1.728,
  tfd=cmss12   sa 2.074,
   sc=cmss12   sa 1]

\definebodyfont [12pt,17.3pt,20.7pt] [tt] 
  [tf=cmtt12   sa 1,
   sl=cmsltt10 sa 1,
   it=cmitt10  sa 1,
  tfa=cmtt12   sa 1.200,
  tfb=cmtt12   sa 1.440,
  tfc=cmtt12   sa 1.728,
  tfd=cmtt12   sa 2.074]

\definebodyfont [14.4pt,17.3pt,20.7pt] [mm] 
  [ex=cmex10   sa 1,
   mi=cmmi12   sa 1,
   sy=cmsy10   sa 1]

\endinput