Re: decreasing depth of document structure

2021-07-21 Thread Wolfgang Engelmann




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
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: decreasing depth of document structure

2021-07-20 Thread 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
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


decreasing depth of document structure

2021-07-20 Thread 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?

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users