Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to add table of contents in LaTeX

📅 2012-Dec-13 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ latex, table of contents ⬩ 📚 Archive

To add a table of contents section to a LaTeX document use the command \tableofcontents. Add it at the location where you want the table. For example, to have a table of contents after the title:


\chapter{First chapter of book}


Tried with: MikTeX 2.9 and Windows 8 Pro

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧