Command/definehead

From Wiki
< Command
Revision as of 12:37, 11 April 2010 by Maintenance script (talk) (Create reference page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Reference Cleanup

\definehead

Syntax

\definehead[...][...]
[...] name
[...] section


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 cmd: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.

Example:

\definehead [Title] [title]
\setuphead [Title]
   [textstyle=bfb,
   align=middle]


Example

See also