Changes

Jump to navigation Jump to search
351 bytes added ,  04:39, 23 March 2012
m
Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}"
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\definehead<span class="first" >[...]</span><span class="second" >[...]</span><span class="third" >[...]</span></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[...]</td>
<td>name [[Command/value:IDENTIFIER|IDENTIFIER]] </td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[...]</td>
<td>section [[Command/value:IDENTIFIER|IDENTIFIER]] </td> </tr> <tr valign="top" class="third"> <td class="cmd">[...]</td> <td>inherits from [[Command/setuphead|\setuphead]] </td>
</tr>
</table>
 
== Description ==
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 third (optional) argument is for options.
Example:
align=middle]
</texcode>
 
== Example ==
== See also ==
<!-- something like [[{{cmd:goto|\goto]] }} --> == Help from ConTeXt-Mailinglist/Forum ==All issues with:{{Forum|{{SUBPAGENAME}}}}
[[Category:ReferenceCommand/enSections|definehead]]

Navigation menu