Difference between revisions of "Command/definehead"
< Command
Jump to navigation
Jump to search
(9 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>definehead</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
Line 11: | Line 14: | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
<td class="cmd">[...]</td> | <td class="cmd">[...]</td> | ||
− | <td>[[ | + | <td>[[Command/value:IDENTIFIER|IDENTIFIER]] </td> |
</tr> | </tr> | ||
<tr valign="top" class="second"> | <tr valign="top" class="second"> | ||
<td class="cmd">[...]</td> | <td class="cmd">[...]</td> | ||
− | <td>[[ | + | <td>[[Command/value:IDENTIFIER|IDENTIFIER]] </td> |
</tr> | </tr> | ||
<tr valign="top" class="third"> | <tr valign="top" class="third"> | ||
<td class="cmd">[...]</td> | <td class="cmd">[...]</td> | ||
− | <td>inherits from [[ | + | <td>inherits from [[Command/setuphead|\setuphead]] </td> |
</tr> | </tr> | ||
</table> | </table> | ||
== Description == | == 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 | + | 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}}. |
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. | 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. | ||
Line 41: | Line 44: | ||
== See also == | == See also == | ||
− | <!-- something like | + | <!-- something like {{cmd|goto}} --> |
+ | |||
+ | == Help from ConTeXt-Mailinglist/Forum == | ||
+ | All issues with: | ||
+ | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/Sections|definehead]] |
Latest revision as of 19:24, 13 January 2020
\definehead
Syntax (autogenerated)
\definehead[...][...][...=...,...] | |
[...] | name |
[...] | section |
...=...,... | inherits from \setuphead |
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-Mailinglist/Forum
All issues with: