Indenting entries in the table of contents?
I'd like subsection entries in the table of contents to be indented slightly, and subsubsection entries to be indented slightly more, and subsubsubsection entries to be indented some more. Is there any way to do this? -- T. Kurt Bond, tkurtbond@gmail.com
Am 2020-03-21 um 03:10 schrieb T. Kurt Bond
: I'd like subsection entries in the table of contents to be indented slightly, and subsubsection entries to be indented slightly more, and subsubsubsection entries to be indented some more.
Is there any way to do this?
It’s not obvious in https://wiki.contextgarden.net/Table_of_Contents but you need \setuplist[subsection][margin=2cm] etc. see https://wiki.contextgarden.net/Command/setuplist Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD
This is what I'm using at the moment:
% Tables of Contents
\setuplist[part][textstyle={\sl},pagestyle={\tf}]
\setuplist[chapter][textstyle={\sl},pagestyle={\tf},label=yes,width=fi
t,stopper=~~]
\setuplist[section][width=42pt,margin=10pt,style={\tf}]
\setuplist[subsection][width=42pt,margin=18pt,style={\tf}]
\setupcombinedlist[content][alternative=c,aligntitle=no,width=2.5em,li
st={part,chapter,section,subsection}]
Best, Richard
--
Richard Mahoney | Indica et Buddhica
Littledene Bay Road Oxford NZ
T: +6433121699 M: +64210640216
r.mahoney@indica-et-buddhica.org
https://indica-et-buddhica.org/
-----Original Message-----
From: Henning Hraban Ramm
Am 2020-03-21 um 03:10 schrieb T. Kurt Bond
: I'd like subsection entries in the table of contents to be indented slightly, and subsubsection entries to be indented slightly more, and subsubsubsection entries to be indented some more.
Is there any way to do this?
It’s not obvious in https://wiki.contextgarden.net/Table_of_Contents but you need \setuplist[subsection][margin=2cm] etc. see https://wiki.contextgarden.net/Command/setuplist Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ______________________________________________________________________ _____________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ______________________________________________________________________ _____________
participants (3)
-
Henning Hraban Ramm
-
Richard Mahoney | Indica et Buddhica
-
T. Kurt Bond