Difference between revisions of "Command/setuphead"

From Wiki
Jump to navigation Jump to search
Line 153: Line 153:
 
     </cd:parameter>
 
     </cd:parameter>
 
     <cd:parameter name="page">
 
     <cd:parameter name="page">
       <cd:paramdoc></cd:paramdoc>
+
       <cd:paramdoc>- 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</cd:paramdoc>
 
       <cd:inherit name="page"></cd:inherit>
 
       <cd:inherit name="page"></cd:inherit>
 
     </cd:parameter>
 
     </cd:parameter>

Revision as of 17:21, 30 January 2021


\setuphead

Summary

Former wiki page Command_old/setuphead is under migration to ConTeXtXML extension Command#Pre-existing_pages

Settings

\setuphead[...,...][...=...,...]
[...,...]section
frontpartlabelname
bodypartlabelname
appendixlabelname
backpartlabelname
expansionyes no xml
catcodesname
sectionresetsetname
sectionseparatorsetname
sectionconversionsetname
conversionname
sectionstartercommand processor->command
sectionstoppercommand processor->command
sectionsetname
sectionsegmentsnumber number:number number:* number:all section section:section section:* section:all current
referenceprefix+ - text
stylestyle command
colorcolor
textstylestyle command
textcolorcolor
numberstylestyle command
numbercolorcolor
couplingsection
ownnumberyes no
beforesectioncommand
aftersectioncommand
insidesectioncommand
incrementnumberyes no list empty
placeheadyes no hidden empty section
numberyes no
pagesee \page
markingpage reset
headerstart stop high none normal empty nomarking name
textstart stop high none normal empty nomarking name
footerstart stop high none normal empty nomarking name
beforecommand
aftercommand
inbetweencommand
continueyes no
aligntitleyes no float
interlinespacename
interactionlist reference
internalgridname
gridnormal standard yes strict tolerant top bottom both broad fit first last high one low none line strut box min max middle math math:line math:halfline math:-line math:-halfline name
alignsee \setupalign
tolerancesee \setuptolerance
strutyes no
hangline broad fit none number
margindimension
indentnextyes no auto
alternativetext paragraph normal margin inmargin top middle bottom reverse margintext name
widthdimension
numberwidthdimension
textwidthdimension
distancedimension
textdistancedimension
commandbeforecommand
commandaftercommand
commandtwoarguments
textcommandoneargument
deeptextcommandoneargument
numbercommandoneargument
deepnumbercommandoneargument
locationname
criteriumstrict positive all
hidenumberyes no

OptionExplanation
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

Description

Examples

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: