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.
General ⇒ Table of contents
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
Hi Kan,
you could use \addtocontents:
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
you could use \addtocontents:
Code: Select all
\addtocontents{toc}{\protect\thispagestyle{plain}}
Concerning the diagrams use \hspace{distance} between the minipage environments or just \hfill.
Stefan
LaTeX.org admin
Re: Table of contents
\tableofcontents
\addcontentsline{toc}{\protect\thispagestyle{plain}}
This is not working.
thanks.
\addcontentsline{toc}{\protect\thispagestyle{plain}}
This is not working.
thanks.
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Table of contents
Hi kan,
use \addtocontents instead of \addcontentsline.
Stefan
use \addtocontents instead of \addcontentsline.
Stefan
LaTeX.org admin
Re: Table of contents
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
Many thanx