Graphics, Figures & TablesTOC alignment

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
crox
Posts: 2
Joined: Fri Aug 19, 2011 6:09 pm

TOC alignment

Post by crox »

Hello!

I have a document with several chapters that are all numbered and incorporated in table of contents. I wanted to add Bibliography manually to the TOC with:

Code: Select all

\addcontentsline{toc}{chapter}{\textbf{Bibliography}}
the problem is different alignment - compiled TOC looks like this:
1 Chapter 1
2 Chapter 2
Bibliography

instead it should be
1 Chapter 1
2 Chapter 2
Bibliography

how can I solve this problem?

thanks
Last edited by Stefan Kottwitz on Fri Aug 19, 2011 11:05 pm, edited 1 time in total.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Re: TOC aignment

Post by Stefan Kottwitz »

Hi,

that's common - usual unnumbered sections are left aligned. Just have a look into good books and compare how many align all entries left compared to how many align at the beginning of headings, after numbers, in contrast.

Which document class do you use?

Stefan
LaTeX.org admin
crox
Posts: 2
Joined: Fri Aug 19, 2011 6:09 pm

Re: TOC aignment

Post by crox »

i'm using 'report'
Post Reply