Document ClassesRemove 'Chapter 1...N' in report-class

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
demon
Posts: 26
Joined: Thu Nov 27, 2008 3:45 pm

Remove 'Chapter 1...N' in report-class

Post by demon »

Hi guys,

I switched from scrreprt (KOMA) to the normal report class because I didn't like the formatting. Now, there's a 'Chapter 1...N' heading before each chapter. How can I remove that? It's a bit disproportionate for a thesis.

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Remove 'Chapter 1...N' in report-class

Post by phi »

It's much easier to stick with scrreprt because the KOMA classes are much more flexible. What exactly do you want to change? For example, if you want serif fonts for headings like the standard classes, it's as easy as

Code: Select all

\addtokomafont{disposition}{\rmfamily}
demon
Posts: 26
Joined: Thu Nov 27, 2008 3:45 pm

Re: Remove 'Chapter 1...N' in report-class

Post by demon »

Biggest problem with KOMA is the heading enumeration. There's a period after the last number, which is formally not allowed. Like 1. Heading, 1.1. Heading. How can I remove that?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Remove 'Chapter 1...N' in report-class

Post by localghost »

demon wrote:Biggest problem with KOMA is the heading enumeration. There's a period after the last number, which is formally not allowed. Like 1. Heading, 1.1. Heading. How can I remove that?
First of all read the very good manual.

Code: Select all

\documentclass[numbers=noenddot]{scrreprt}
Note that this is the way this option is given in KOMA Script 3. The english manual isn't yet up to date. The older Version 2 had different options.

Code: Select all

\documentclass[pointlessnumbers]{scrreprt}
Check which version you have installed by inserting a \listfiles command as very first line in your source code. The used packages are listed in the log file between *File List* and ***********.


MfG
Thorsten¹
demon
Posts: 26
Joined: Thu Nov 27, 2008 3:45 pm

Re: Remove 'Chapter 1...N' in report-class

Post by demon »

That was easy. Thanks a lot! :)
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Remove 'Chapter 1...N' in report-class

Post by phi »

localghost wrote:
demon wrote:Biggest problem with KOMA is the heading enumeration. There's a period after the last number, which is formally not allowed. Like 1. Heading, 1.1. Heading. How can I remove that?
First of all read the very good manual.

Code: Select all

\documentclass[numbers=noenddot]{scrreprt}
Note that this is the way this option is given in KOMA Script 3. The english manual isn't yet up to date.
The numbers option should be documented by now, at least it is documented in my version of scrguien, and that isn't even the newest one.
localghost wrote:The older Version 2 had different options.

Code: Select all

\documentclass[pointlessnumbers]{scrreprt}
Check which version you have installed by inserting a \listfiles command as very first line in your source code. The used packages are listed in the log file between *File List* and ***********.
This should not be necessary. Using pointlessnumbers in combination with version 3 produces a warning message that tells exactly what to do:

Code: Select all

Class scrreprt Warning: You've used obsolete option `pointlessnumbers'. Usage of this option indicates an old document and changes compatibility level using `numbers=noenddot,version=first'. If you don't want this, you should simply replace usage of option `pointlessnumbers' by `numbers=noenddot'.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Remove 'Chapter 1...N' in report-class

Post by localghost »

phi wrote:The numbers option should be documented by now, at least it is documented in my version of scrguien, and that isn't even the newest one. […]
I can only refer to statements of the author and don't know in detail which parts of the manual have been updated until now.
phi wrote:[…] This should not be necessary. Using pointlessnumbers in combination with version 3 produces a warning message that tells exactly what to do […]
You are telling me nothing new. This was meant to show what to do if the key numbers=noenddot wouldn't have been accepted by the document class.
Post Reply