El sáb, 13 may 2023 a las 11:49, M.B. Schiekel (<mb.schie...@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@chapter{
    \@dottedtocline{2}{1.5em}{3em}}
\renewcommand\l@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@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to