question about TOC
Ricardo Berlasso
rgb.mldc at gmail.com
Sat May 13 11:00:17 UTC 2023
El sáb, 13 may 2023 a las 11:49, M.B. Schiekel (<mb.schiekel at posteo.de>)
escribió:
> Hi,
>
> with LyX 2.3.7 and PDFLatex (pdfTeX 3.141592653-2.6-1.40.22) I do a
> normal Table Of Contents (TOC).
> When the section numbers have 2 digits then in the TOC there is no space
> between the section number and the following section header, i.e.
> 1 Chapter-1
> 1.1 Section-1.1
> ...
> 1.10Section-1.10
>
> What I'm missing?
>
Don't worry, it's not your fault ;)
You need to change the spacing between the numbering and the heading
itself. You can do that by writing something like this in the preamble
\makeatletter
\renewcommand\l at chapter{
\@dottedtocline{2}{1.5em}{3em}}
\renewcommand\l at section{
\@dottedtocline{2}{1.5em}{3em}}
\makeatother
That will change the spacing for chapters and sections, just play a bit
with the numbers (most of the time you'll only need to change the 3em).
Regards,
Ricardo
> Thank you -
> bernhard
>
> --
> M.B. Schiekel
>
> --
> lyx-users mailing list
> lyx-users at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20230513/61d95f14/attachment.html>
More information about the lyx-users
mailing list