Difference between revisions of "Command/setuppagenumbering"

From ConTeXt wiki
(add reference to setuppagenumber)
 
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>setuppagenumbering</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Latest revision as of 16:12, 12 November 2019

\setuppagenumbering

Syntax (autogenerated)

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


Syntax

\setuppagenumbering[...,...=...,...]
alternative singlesided doublesided
location {header, middle}

header footer

left middle right margin marginedge inleft inright
conversion numbers characters Characters romannumerals Romannumerals
style normal bold slanted boldslanted type cap small smallbold ... command
left text
right text
way bytext bysection bypart
text text
numberseparator text
textseparator \tskip text
sectionnumber yes no
separator text
prefix yes no
prefixset part chapter section ...
prefixconnector \endash text
state start stop
width dimension
strut yes no
command oneargument


Description

sectionnumber: (partnumber|chapternumber|sectionnumber|...)
  yes -> show also 'sectionnumber' before page number
  example: partnumber=yes,chapternumber=no => 1 - 8 (part=1, page=8)

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

Note: Page number conversion (at least) is no longer set by this command in MkIV! Instead, see \setupuserpagenumber.

Example

\setuppapersize[A10]
\setuppagenumbering[location={footer,middle},style=\bfc]

\showframe[edge]

Page number location and style changed.

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: