Command/setuphead
Jump to navigation
Jump to search
\setuphead
Syntax
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
\setuppapersize[A5] \setuplabeltext[chapter=CHAPTER~] \setuphead[chapter][ header=empty, alternative=middle, style=bold, numbercommand=\groupedcommand{}{\blank[2cm]}, after={\blank[3cm]}, ] \starttext \chapter{Title of chapter} The first paragraph begins 3 cm below the title. In this chapter, we will discuss... \stoptext
produces
\setupheadnumber[section] [8] \setupheadnumber[subsection] [3] \setupheadnumber[subsubsection][5] \setuphead[section,subsection][placehead=hidden] \setuphead[subsubsection] [placehead=yes] \starttext \section{} % hidden 8th section \subsection{} % hidden 3rd section \subsubsection{This is complete numbering of subsubsection} % view 9.4.6 subsubsection \stoptext
produces
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: