Generalhow to get biblogragaphy to appear on toc

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ma501th
Posts: 50
Joined: Tue Apr 08, 2008 7:31 pm

how to get biblogragaphy to appear on toc

Post by ma501th »

how i was wondering how to get the biblograpgy to appear in table of contents?

this is all i have for the bib stuff in my tex file.

\bibliographystyle{apalike}
\bibliography{sa}

thanks for ur help

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: 10335
Joined: Mon Mar 10, 2008 9:44 pm

how to get biblogragaphy to appear on toc

Post by Stefan Kottwitz »

Hi ma501th,

one possibility is \addcontentsline:

Code: Select all

\addcontentsline{toc}{chapter}{Bibliography}
Stefan
ma501th
Posts: 50
Joined: Tue Apr 08, 2008 7:31 pm

Re: how to get biblogragaphy to appear on toc

Post by ma501th »

right i have put this code in

\addcontentsline{toc}{chapter}{\bibname}

bibligrpahy appears on contents page but what happens is it says the biblograpgy and evaluation are on the same page , 45.

clearly the evaluation is on page 45 and bib in on 46.

how do i change this?
ma501th
Posts: 50
Joined: Tue Apr 08, 2008 7:31 pm

how to get biblogragaphy to appear on toc

Post by ma501th »

Stefan_K wrote:Hi ma501th,

one possibility is \addcontentsline:

Code: Select all

\addcontentsline{toc}{chapter}{Bibliography}
Stefan
i have also done that but same problem
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

how to get biblogragaphy to appear on toc

Post by Juanjo »

Try this:

Code: Select all

\clearpage
\addcontentsline{toc}{chapter}{\bibname}
\bibliographystyle{apalike}
\bibliography{sa}
In the book class (two-sided, by default), you can replace \clearpage by \cleardoublepage. If that still does not work, ask again.
Post Reply