3

I want "Introduction" instead of "1. Introduction". The same with all sections and subsections. In the KoMa-classes if possible

I've googled like mad, but the only solution I found is usinge \chapter*{introduction} and then manually adding those chapters to the index-counter and the ToC.

I can't believe that there's no easy solution to this. Lots of people write informal books in latex which shouldn't look like scientific standard publications

1
  • 3
    \setcounter{secnumdepth}{-1} Feb 6, 2019 at 18:30

1 Answer 1

7

From the KOMA-Script manual, section 3.16, "Document Structure":

enter image description here

So to deactivate numbering of chapters, section, subsection etc. and only number parts, you can use

\setcounter{secnumdepth}{\partnumdepth}

in the document preamble.

And if you do not want to number anything:

\setcounter{secnumdepth}{-\maxdimen}
4
  • @AlanMunn: In this case his second line of code serves. Awesome Schweinebacke! Feb 6, 2019 at 19:10
  • @TheoFreeman yes that's why I deleted my comment. I didn't actually need to know the answer but I thought you might.
    – Alan Munn
    Feb 6, 2019 at 19:55
  • 1
    I think that \setcounter{secnumdepth}{-9} is more than enough… ;-)
    – GuM
    Feb 6, 2019 at 19:56
  • 1
    @GuM Maybe, but KOMA-Script has a \DeclareSectionCommand that allows to set your own levels and -\maxdimen is the lowest available value. Maybe it would even be a good idea, if KOMA-Script would not allow to set a real level of -\maxdimen, because it uses this value internally also to locally deactivate numbering. Feb 7, 2019 at 6:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .