Changes

Jump to navigation Jump to search
137 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>
<td>[[Command/value:COMMAND|COMMAND]] </td>
</tr>
 
</table>
-->
== Description ==
Note that this command has been reported non-working for some people (but it seems to work fine for me).
Note that this command has been reported non-working for some people. (Long ago. It ''should'' work.) 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 "wrapped" around a float like normal text. Setting this option causes it to wrap like normal text.
The <{{code>|insidesection</code> }} command is injected right after the <{{code>|after</code> }} command of <{{code>|\setuphead</code>}}. It can be used for example to insert a table of contents local to a chapter. <{{code>|insidesection</code> }} only works with the <{{code>|\startchapter}}, {{code|\startsection, …</code> variants}} and company, not with <code>\{{cmd|chapter}}, \{{cmd|section}}, …</code>and co.
== Example ==
Table of contents local to a chapter:. (Result not shown here because the wiki's installation of ConTeXt is out-of-date.)
<texcode>

Navigation menu