Page Layout ⇒ Table of contents
Table of contents
Thanks to help on this board I was abke to create a table of contents.
However the table of contents are included as pasge numbers?
Is there a way to circumvent this?
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
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Table of contents
please explain further what you want to achieve or what's unwanted.
Stefan
Re: Table of contents
currently the contets pages are counting towards the total number of pages.
I would rather that page 1 was page 1 of chapter 1.
Is that clearer?
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Table of contents
Code: Select all
\documentclass[a4paper,10pt]{book}
\begin{document}
\pagestyle{empty}
\addtocontents{toc}{\protect\thispagestyle{empty}}
\tableofcontents
\clearpage
\setcounter{page}{1}
\chapter{Test}
text
\end{document}
Re: Table of contents
Now all the page number are missing?
How can I turn them back on at chapter1?
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Table of contents
Code: Select all
\pagestyle{headings}
Stefan