Changes

Jump to navigation Jump to search
782 bytes added ,  22:51, 18 July 2012
Missing close parenthesis
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:sectionnumber|sectionnumber]]</td> <td>[[Reference/enCommand/value:yes|yes]] [[Reference/enCommand/value:number|number]] [[Reference/enCommand/value:no|no]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:alternative|alternative]]</td> <td>[[Reference/enCommand/value:normal|normal]] [[Reference/enCommand/value:margin|margin]] [[Reference/enCommand/value:middle|middle]] [[Reference/enCommand/value:text|text]] [[Reference/enCommand/value:paragraph|paragraph]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:separator|separator]]</td> <td>[[Reference/enCommand/value:text|text]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:stopper|stopper]]</td> <td>[[Reference/enCommand/value:text|text]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:align|align]]</td> <td>[[Reference/enCommand/value:leftflushleft|leftflushleft]] [[Reference/enCommand/value:rightflushright|rightflushright]] [[Reference/enCommand/value:normal|normal]] [[Reference/enCommand/value:broad|broad]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:aligntitle|aligntitle]]</td> <td>[[Reference/enCommand/value:yes|yes]] [[Reference/enCommand/value:float|float]] [[Reference/enCommand/value:no|no]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:tolerance|tolerance]]</td> <td>[[Reference/enCommand/value:verystrict|verystrict]] [[Reference/enCommand/value:strict|strict]] [[Reference/enCommand/value:tolerant|tolerant]] [[Reference/enCommand/value:verytolerant|verytolerant]] [[Reference/enCommand/value:stretch|stretch]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:indentnext|indentnext]]</td> <td>[[Reference/enCommand/value:yes|yes]] [[Reference/enCommand/value:no|no]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:command|command]]</td> <td>[[Reference/enCommand/value:twoarguments|twoarguments]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:margin|margin]]</td> <td>[[Reference/enCommand/value:dimension|dimension]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Command/keyword:insidesection|insidesection]]</td>
<td>[[Command/value:COMMAND|COMMAND]] </td>
</tr>
 
</table>
== Description ==
== Description == Note that this command has been reported non-working for some people (but it seems to work fine for me).
This command sets up the default options for all headings (e.g., the stuff generated by \{{cmd|section}}, \{{cmd|subsection}}, etc.). The [[{{cmd:|setuphead]] }} command can be used to override these settings on a per-level basis (e.g., only for \{{cmd|section}}) and has some extra options as well.
{{code|1=aligntitle=float }} causes the title to appear next to floats. By default, a title will be moved down to appear below a float, it will not be "wrapppedwrapped" around a float like normal text. Setting this option causes it to wrap like normal text.
The {{code|insidesection}} command is injected right after the {{code|after}} command of {{code|\setuphead}}. It can be used for example to insert a table of contents local to a chapter. {{code|insidesection}} only works with {{code|\startchapter}}, {{code|\startsection}} and company, not with {{cmd|chapter}}, {{cmd|section}}, and co.
== Example ==
<!-- Please fill in an example if you can Table of contents local to a chapter. (Result not shown here because the wiki's installation of ConTeXt is out-of-date.) <texcode>\setuphead [chapter] [after={\blank[1cm]}, insidesection=\placecontent] \starttext \startchapter [title=Foo] \startsection [title=Zapf] \input zapf \stopsection \startsection [title=Knuth] \input knuth \stopsection\stopchapter \stoptext</texcode>
== See also ==
<!-- something like [[{{cmd:goto|\goto]] }} --> == Help from ConTeXt-Mailinglist/Forum ==All issues with:{{Forum|{{SUBPAGENAME}}}}
[[Category:ReferenceCommand/enSections|setupheads]]

Navigation menu