Changes

Jump to navigation Jump to search
1,116 bytes added ,  00:56, 26 August 2023
m
< [[Basics]] |
 
= Headers with centered content =
The following file gives a way to achieve marginal and centered headings for doublesided documents. Experiment to achieve other effects!
<texcodecontext source="yes">
% output=pdf interface=en
\stoptext
</texcodecontext>
= Skipping headers or footers =
</texcode>
= Helpful tricks Examples == Nice classic design == <context source="yes"> \startsetups [footer:leftpage] \prefixedpagenumber \space \undepthed{\blackrule [ width=\linewidth, height=\strutht, depth=\dimexpr\footerheight+\bottomspace\relax, ]} \space \labeltext{chapter} \getmarking[chapternumber]\stopsetups \startsetups [footer:rightpage] \getmarking[chapter] \space \undepthed{\blackrule [ width=\linewidth, height=\strutht, depth=\dimexpr\footerheight+\bottomspace\relax, ]} \space \prefixedpagenumber\stopsetups \setuplabeltext [en] [chapter=Chapter] \setuphead [chapter] [bodypartlabel=] \setupfootertexts [] [\directsetup{footer:rightpage}] [\directsetup{footer:leftpage}] [] \setuppagenumbering [alternative=doublesided] \starttext \startchapter [title=First chapter] \dorecurse{10}{\input knuth}\stopchapter
* \startchapter [[Page numbering in words]title=Second chapter] \dorecurse{10}{\input knuth}\stopchapter \stoptext</context>
= Further reading =
* [[Page numbering in words]]
{{Getting started navbox}}[[Category:Basics]]
18

edits

Navigation menu