Command/setmarking

From Wiki
< Command
Revision as of 12:54, 19 November 2021 by Taco (talk | contribs) (Created page with "Documentation for \setmarking")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


\setmarking

Summary

The command \setmarking is used to create mark texts.

Settings

\setmarking[...]{...}
[...]mark
{...}text

OptionExplanation
mark a mark class

Description

Sets a mark for use in (for example) headers and footers.

The mark class has to be defined using \definemarking, or one of the predefined mark classes for the sectioning commands: chapter, section, et cetera.

Examples

Example 1

\setuppapersize[A6,landscape]
\showframe
\setupheadertexts[{\getmarking[section]}]

\starttext

\setmarking[section]{Other Languages}

\input knuth

\stoptext

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: