Changes

Jump to navigation Jump to search
865 bytes added ,  19:28, 13 January 2020
no edit summary
|attributes=
}}
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>setupheads</syntax>
== [[Help:Reference|Syntax]] ==
 
<!--
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
</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">[[Command/keyword:alternative|alternative]]</td> <td>[[Command/value:normal|normal]] [[Command/value:margin|margin]] [[Command/value:middle|middle]] [[Command/value:text|text]] [[Command/value:paragraph|paragraph]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:alternativeseparator|alternativeseparator]]</td> <td>[[Reference/en/value:normal|normal]] [[Reference/en/value:margin|margin]] [[Reference/en/value:middle|middle]] [[Reference/enCommand/value:text|text]] [[Reference/en/value:paragraph|paragraph]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:separatorstopper|separatorstopper]]</td> <td>[[Reference/enCommand/value:text|text]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:stopperalign|stopperalign]]</td> <td>[[ReferenceCommand/value:flushleft|flushleft]] [[Command/value:flushright|flushright]] [[Command/envalue:normal|normal]] [[Command/value:textbroad|textbroad]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:alignaligntitle|alignaligntitle]]</td> <td>[[Reference/enCommand/value:leftyes|leftyes]] [[Reference/enCommand/value:rightfloat|rightfloat]] [[Reference/en/value:normal|normal]] [[Reference/enCommand/value:broadno|broadno]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:aligntitletolerance|aligntitletolerance]]</td> <td>[[ReferenceCommand/envalue:verystrict|verystrict]] [[Command/value:yesstrict|yesstrict]] [[ReferenceCommand/envalue:tolerant|tolerant]] [[Command/value:floatverytolerant|floatverytolerant]] [[Reference/enCommand/value:nostretch|nostretch]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:toleranceindentnext|toleranceindentnext]]</td> <td>[[Reference/en/value:verystrict|verystrict]] [[Reference/en/value:strict|strict]] [[Reference/enCommand/value:tolerantyes|tolerantyes]] [[Reference/en/value:verytolerant|verytolerant]] [[Reference/enCommand/value:stretchno|stretchno]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:indentnextcommand|indentnextcommand]]</td> <td>[[Reference/en/value:yes|yes]] [[Reference/enCommand/value:notwoarguments|notwoarguments]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:commandmargin|commandmargin]]</td> <td>[[Reference/enCommand/value:twoargumentsdimension|twoargumentsdimension]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:margininsidesection|margininsidesection]]</td> <td>[[Reference/enCommand/value:dimensionCOMMAND|dimensionCOMMAND]] </td>
</tr>
</table>
-->
== Description ==
== Description == Note that this command has been reported non-working for some people . (but it seems to Long ago. It ''should'' 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