Difference between revisions of "Command/setuphead"

From ConTeXt wiki
(Syntax: typo)
(Undo revision 13005 by Mæstro (talk))
Line 74: Line 74:
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="second">
 
   <tr valign="top" class="second">
     <td class="cmd">[[Reference/en/keyword:appendixpartlabel|appendixpartlabel]]</td>
+
     <td class="cmd">[[Reference/en/keyword:appendixlabel|appendixlabel]]</td>
 
     <td>[[Reference/en/value:name|name]] </td>
 
     <td>[[Reference/en/value:name|name]] </td>
 
   </tr>
 
   </tr>

Revision as of 15:14, 22 April 2011

\setuphead

Syntax

\setuphead[...,...,...][...,...=...,...]
[...,...,...] section
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