Command/definebodyfontenvironment

From Wiki
Jump to navigation Jump to search

\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


  • small is e.g. used for footnotes.
  • script and scriptscript are used for math.

Description

Setup related font sizes.

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: