General ⇒ Numbering Reference Section in TOC
Numbering Reference Section in TOC
\begin{thebibliography}{99}
\addcontentsline{toc}{section}{References}
so that it would be included in my table of contents. It is there, but it isn't numbered like all of the other major sections. ie the format
1 Intro
1.1 blah
1.2 blah
2 Paper
2.1 blah
2.1 blah
Reference
How can I either get rid of the main section numbering (while leaving the subsection 1.1 1.2 etc) or make it so the reference section gets numbered.
Thanks
Chris
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Numbering Reference Section in TOC
Code: Select all
\usepackage[nottoc,notlof,notlot,numbib]{tocbibind}
Best regards
thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Numbering Reference Section in TOC
! LaTeX Error: File 'tocbibind.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency Stop.
<read *>
Any idea whats going on.
Thanks for the feedback
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Numbering Reference Section in TOC
Code: Select all
! LaTeX Error: File 'tocbibind.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency Stop.
<read *>
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10