Difference between revisions of "Command/setuphead"

From ConTeXt wiki
(Syntax)
(Syntax)
Line 195: Line 195:
 
   <tr valign="top" class="second">
 
   <tr valign="top" class="second">
 
     <td class="cmd">[[Reference/en/keyword:internalgrid|internalgrid]]</td>
 
     <td class="cmd">[[Reference/en/keyword:internalgrid|internalgrid]]</td>
     <td>[[Reference/en/value:normal|normal]] <td>[[Reference/en/value:standard|standard]] <td>[[Reference/en/value:yes|yes]] <td>[[Reference/en/value:strict|strict]] <td>[[Reference/en/value:tolerant|tolerant]] <td>[[Reference/en/value:top|top]] <td>[[Reference/en/value:bottom|bottom]] <td>[[Reference/en/value:both|both]] <td>[[Reference/en/value:broad|broad]] <td>[[Reference/en/value:fit|fit]] <td>[[Reference/en/value:first|first]] <td>[[Reference/en/value:last|last]] <td>[[Reference/en/value:high|high]] <td>[[Reference/en/value:low|low]] <td>[[Reference/en/value:line|line]] <td>[[Reference/en/value:strut|strut]] <td>[[Reference/en/value:max|max]] <td>[[Reference/en/value:min|min]] <td>[[Reference/en/value:IDENTIFIER|IDENTIFIER]] </td>
+
     <td>[[Reference/en/value:normal|normal]] [[Reference/en/value:standard|standard]] [[Reference/en/value:yes|yes]] [[Reference/en/value:strict|strict]] [[Reference/en/value:tolerant|tolerant]] [[Reference/en/value:top|top]] [[Reference/en/value:bottom|bottom]] [[Reference/en/value:both|both]] [[Reference/en/value:broad|broad]] [[Reference/en/value:fit|fit]] [[Reference/en/value:first|first]] [[Reference/en/value:last|last]] [[Reference/en/value:high|high]] [[Reference/en/value:low|low]] [[Reference/en/value:line|line]] [[Reference/en/value:strut|strut]] [[Reference/en/value:max|max]] [[Reference/en/value:min|min]] [[Reference/en/value:IDENTIFIER|IDENTIFIER]] </td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="second">
 
   <tr valign="top" class="second">

Revision as of 17:30, 19 June 2011

\setuphead

Syntax

\setuphead[...,...,...][...,...=...,...]
[...,...,...] section
default SECTION
section SECTION
coupling SECTION
sectionnumber yes no
textstyle normal bold slanted boldslanted type cap small... COMMAND
textcolor IDENTIFIER
numberstyle normal bold slanted boldslanted type cap small... COMMAND
numbercolor IDENTIFIER
style normal bold slanted boldslanted type cap small... COMMAND
color IDENTIFIER
beforesection COMMAND
aftersection COMMAND
prefix IDENTIFIER + -
incrementnumber yes no list file
placehead yes no empty hidden
alternative paragraph normal inmargin margin middle top bottom IDENTIFIER TEXT
expansion yes no xml COMMAND
xmlsetup IDENTIFIER
catcodes IDENTIFIER
sectionresetset IDENTIFIER
sectionseparatorset IDENTIFIER
sectionconversionset IDENTIFIER
conversion IDENTIFIER
sectionstarter TEXT
sectionstopper TEXT
sectionset IDENTIFIER
sectionsegments NUMBER NUMBER:NUMBER SECTION SECTION:SECTION
distance DIMENSION Space after head
before COMMAND
inbetween COMMAND
after COMMAND
page inherits from \page
marking page reset
number yes no
continue yes no
aligntitle yes no float
interlinespace inherits from \setupinterlinespace
ownnumber yes no
commandbefore COMMAND
commandafter COMMAND
deeptextcommand \...#1
numbercommand \...#1
deepnumbercommand \...#1
command \...#1#2
interaction list reference
internalgrid normal standard yes strict tolerant top bottom both broad fit first last high low line strut max min IDENTIFIER
align left right middle normal
hang none broad fit line number
margintext yes no
frontpartlabel name
bodypartlabel name
appendixlabel name
backpartlabel name
header none empty high nomarking
text none empty high nomarking
footer none empty high nomarking
textcommand oneargument
resetnumber yes no
file name
[...,...=...,...] 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