• I want to remove the dots of the table of content (toc), so i used:

    \makeatletter \renewcommand{\@dotsep}{10000} \makeatother

    but it doesn’t work…

  • How can I remove the title (name) of the toc?

I’m using memoir class and XeLaTeX.


1 Answer 1

  • You need to use


    in order to remove the dots for \section titles in the ToC. Or, in general,


    for the sectional unit K. For removing all dots the easiest way is to redefine the dot used to be empty: \renewcommand{\cftdot}{}. See chapter 9 Contents Lists (p 164) of the memoir documentation.

  • You can change \contentsname. It will still be set as a chapter though. And you would most likely use \tableofcontents* to have it removed from the ToC itself.

Here's a short minimal example highlighting the above:

enter image description here

\documentclass{memoir}% http://ctan.org/pkg/memoir
\renewcommand{\cftsectiondotsep}{\cftnodots}% Remove dots for section
\renewcommand{\contentsname}{}% Remove \tableofcontents' title/name
\chapter{First chapter}
\section{Section One}
\section{Section Two}
\section{Section Three}
\chapter{Last chapter}
\section{Section One}
\section{Section Two}
\section{Section Three}
  • 1
    Hi ! Thanks for your answer. · For the dots, it works perfectly · I tried \renewcommand{\contentsname}{} and I found there was a problem with the package \usepackage[french]{babel} So I don’t know if I should remove french babel, or is there an other solution ? Thanks a lot!
    – Calixte
    Jul 4, 2012 at 21:49
  • \cftnodots is just the value 2000, so \renewcommand\cftdotsep{2000} may also be enough, since all of the dots settings in the toc referes back to this one
    – daleif
    Jul 5, 2012 at 11:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .