summaryrefslogtreecommitdiff
path: root/tex/context/base/font-cmr.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/font-cmr.tex')
-rw-r--r--tex/context/base/font-cmr.tex53
1 files changed, 50 insertions, 3 deletions
diff --git a/tex/context/base/font-cmr.tex b/tex/context/base/font-cmr.tex
index 30fef6e13..8927b08f2 100644
--- a/tex/context/base/font-cmr.tex
+++ b/tex/context/base/font-cmr.tex
@@ -8,7 +8,7 @@
%D copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
-%C therefore copyrighted by \PRAGMA. See licen-en.pdf for
+%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
%D The Computer Modern Roman is derived from the Monotype~8a
@@ -402,8 +402,8 @@
mi=cmmi10 at 4pt,
sy=cmsy10 at 4pt]
-%D We also define some large alternatives that can be used for
-%D titlepages and section headings.
+%D At the cost of some more memory we preload a few more
+%D fonts.
\definebodyfont [12pt] [rm]
[bfa=cmbx12 scaled \magstep1,
@@ -543,4 +543,51 @@
slc=cmsltt10 scaled \magstep3,
sld=cmsltt10 scaled \magstep4]
+%D Small is beautiful, but sometimes large is needed. We
+%D therefore define some rather large Computer Modern Roman
+%D bodyfont sizes, that can be used in for instance headings.
+
+%D We can use \type{sa} here because there are no genuine
+%D design 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 [14.4pt,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