General ⇒ how to display disclaimer, abstract on toc
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Re: how to display disclaimer, abstract on toc
how would you like to solve that? Is the numbering in general ok? Should perhaps only the toc page number vanish, that page just be unnumbered?
Stefan
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
Re: how to display disclaimer, abstract on toc
thanks
how to display disclaimer, abstract on toc
Code: Select all
\pagestyle{empty}
Code: Select all
\pagestyle{plain}
Nope. I am sorry. Wrong answer.
Edit: redefine the plain style to empty as the following example suggests:
Code: Select all
\documentclass{article}
\usepackage{lipsum}
\makeatletter
\let\ps@plain\ps@empty
\makeatother
\begin{document}
\pagestyle{plain}
\tableofcontents
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\section{a section}
\lipsum[1-2]
\end{document}
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
how to display disclaimer, abstract on toc
on alternative solution:
Code: Select all
\addtocontents{toc}{\protect\thispagestyle{empty}}
\tableofcontents
...
how to display disclaimer, abstract on toc
Stefan_K wrote:Hi ma501th,
on alternative solution:StefanCode: Select all
\addtocontents{toc}{\protect\thispagestyle{empty}} \tableofcontents ...
Re: how to display disclaimer, abstract on toc
my toc is three pages long which followed by Disclaimer , Abstract and Acknowledgements. The numerical numbers seem to appear again on my list of figures as 5 and also on my list of tables as 6.
The next page is the Disclaimer , Abstract and Acknowledgements which appear correctly as roman numbers.
Can you please tell me how i can get rid of the numerical numbers which appear on Disclaimer , Abstract and Acknowledgements.
Thanks
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
how to display disclaimer, abstract on toc
you may try gmedina's code, I've seen already many good solutions by him.
Alternatively something like that:
Code: Select all
\pagestyle{empty}
\addtocontents{toc}{\protect\thispagestyle{empty}}
\tableofcontents
% Disclaimer
% Abstract
% Acknowledgements
\addtocontents{lof}{\protect\thispagestyle{empty}}
\listoffigures
\addtocontents{lot}{\protect\thispagestyle{empty}}
\listoftables
\pagestyle{headings}% or fancy, whatever
Stefan
Re: how to display disclaimer, abstract on toc
Now the last problem i may request for you to solve is the page numbers in genreral.
The numbers seem to appear different location in every page.
Is there way for the number to display central on the bottom of the page?
cheers
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
how to display disclaimer, abstract on toc
what pagestyle do you use? If you write \pagestyle{plain} then the page numbers appear on the bottom. Do you use the headings pagestyle? Do you need running headings on each page? Do you use fancyhdr?
The package fancyhdr may be useful for that purpose. You may look into its documentation for use and examples.
Stefan