Command/definestyle
< Command
Jump to navigation
Jump to search
Contents
\definestyle
Summary
The command \definestyle is used to define a custom text style.
Settings
\definestyle[...][...][...=...,...] | |
[...] | name |
[...] | name |
...=...,... | inherits from \setupstyle |
Option | Explanation |
---|---|
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