Difference between revisions of "Command/setupheads"

From Wiki
Jump to navigation Jump to search
m (Text replace - "== Help from ConTeXt-Forum ==" to "== Help from ConTeXt-Mailinglist/Forum ==")
m (add Category Command/Sections)
Line 54: Line 54:
 
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 (but it seems to work fine for me).
  
This command sets up the default options for all headings (e.g., the stuff generated by \section, \subsection, etc.). The [[cmd:setuphead]] command can be used to override these settings on a per-level basis (e.g., only for \section) and has some extra options as well.
+
This command sets up the default options for all headings (e.g., the stuff generated by [[cmd:section|\section]], [[cmd:subsection|\subsection]], etc.). The [[cmd:setuphead|\setuphead]] command can be used to override these settings on a per-level basis (e.g., only for \section) and has some extra options as well.
  
 
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.
 
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.
Line 68: Line 68:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Commands|setupheads]]
+
[[Category:Command/Sections|setupheads]]

Revision as of 03:23, 21 March 2012

\setupheads

Syntax

\setupheads[...,...=...,...]
sectionnumber yes number no
alternative normal margin middle text paragraph
separator text
stopper text
align flushleft flushright normal broad
aligntitle yes float no
tolerance verystrict strict tolerant verytolerant stretch
indentnext yes no
command twoarguments
margin dimension

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 \section, \subsection, etc.). The \setuphead command can be used to override these settings on a per-level basis (e.g., only for \section) and has some extra options as well.

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.

Example

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: