summaryrefslogtreecommitdiff
path: root/tex/context/base/mkii/syst-fnt.mkii
blob: 5669475a6340852d13f09b5e9c78ed2ce4c4863c (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
%D \module
%D   [       file=syst-fnt,
%D        version=2006.08.11,
%D          title=\CONTEXT\ System Macros,
%D       subtitle=Font Things,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

% formal names cf the tb \& tbt

\unprotect

\def\fontslantperpoint   {\fontdimen\plusone  }
\def\fontinterwordspace  {\fontdimen\plustwo  }
\def\fontinterwordstretch{\fontdimen\plusthree}
\def\fontinterwordshrink {\fontdimen\plusfour }
\def\fontexheight        {\fontdimen\plusfive }
\def\fontemwidth         {\fontdimen\plussix  }
\def\fontextraspace      {\fontdimen\plusseven}

\def\slantperpoint       {\fontdimen\plusone  \font}
\def\interwordspace      {\fontdimen\plustwo  \font}
\def\interwordstretch    {\fontdimen\plusthree\font}
\def\interwordshrink     {\fontdimen\plusfour \font}
\def\exheight            {\fontdimen\plusfive \font}
\def\emwidth             {\fontdimen\plussix  \font}
\def\extraspace          {\fontdimen\plusseven\font}

\def\mathsupdisplay      {\fontdimen13 }
\def\mathsupnormal       {\fontdimen14 }
\def\mathsupcramped      {\fontdimen15 }
\def\mathsubnormal       {\fontdimen16 }
\def\mathsubcombined     {\fontdimen17 }
\def\mathaxisheight      {\fontdimen22 }

\def\currentspaceskip    {\interwordspace\!!plus\interwordstretch\!!minus\interwordshrink\relax}

\def\mathstacktotal      {\dimexpr\fontdimen10\scriptfont\plustwo+\fontdimen12\scriptfont\plustwo\relax}
\def\mathstackvgap       {\plusthree\fontdimen8\scriptfont\plusthree}

\protect \endinput