I would like to modify the \part
page such that it shows a table of contents of that part. Preferably also one or two levels deeper than the toc in the beginning of the document.
In styling the \part page Alan Munn shows how to edit the page,
\documentclass{report}
\usepackage{titlesec,minitoc}
\titleclass{\part}{top}
\titleformat{\part}
{\centering\normalfont\Huge\bfseries}
{}
{0pt}
{}
\begin{document}
\tabkeofcontents
\part{This is the Part}
\minitoc %\parttoc,\doparttoc
\chapter{This is its first chapter}
\chapter{This is its second chapter}
\end{document}
but how do I add the 'minitoc'? In the above snippet neither \minitoc
nor \parttoc
or \doparttoc
have any effect. \minitoc
only works for chapters – not parts. Is there any other option or a smart modification I did not find?
Best Answer
Since you are using
titlesec
it's not convenient to useminitoc
. The following remark appears in theminitoc
documentation:However, you can easily produce the ToCs using titletoc: