Am 06.12.2013 um 21:04 schrieb H. van der Meer h.vanderm...@uva.nl:
\define[1]\ChapterListNumber
{\simplealignedbox{\listparameter{width}}{flushright}{#1}}
\setuplist[chapter][width=2em,distance=1em,numbercommand=\ChapterListNumber]
This now gives a toc looking the way I like.
May I
In the table of contents my items are numbers 1, 2, etc. At the number the
aligning is wrong, the tens are shifted to the right. I tried to remedy with a
setup:
\setupitemgroup[itemize][each][5,autointro][…]
But changing width, distance, textdistance, itemalign do not have effect on the
toc.
Am 06.12.2013 um 13:53 schrieb H. van der Meer h.vanderm...@uva.nl:
In the table of contents my items are numbers 1, 2, etc. At the number the
aligning is wrong, the tens are shifted to the right. I tried to remedy with
a setup:
\setupitemgroup[itemize][each][5,autointro][…]
But changing
The table of contents results from:
\startfrontmatter
\input front
\let\ChapterTOC\relax % Only then chapters typeset !?
\completecontent
\stopfrontmatter
The table of contents is typeset from the completecontent, so I guess the
answer to your question
Am 06.12.2013 um 14:59 schrieb H. van der Meer h.vanderm...@uva.nl:
The table of contents results from:
\startfrontmatter
\input front
\let\ChapterTOC\relax % Only then chapters typeset !?
\completecontent
\stopfrontmatter
The table of contents is
Which numbers are wrong, the section numbers or the page numbers?The chapter numbers. See the jpg below. The 10 with its separator is too far to the right.
Hans van der Meer
On 6 dec. 2013, at 15:13, Wolfgang Schuster schuster.wolfg...@gmail.com wrote:Am 06.12.2013 um 14:59 schrieb H. van der
Am 06.12.2013 um 17:32 schrieb H. van der Meer h.vanderm...@uva.nl:
Which numbers are wrong, the section numbers or the page numbers?
The chapter numbers. See the jpg below. The 10 with its separator is too far
to the right.
This is normal because the numbers are aligned on the left
Indeed, \setuplist[chapter][width=3em] makes the chapternumber set in a wider
field.
But the alignment is as bad as it was: flushleft, i.e. the 1 of chapter 10
still aligns with the units from the lower chapters instead of aligning to the
zero.
I looked up \setuplist in the command catalogue
Am 06.12.2013 um 20:20 schrieb H. van der Meer h.vanderm...@uva.nl:
Indeed, \setuplist[chapter][width=3em] makes the chapternumber set in a wider
field.
But the alignment is as bad as it was: flushleft, i.e. the 1 of chapter 10
still aligns with the units from the lower chapters instead
\define[1]\ChapterListNumber
{\simplealignedbox{\listparameter{width}}{flushright}{#1}}
\setuplist[chapter][width=2em,distance=1em,numbercommand=\ChapterListNumber]
This now gives a toc looking the way I like.
May I lay at your foot a plea for a change/additional parameter here?
10 matches
Mail list logo