About the table of contents
Hello, I would like to reduce the space between the numbering and the title of the chapters, sections and subsections. I would also like to have this: 1 My first chapter 1.1 My first section 1.1.1 My first subsection \setuplist [chapter] [style=bold,width=10mm] \starttext \placelist [chapter,section,subsection] [criterium=all, interaction=all, alternative=c] \startchapter [title=My first chapter] \dorecurse{2}{\input knuth} \startsection [title=My first section] \dorecurse{2}{\input knuth} \startsubsection [title=My first subsection] \dorecurse{2}{\input knuth} \stopsubsection \stopsection \stopchapter \stoptext
Fabrice Couvreur schrieb am 11.07.2020 um 15:02:
Hello, I would like to reduce the space between the numbering and the title of the chapters, sections and subsections. I would also like to have this:
1 My first chapter 1.1 My first section 1.1.1 My first subsection
You can use \setuplist [chapter,section,subsection] [width=fit,distance=\spaceamount] or \setuplist [chapter] [width=1em] \setuplist [section] [width=2em] \setuplist [subsection] [width=3em] or \setuplist [chapter,section,subsection] [distance=\spaceamount] \setuplist [chapter] [width=\widthofstring{0}] \setuplist [section] [width=\widthofstring{0.0}] \setuplist [subsection] [width=\widthofstring{0.0.0}] Wolfgang
participants (2)
-
Fabrice Couvreur
-
Wolfgang Schuster