ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Indenting entries in the table of contents?
@ 2020-03-21  2:10 T. Kurt Bond
  2020-03-21  8:15 ` Henning Hraban Ramm
  0 siblings, 1 reply; 3+ messages in thread
From: T. Kurt Bond @ 2020-03-21  2:10 UTC (permalink / raw)
  To: context mailing list


[-- Attachment #1.1: Type: text/plain, Size: 258 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 544 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Indenting entries in the table of contents?
  2020-03-21  2:10 Indenting entries in the table of contents? T. Kurt Bond
@ 2020-03-21  8:15 ` Henning Hraban Ramm
  2020-03-21  8:26   ` Richard Mahoney | Indica et Buddhica
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2020-03-21  8:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> Am 2020-03-21 um 03:10 schrieb T. Kurt Bond <tkurtbond@gmail.com>:
> 
> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Indenting entries in the table of contents?
  2020-03-21  8:15 ` Henning Hraban Ramm
@ 2020-03-21  8:26   ` Richard Mahoney | Indica et Buddhica
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Mahoney | Indica et Buddhica @ 2020-03-21  8:26 UTC (permalink / raw)
  To: ntg-context


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 <texml@fiee.net>
Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [NTG-context] Indenting entries in the table of contents?
Date: Sat, 21 Mar 2020 09:15:12 +0100
Mailer: Apple Mail (2.3445.104.11)

> Am 2020-03-21 um 03:10 schrieb T. Kurt Bond <tkurtbond@gmail.com>:
> 
> 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
______________________________________________________________________
_____________
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-21  8:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21  2:10 Indenting entries in the table of contents? T. Kurt Bond
2020-03-21  8:15 ` Henning Hraban Ramm
2020-03-21  8:26   ` Richard Mahoney | Indica et Buddhica

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).