Command/definestyle

From Wiki
Jump to navigation Jump to search


\definestyle

Summary

The command \definestyle is used to define a custom text style.

Settings

\definestyle[...][...][...=...,...]
[...]name
[...]name
...=...,...inherits from \setupstyle

OptionExplanation
name of new style
parent style (inheritance)
\definestyle[MyStyle][method=command] also creates a command \MyStyle, otherwise you can use the new style only in style assignments.

Description

Examples

from the source

\definestyle[one][style=bold,color=darkblue]

test \one{test} test

test \style[one]{test} test

test \style[color=red]{test} test

test \style[Serif at 20pt]{test} test

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: