GeneralTable of contents

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
kan
Posts: 6
Joined: Sat Nov 29, 2008 11:27 pm

Table of contents

Post by kan »

I want to add the table of contents in my thesis. So I used \tableofcontents command, but it does not give introduction page number. How do I correct this?

And

If I want to add two diagrams in one row, how do I do it? I used \begin{minipage} {0.3 linewidth}... \end{minipage}. Then diagrams are coming in row. But they are very close.

Recommended reading 2024:

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

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

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

Table of contents

Post by Stefan Kottwitz »

Hi Kan,

you could use \addtocontents:

Code: Select all

\addtocontents{toc}{\protect\thispagestyle{plain}}
or another pagestyle like headings or fancy etc. depending on your loaded packages.

Concerning the diagrams use \hspace{distance} between the minipage environments or just \hfill.

Stefan
LaTeX.org admin
kan
Posts: 6
Joined: Sat Nov 29, 2008 11:27 pm

Re: Table of contents

Post by kan »

\tableofcontents
\addcontentsline{toc}{\protect\thispagestyle{plain}}

This is not working.

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

Re: Table of contents

Post by Stefan Kottwitz »

Hi kan,

use \addtocontents instead of \addcontentsline.

Stefan
LaTeX.org admin
kan
Posts: 6
Joined: Sat Nov 29, 2008 11:27 pm

Re: Table of contents

Post by kan »

How do I select the pagestyle? I used plain and headings but not working, means it does not show the introduction. Do I want to use any package?

Many thanx
kan
Posts: 6
Joined: Sat Nov 29, 2008 11:27 pm

Re: Table of contents

Post by kan »

I got it.
thanx.
Post Reply