Text Formatting ⇒ hide chapter number from section title
hide chapter number from section title
I have been googling and reading for hours trying to find a solution to this problem. I am putting together a book using latex, and the book is separated into 5 main chapters. In each chapter there are 5-10 subchapters. However, the person I am doing this for want the subchapters to increase throughout the book (so chapter 4) would begin with a section 18. I guess I can use the \setcounter command to do that. However, I do not want the chapter number so be visible infront of the section number. For example: "18 Effectivity" instead of "4.18 Effectivity".
How do I go around to fix this?
Any help is appreciated!
Bischoff
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
hide chapter number from section title
add the following lines to the preamble of your document:
Code: Select all
\usepackage{chngcntr}
\counterwithout{section}{chapter}
Re: hide chapter number from section title

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
hide chapter number from section title
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10