• 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.

-
–  Werner Dec 18 '12 at 16:49

• You need to use

\renewcommand{\cftsectiondotsep}{\cftnodots}


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

\renewcommand{\cftKdotsep}{\cftnodots}


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:

\documentclass{memoir}% http://ctan.org/pkg/memoir
\renewcommand{\cftsectiondotsep}{\cftnodots}% Remove dots for section
\renewcommand{\contentsname}{}% Remove \tableofcontents' title/name
\begin{document}
\tableofcontents*
\chapter{First chapter}
\section{Section One}
\section{Section Two}
\section{Section Three}
\chapter{Last chapter}
\section{Section One}
\section{Section Two}
\section{Section Three}
\end{document}

-
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 '12 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 '12 at 11:41