I am attempting to reach the below design for a TOC (but using the memoir class):
Which is basically only presenting the chapter number, name and page and subsection number, name and page. The standard toc strucutre in memoir adds dots between the name and the page, which I am to remove.
I was able to arrive at a partial solution, where I managed to remove the dots in subsections, but not in chapters or in subsections (MWE):
\documentclass{memoir}
\usepackage{lipsum}
\renewcommand*{\cftsectionleader}{}
\tableofcontents*
\begin{document}
\chapter{Introduction}
\section{lipsum}
\lipsum[1-10]
\end{document}
This approach, however, generates malformed lines in the toc:
- How can I achieve that using only the memoir utilities?
Best Answer
I see you want to reproduce this: https://logic.rwth-aachen.de/~ummels/diss.pdf
One option is to redefine
l@chapter
and so on:You may adapt lengths to your taste.
If you want subsections to appear in the TOC in
memoir
you should add