Changes

Jump to navigation Jump to search
321 bytes added ,  22:17, 21 May 2015
m
Numerical values vs dimensions for setupbodyfontenvironment
'''N.B.''': <code>scirpt</code> and <code>scriptsize</code> are used in math mode.
 It is also possible to set the scaling factors for specific font sizes. For example, if you want {{cmd|tfa}} to set the effective font size to 12pt when the bodyfont size is 10pt, and to set the effective font size to
14pt when the bodyfont size is 11pt, then add
<texcode>
\definebodyfontenvironment [11pt] [a=14pt]
</texcode>
 
'''Note:''' When the first parameter is <code>default</code>, the scaling factors ''must'' have numerical values. When the first parameter is a font size (e.g., <code>12pt</code>), the scaling factors can either be numerical value or a dimension.
 
{{cmd|definebodyfontenvironment}} is described in detail in
the ConTeXt manual and the [[source:font-ini.mkiv|font-ini]] source file.

Navigation menu