Page LayoutRemove a section header, but keep in Table of Contents

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
cmclen
Posts: 2
Joined: Sat Apr 21, 2012 7:24 pm

Remove a section header, but keep in Table of Contents

Post by cmclen »

Hello! I have a section header I'd like to remove. In the image below, it says "1. Executive Summary" at the top. I'd like this section to begin instead with just the "PRO-D-ZINE INC." ... and continue thereon. However, I'd also like for the "1. Executive Summary" to stay in the Table of Contents. How can I suppress this section header without removing it from the TOC?
remove-section.png
remove-section.png (31.85 KiB) Viewed 16970 times
I've looked around a fair bit and haven't found anything. Thanks so much!

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

cmclen
Posts: 2
Joined: Sat Apr 21, 2012 7:24 pm

Remove a section header, but keep in Table of Contents

Post by cmclen »

It's funny, I was actually looking up something entirely unrelated when I stumbled across something that gave me the idea for this solution:

Code: Select all

\newpage
\addcontentsline{toc}{chapter}{Executive Summary}
So great! I don't have a chapter header, while adding a new entry to the table of contents.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Remove a section header, but keep in Table of Contents

Post by Stefan Kottwitz »

Hi,

welcome to the board!

\addcontentsline is good!

I just recommend to use \clearpage or \cleardoublepage instead of newpage, to force the output of stored floats, and to start on a right hand page if required.

Stefan
LaTeX.org admin
Post Reply