Changes

Jump to navigation Jump to search
871 bytes added ,  21:03, 6 October 2022
no edit summary
</cd:parameter>
<cd:parameter name="width">
<cd:paramdoc>The width of the heading number (which is left aligned).</cd:paramdoc>
<cd:constant type="fit"></cd:constant>
<cd:constant type="broad"></cd:constant>
</cd:parameter>
<cd:parameter name="margin">
<cd:paramdoc>Extra indent between the margin (where text would normally start) and the heading number.</cd:paramdoc>
<cd:constant type="none"></cd:constant>
<cd:constant type="cd:dimension"></cd:constant>
</cd:parameter>
<cd:parameter name="distance">
<cd:paramdoc>The gap between the heading number and the heading.</cd:paramdoc>
<cd:constant type="none"></cd:constant>
<cd:constant type="cd:dimension"></cd:constant>
\stoptext
</context>
</cd:example><cd:example title="Use different alternatives for different levels in the same ToC">You can use different alternatives for different levels. <context source="yes">\setuppapersize[A7,landscape]\setuplist[alternative=c]\setuplist[subsection][alternative=d] \starttext \placecontent \hairline \section{Section} \subsection{Subsection} \subsubsection{Subsubsection}\stoptext</context></cd:example><cd:example title="Left-hand page numbers">The following example positions the page number to the left of the list entry title:
<texcode>
</texcode>
The <code>alternative=interactive</code> is required to maintain hyperlinked page numbers when links are enabled in the document. Without the <code>after=\endgraf</code> items would be displayed on one line.</cd:example><cd:example title="Using tabular numbers">In a long TOC it looks awkward if proportional numbers are used. It is better to enable the font feature tabularnumbers: <texcode>\setuplist [chapter] [pagestyle={\feature[+][tabularnumbers]}]</texcode></cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
93

edits

Navigation menu