-1

I am using \tableofcontents[hideallsubsections] to show only the sections on the first slide and the \AtBeginSection command to display the table of contents at the beginning of each section of my presentation, but it show all of the ToC again. How do I show only the current section AND its subsections?

Thank you very much for the help!

  • Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Heiko Oberdiek Dec 24 '16 at 20:10
1
\tableofcontents[hideothersubsections]
  • This is actually a good idea! It is not exactly what I was looking for, since the other section still show up. But using \tableofcontents[currentsection,hideothersubsections] is going to be useful for my presentation. Thank you @samcarter! – Gustavo Amarante Dec 26 '16 at 0:52

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.