decreasing depth of document structure
Wolfgang Engelmann
engelmann at uni-tuebingen.de
Wed Jul 21 07:45:55 UTC 2021
Am 21.07.21 um 08:58 schrieb Herbert Voss:
>
>
> Am 21.07.21 um 08:48 schrieb Wolfgang Engelmann:
>> I use a Koma report style and would like to decrease the depth of its
>> structure. It contains ONLY subsubsections
>> e.g 0.0.0.1 Vorwort
>> which I would like to appear as
>> 1 Vorwort
>>
>> the figures appear as 0.1 etc
>> which should appear as 1
>>
>> How can I decrease the depth to achieve it?
>
> write into the document's preamble:
>
> \setcounter{secnumdepth}{\subsubsectiontocdepth}
> \renewcommand\thesubsubsection{\arabic{subsubsection}}
> \renewcommand\thefigure{\arabic{figure}}
>
>
> Herbert
Thanks, Herbert, for your fast answer. Works exactly as I wanted it.
\setcounter was mentioned in your book (Die wissenschaftliche Arbeit mit
Latex unter Verwendung von LuaTeX, KOMA-Script und Biber/BibLaTeX 2nd
edition), but I would not have found it off hand.
Wolfgang
More information about the lyx-users
mailing list