Command/setuphead

From ConTeXt wiki
< Command
Revision as of 14:44, 19 June 2011 by Mathieudupont (talk | contribs) (Syntax)

\setuphead

Syntax

\setuphead[...,...,...][...,...=...,...]
[...,...,...] section
default SECTION
section SECTION
coupling SECTION
sectionnumber yes no
numbercolor IDENTIFIER
style normal bold slanted boldslanted type cap small... command
textstyle normal bold slanted boldslanted type cap small... command
numberstyle normal bold slanted boldslanted type cap small... command
color name
textcolor name
numbercolor name
number yes no
ownnumber yes no
page left right yes
continue yes no
header none empty high nomarking
text none empty high nomarking
footer none empty high nomarking
frontpartlabel name
bodypartlabel name
appendixlabel name
backpartlabel name
before command
inbetween command
after command
alternative normal inmargin middle text
hang none broad fit line number
command twoarguments
numbercommand oneargument
textcommand oneargument
deepnumbercommand oneargument
deeptextcommand oneargument
prefix + - text
placehead yes no empty
incrementnumber yes no list file
resetnumber yes no
file name
expansion yes no command
margintext yes no
distance Space after head
align left right middle normal
[...,...=...,...] see \setupheads

Description

  • style: See manual "Context: an excursion" section 31.3 Style and size switch in commands, e.g. for large, bold, sans serif section headers use 'style=\tfa\bf\ss'.
  • page
    • yes: The section header must be on the top of a new page
    • left: The section header must be on the top of an even page
    • right: The section header must be on the top of an odd page
  • continue
    • yes: If the section immeadiately follows a chapter it will be on the same page even though page=yes.
    • no: If the section immeadiately follows a chapter it will start on a new page.
  • header/footer: Set a particular header style, see \setupheader.


Example

See also