Page Layout ⇒ "Contents line" in ToC. Memoir
"Contents line" in ToC. Memoir
I hope someone here can assist me with a minor question. I've noticed that the first entry of my table of contents is "Contents". Although it's not a major issue for me, I'd rather like it, if my ToC did not display this entry. Is there any way to remove this line?
I'm compiling my document as in the memoir-class.
Thank you in advance. Best regards,
Thomas
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
"Contents line" in ToC. Memoir
Code: Select all
\documentclass[11pt,a4paper,english]{memoir}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[math]{blindtext}
\begin{document}
\tableofcontents*
\Blinddocument
\end{document}
The blindtext package is only for creating dummy text thus not part of the solution.
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: "Contents line" in ToC. Memoir
I've applied your suggestion, and it works superbly. I understand that reading the manual is often the best source of information - but although I've studied it, I often find it somewhat difficult to find just what I'm looking for. As you indicate - it is a very extensive manual.
Again, thank you. Very much appreciated.