[NTG-context] space between chapter and chapter number (in words)
jbf
roma83537 at gmail.com
Thu Oct 15 00:07:48 CEST 2020
I wonder if someone could explain to me what controls (or how to
control) the space between Chapter and chapter number in my TOC given
the setup I have.
At the moment I get ChapterOne instead of Chapter One, and I do not know
what is causing that.
Here is my set up (at least all the parts that I think are controlling
the appearance of Chapter Number in the TOC). Am I missing something? I
thought perhaps the third line in the ChapterListCommand below might be
what controls this, so I did try adding \hskip 1em (or 2em etc.) in the
\currentlistsymbol section of that line, but it did nothing to solve the
problem:
\define[3]\ChapterListCommand
{\hbox\bgroup
\hbox to 2.5cm{\currentlistsymbol\hss}% number + labeltext
\vtop\bgroup
\hsize\dimexpr\makeupwidth-2.5cm\relax
\doifsomething{\rawstructurelistuservariable{year}}
{{\structurelistuservariable{year}}\crlf}%
\currentlistentrytitle % title
\doifsomething{\rawstructurelistuservariable{author}}
{\crlf{\structurelistuservariable{author}}}%
\hfill\currentlistentrypagenumber % pagenumber
\egroup
\egroup}
\setuplabeltext
[en]
[ chapter=\bf Chapter ,
]
\setuplist
[chapter]
[label=yes,
alternative=command,
command=\ChapterListCommand]
Julian
More information about the ntg-context
mailing list