Suppose I have 2 parts and I don't want to display for each of them the same level of details in the TOC. Is it possible to set the TOC's depth differentially ?

UPDATE : here is a MWE


\title{Specifying locally TOC depth}




\part{first part}
\chapter{first chapter}
\section{first section}

\part{second part}
\chapter{second chapter}
\section{second section}


What I want for instance is that the TOC of the first part shows chapter, section and subsection and the second part only chapter, section. Is it possible ?

  • Can you elaborate your question with a MWE with a screenshot? for easy understanding...
    – MadyYuvi
    Aug 12 '19 at 13:28
  • @MadyYuvi thank you for your remark, I updated my post accordingly
    – epsilones
    Aug 12 '19 at 14:51

Try https://www.ctan.org/pkg/tocvsec2 that should work as is should provide more functionality for toc depth per section.

Found here https://en.wikibooks.org/wiki/LaTeX/Document_Structure

  • 1
    thank you very much - it worked perfect
    – epsilones
    Aug 12 '19 at 15:53

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.