Command/setmarking

From Wiki
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: