Difference between revisions of "Command/definehead"
< Command
Jump to navigation
Jump to search
m (Text replace - "ConTeXt-Forum " to "Help from ConTeXt-Forum ") |
m (Text replace - "== Help from ConTeXt-Forum ==" to "== Help from ConTeXt-Forum == All issues with:") |
||
Line 44: | Line 44: | ||
== Help from ConTeXt-Forum == | == Help from ConTeXt-Forum == | ||
+ | All issues with: | ||
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
[[Category:Commands|definehead]] | [[Category:Commands|definehead]] |
Revision as of 14:39, 16 March 2012
\definehead
Syntax
\definehead[...][...][...] | |
[...] | IDENTIFIER |
[...] | IDENTIFIER |
[...] | inherits from \setuphead |
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.
Example:
\definehead [Title] [title] \setuphead [Title] [textstyle=bfb, align=middle]
Example
See also
Help from ConTeXt-Forum
All issues with: