I'm using the Memoir
class and I'm trying to format the table of contents for a document I'm working on. Currently, the ToC arranges entries in the following way:
<<chapter name>> <<chapter number>> <<chapter title>>
E.g.
Chapter 1 Introduction
Appendix A Specifications
I'd prefer if chapter entries were formatted like this:
<<chapter name>> <<chapter number>>
<<chapter title>>
E.g.
Chapter 1
Introduction
Appendix A
Specifications
I've looked through the Memoir manual but haven't managed to find anything that's proved helpful yet.
EDIT
Added MWE and image:
\documentclass[openany]{memoir}
\usepackage{memsty}
\renewcommand*{\cftchaptername}{\chaptername\space}
\renewcommand*{\cftappendixname}{Appendix\space}
\begin{document}
\tableofcontents
\chapter{Foo}
\section{Bar}
\chapter{Baz}
\appendix
\chapter{Misc}
\end{document}
\documentclass{...}
and ending with\end{document}
.memsty
, it is only for building thememoir
manual.