diff options
author | Marius <mariausol@gmail.com> | 2012-02-16 11:20:24 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-02-16 11:20:24 +0200 |
commit | e0e3ed2de96caf76d1065b834ddd4f9ba62a1e55 (patch) | |
tree | 077ac0ae3f821511a51bc2118a99f5ad62dae83b /tex/context/base/font-var.mkvi | |
parent | 620e890d8993f2a1120b5069f97b01ca1841f50f (diff) | |
download | context-e0e3ed2de96caf76d1065b834ddd4f9ba62a1e55.tar.gz |
beta 2012.02.16 09:55
Diffstat (limited to 'tex/context/base/font-var.mkvi')
-rw-r--r-- | tex/context/base/font-var.mkvi | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/tex/context/base/font-var.mkvi b/tex/context/base/font-var.mkvi new file mode 100644 index 000000000..e50c2bad4 --- /dev/null +++ b/tex/context/base/font-var.mkvi @@ -0,0 +1,53 @@ +%D \module +%D [ file=font-var, +%D version=2011.01.13, % (copied fron font-ini) +%D title=\CONTEXT\ Font Macros, +%D subtitle=Common Variables, +%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. + +\writestatus{loading}{ConTeXt Font Macros / Common Variables} + +\unprotect + +% some more will move here + +%D \macros +%D {fontstyle,fontalternative,fontsize,fontbody} +%D +%D Within a bodyfont, fonts can come in different sizes. For instance +%D \type {\tf} is accompanied by \type {\tfa}, \type {\tfb} etc. The +%D first two characters denote the alternative, while the third +%D character in these sequences represents the size. The actual size +%D is saved in a macro. The styles, being roman (\type {\rm}), sans +%D serif (\type {\ss}) etc. are also available in macros in \type {rm}, +%D \type {ss} etc. form. + +% fontclass % modern dejavu +% fontbody % ... 10pt 11pt 12pt ... +% fontstyle % rm ss tt mm hw cg ... +% fontalternative % tf bf sl it bs bi sc ... +% fontsize % a b c d ... +% fontface % 0=normal 1=text 2=script 3=scriptscript 4=x 5=xx (math are temporary) + +\def\normalizedbodyfontsize{12pt} + +\def\defaultfontbody {\normalizedbodyfontsize} +\let\defaultfontstyle \empty +\let\defaultfontalternative \s!tf +\let\defaultfontsize \empty + +\let\globalfontclass \empty +\let\fontclass \empty +\let\fontbody \defaultfontbody +\let\fontstyle \defaultfontstyle +\let\fontalternative \defaultfontalternative +\let\fontsize \defaultfontsize +\let\fontface \!!zerocount + +\protect \endinput |