Difference between revisions of "Command/definebodyfontenvironment"

From ConTeXt wiki
m (Added "interlinespace" keyword.)
Line 4: Line 4:
 
}}
 
}}
  
 +
== [[Help:Reference|Syntax]] (autogenerated)] ==
 +
<syntax>definebodyfontenvironment</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">

Revision as of 02:00, 13 October 2019

\definebodyfontenvironment

Syntax (autogenerated)]

\definebodyfontenvironment[...][...][...=...,...]
[...]name
[...]default dimension
bigdimension number
smalldimension number
adimension number
bdimension number
cdimension number
ddimension number
textdimension number
xdimension number
xxdimension number
scriptdimension number
scriptscriptdimension number
interlinespacedimension
emslanted italic style command
*number


Syntax

\definebodyfontenvironment[...][...,...=...,...]
[...] 5pt ... 12pt default
text dimension
script dimension
scriptscript dimension
x dimension
xx dimension
small dimension
big dimension
interlinespace dimension


Description

This command also accepts a keyword for each defined fontsize (a .. d, usually).

Example

Set up font scaling for [tf]a-[tf]d

\definefontsize[e]

\definebodyfontenvironment
  [default]
  [b=4,e=10]

This will be {\tfb really} {\bfe Huge}

yields

Instead of default you can also specify the fontsize you're working with.

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: