* Table of contents setup
@ 2018-08-30 9:18 Willi Egger
2018-08-30 18:52 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Willi Egger @ 2018-08-30 9:18 UTC (permalink / raw)
To: NTG-Context ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 494 bytes --]
Hello,
I am busy to typeset a book with Maguntia.ttf.
I should prepare the TOC with leaders. However how can I get ConTeXT to use the same leader-size on all levels which need leaders? As in the given example the leaders are adapted to the size of the font.
Secondly I would like to have the page numbers all in the same size, irrespective from the level.
Thirdly, I would love to adapt the distance between the leader-dots to a bigger size. How to do that?
Kind regards
Willi
[-- Attachment #1.2.1: Type: text/html, Size: 1094 bytes --]
[-- Attachment #1.2.2: Screen Shot 2018-08-30 at 11.14.01.png --]
[-- Type: image/png, Size: 30982 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 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] 2+ messages in thread
* Re: Table of contents setup
2018-08-30 9:18 Table of contents setup Willi Egger
@ 2018-08-30 18:52 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2018-08-30 18:52 UTC (permalink / raw)
To: mailing users; +Cc: Willi Egger
[-- Attachment #1.1: Type: text/plain, Size: 1004 bytes --]
Willi Egger schrieb am 30.08.18 um 11:18:
> Hello,
>
> I am busy to typeset a book with Maguntia.ttf.
>
> I should prepare the TOC with leaders. However how can I get ConTeXT
> to use the same leader-size on all levels which need leaders? As in
> the given example the leaders are adapted to the size of the font.
\setuplist[...][textstyle=...]
> Secondly I would like to have the page numbers all in the same size,
> irrespective from the level.
> Thirdly, I would love to adapt the distance between the leader-dots to
> a bigger size. How to do that?
Create your own leaders setup with the \definefiller command.
\setuplist
[chapter,section,subsection]
[alternative=c]
\setuplist
[chapter]
[textstyle=\tfa]
\setuplist
[subsection]
[textstyle=\tfx]
\definefiller
[willi]
[method=global,
width=1em]
\setuplistalternative
[c]
[filler=willi]
\starttext
\completecontent
\chapter{Chapter}
\section{Section}
\subsection{Subsection}
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1927 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 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] 2+ messages in thread
end of thread, other threads:[~2018-08-30 18:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-30 9:18 Table of contents setup Willi Egger
2018-08-30 18:52 ` Wolfgang Schuster
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).