Page Layout"Contents line" in ToC. Memoir

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
thomasTC
Posts: 12
Joined: Wed Jun 02, 2010 9:28 am

"Contents line" in ToC. Memoir

Post by thomasTC »

Hello community (here's my first post),

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

"Contents line" in ToC. Memoir

Post by localghost »

The memoir manual (Chapter 9 - Contents lists, p. 149) mentions that the starred version of the command for the ToC doesn't produce this entry.

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}
So reading the manual is the best source for information (not only) about a class specific behaviour.

The blindtext package is only for creating dummy text thus not part of the solution.


Best regards and welcome to the board
Thorsten
thomasTC
Posts: 12
Joined: Wed Jun 02, 2010 9:28 am

Re: "Contents line" in ToC. Memoir

Post by thomasTC »

Thank you for you kind reply Thorsten.

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.
Post Reply