Command/setuppagenumbering

From Wiki
Jump to navigation Jump to search


\setuppagenumbering

Summary

The command \setuppagenumbering is used to configure the pagination (style and location).

Settings

\setuppagenumbering[...=...,...]
alternativesinglesided doublesided
pagesee \page
strutyes no
commandoneargument
leftcommand
rightcommand
statestart stop
widthdimension
locationheader footer left middle right inleft inright margin inmargin atmargin marginedge none
stylestyle command
colorcolor

OptionExplanation
alternative
singlesided all pages look like configured in \setuplayout
doublesided “left” pages are mirrored from the setup
location
placement of the pagina; set to empty to hide it

Description

To remove page numbering entirely, set an empty location: \setuppagenumbering[location=]

Note: Configure page number conversion (Roman or other numbers) in \setupuserpagenumber.

Examples

Pagina in brackets

\setuppapersize[A10]
\setuppagenumbering[left={[},right={]}]
\showframe[edge]

\starttext
Default page number location and style.
\stoptext

Custom location and style

\setuppapersize[A10]
\setuppagenumbering[location={footer,middle},style=\bfc,color=red]
\showframe[edge]

\starttext
Custom page number location and style.
\stoptext

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: