Hi,
I am writing a document in "book" format. I can change it to any format though. I have an abstract of 3 pages. Then I want "Contents" followed by 5 chapters. I do not want page numbers on abstract. But I want roman numbers on contents and arabic numbers on chapters. I have 3 sections in the abstract. I have placed contents after the abstract, still I get section titles in the abstract in the contents list. I don't want it.
1. How do I remove page numbers from abstract?
2. How not to get mention of abstract and its sections in the contents list which is after abstract?
Thank you,
Omkar
General ⇒ compilation
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
compilation
Hi Omkar,
1. use \pagestyle{empty} and \thispagestyle{empty}.
2. manipulate the counter tocdepth.
Here is a short example how to make it:
Stefan
1. use \pagestyle{empty} and \thispagestyle{empty}.
2. manipulate the counter tocdepth.
Here is a short example how to make it:
Code: Select all
\documentclass[a4paper,10pt]{book}
\begin{document}
\pagestyle{empty}
\addtocontents{toc}{\protect\setcounter{tocdepth}{0}}
\chapter*{Abstract}
\thispagestyle{empty}
\renewcommand*\thesection{\arabic{section}}
\section{One} Text
\newpage
\section{Two} Text
\newpage more Text \clearpage
\pagestyle{headings} % or plain, fancy, ..
\tableofcontents
\addtocontents{toc}{\protect\setcounter{tocdepth}{2}}
\chapter{One}
\renewcommand*\thesection{\thechapter.\arabic{section}}
\section{One} Text
\section{Two} Text
\chapter{Two}
\chapter{Three}
\end{document}
LaTeX.org admin