Theses, Books, Title pagesShowing Sections and Subsections in Table of Contents using LaTeX tufte-book document class

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
Steven
Posts: 3
Joined: Sat Jan 22, 2022 7:56 am

Showing Sections and Subsections in Table of Contents using LaTeX tufte-book document class

Post by Steven »

I can't figure out how to get the sections and subsections to show up in the Table of Contents (TOC) in the tufte-book class. This template/PDF states on page 28 that the option [notoc] forces the class to revert back to a standard LaTeX TOC:

https://v1.overleaf.com/latex/templates ... jfqdjh.pdf

Yet, I have tried that on both MiKTeK and Overleaf and it is just not the case. Am I missing something?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Showing Sections and Subsections in Table of Contents using LaTeX tufte-book document class

Post by Bartman »

The value of the tocdepth (please note the link) counter decides which levels of outline are output. It is set to 0 in the tufte-book.cls class file. Change the value of the counter in your preamble to get the output you want. This seems to be independent of whether you set the notoc option or not.
Steven
Posts: 3
Joined: Sat Jan 22, 2022 7:56 am

Showing Sections and Subsections in Table of Contents using LaTeX tufte-book document class

Post by Steven »

Thank you! Issue resolved.
Post Reply