Difference between revisions of "Command/definehead"
< Command
Jump to navigation
Jump to search
(Create reference page) |
m (cleanup) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
{{Reference | {{Reference | ||
|name=definehead | |name=definehead | ||
Line 23: | Line 21: | ||
== Description == | == Description == | ||
− | Used to define a new head (such as title, subject etc.). The idea is you can create a < | + | Used to define a new head (such as title, subject etc.). The idea is you can create a <tt>MySubject</tt> that derives it's defaults from <tt>subject</tt> and then customize MySubject without being concerned with overriding subject. Use with [[cmd:setuphead|\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 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. |
Revision as of 17:27, 11 April 2010
\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 \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]