TransWikia.com

Is it possible to create table of contents with theorem numbers instead of section numbers?

TeX - LaTeX Asked on August 24, 2021

The title pretty much explains the question. I don’t have any section in the document. Just have few theorems, so I want to create a table of contents with the section numbers and names replaced by theorem numbers and names (I have named theorems in the document). So that the page numbers are also displayed such that the names in the toc are the links to theorems. Any idea how to do it?

One Answer

The listoftheorems command available when adding the thmtools package in combination with hyperref for the hyperlinks should give you the desired result:

enter image description here

documentclass{article}
usepackage{amsthm}
usepackage{thmtools} % for the listoftheorems command

usepackage{hyperref} % for the hyperlinks in the list of theorems

newtheorem{theorem}{Theorem}

begin{document}
listoftheorems

begin{theorem}
  theorem contents
end{theorem}
end{document}

Correct answer by leandriis on August 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP