question about TOC

M.B. Schiekel mb.schiekel at posteo.de
Mon May 15 20:37:12 UTC 2023


Am 13.05.23 um 11:49 schrieb M.B. Schiekel:
 > ...
>    1 Chapter-1
>    1.1 Section-1.1
>    ...
>    1.10Section-1.10
> ...


Thank you, Ricardo and thank you el.

I'm using the document class KOMA-Sript book and there I got the 
following results:

1.
   \makeatletter
   \renewcommand\l at chapter{\@dottedtocline{1}{1.5em}{3em}}
   \renewcommand\l at section{\@dottedtocline{2}{1.5em}{3em}}
   \renewcommand\l at subsection{\@dottedtocline{3}{1.5em}{3em}}
   \makeatother
does not work. I suppose, that Koma-script book uses other variables.

2.
   \usepackage{tocloft}    %TOC section indentations
   \cftsetindents{sec}{1.5em}{3em}
   \cftsetindents{subsec}{4.5em}{3em}
does the job

I think, it would be helpful, if this TOC-indentation feature would be 
integrated in the Koma-script book class :-)

Again, many thanks.
bernhard

-- 
M.B. Schiekel,
Email: mb.schiekel at posteo.de
Homepage: https://www.mb-schiekel.de/
GnuPG: https://keys.openpgp.org/
posteo.de: SSL-Verschluesselung + Oekostrom



More information about the lyx-users mailing list