GeneralAdding "List of Algorithms" to Table of Contents

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Ahmadnia2011
Posts: 8
Joined: Wed Nov 01, 2017 4:02 pm

Adding "List of Algorithms" to Table of Contents

Post by Ahmadnia2011 »

Hi guys,

I'm using the "Master/Doctoral Thesis" template, and I need "List of Algorithms" to be appeared in the Table of Contents.
Would you please let me know that how I can do it?

Regards,
Ben

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Adding "List of Algorithms" to Table of Contents

Post by Stefan Kottwitz »

Hi Ben,

you can use the \addcontentsline command:

Code: Select all

...
\clearpage
\addcontentsline{toc}{chapter}{List of Algorithms}
\listofalgorithms
...
Stefan
LaTeX.org admin
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Adding "List of Algorithms" to Table of Contents

Post by Johannes_B »

Or better \addchaptertocentry{List of Algos}.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply