TeX - LaTeX Asked on November 9, 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?
The listoftheorems
command available when adding the thmtools
package in combination with hyperref
for the hyperlinks should give you the desired result:
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}
Answered by leandriis on November 9, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP