3

With memoir, it seems like that only chapter/section is shown in ToC, but I need to show subsection in ToC with memoir document. How can I do that?

enter image description here

\documentclass[12pt,oneside]{memoir}

\title{Document}
\author{prosseek}
% }

\begin{document}
\frontmatter
\maketitle
\tableofcontents
\mainmatter
\chapter{The Domain Problem and Stakeholders}
\section{First}
abcdef.
\subsection{Sub}
def

\end{document}

1 Answer 1

3
\documentclass[12pt,oneside]{memoir}

\title{Document}
\author{prosseek}
% }
\setsecnumdepth{subsection}        %% added
\settocdepth{subsection}           %% added
\begin{document}
\frontmatter
\maketitle
\tableofcontents
\mainmatter
\chapter{The Domain Problem and Stakeholders}
\section{First}
abcdef.
\subsection{Sub}
def

\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.