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

You must log in to answer this question.

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