Contents
Summary
The command \definehead is used to define a new section variant.
Settings
Description
Used to define a new head (such as title, subject etc.). The idea is you can create a
MySubject
that derives it’s defaults from
subject
and then customize
MySubject
without being concerned with overriding
subject
. Use with
\setuphead
.
The first argument is the name of your new head. The second argument is the name of the head from which yours ought to be derived. The third (optional) argument is for options.
You can’t introduce a new level this way, like “between chapter and section”, a defined head is always on the level of an existing one.
Examples
Example 1
\definehead [Title] [title] \setuphead [Title] [textstyle=bfb, align=middle]