General ⇒ how to display disclaimer, abstract on toc
- Stefan Kottwitz
- Site Admin
- Posts: 10319
- Joined: Mon Mar 10, 2008 9:44 pm
Re: how to display disclaimer, abstract on toc
Hi ma501th,
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
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
NEW: TikZ book now 40% off at Amazon.com for a short time.
Re: how to display disclaimer, abstract on toc
yeh the number in genral are ok, if possible could you please tell me how i can erase the numbers in toc please
thanks
thanks
how to display disclaimer, abstract on toc
Use
before the \tableofcontents command. Then restore your page style using
(replace plain with fancy or whatever your page style was).
Nope. I am sorry. Wrong answer.
Edit: redefine the plain style to empty as the following example suggests:
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}
Last edited by gmedina on Wed Apr 23, 2008 1:26 am, edited 2 times in total.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
- Stefan Kottwitz
- Site Admin
- Posts: 10319
- Joined: Mon Mar 10, 2008 9:44 pm
how to display disclaimer, abstract on toc
Hi ma501th,
on alternative solution:
Stefan
on alternative solution:
Code: Select all
\addtocontents{toc}{\protect\thispagestyle{empty}}
\tableofcontents
...
how to display disclaimer, abstract on toc
sorry but where do i place your code?
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
thanks stefan your code has worked but not completely.
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
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: 10319
- Joined: Mon Mar 10, 2008 9:44 pm
how to display disclaimer, abstract on toc
Hi,
you may try gmedina's code, I've seen already many good solutions by him.
Alternatively something like that:
Perhaps see here for expalation: \pagestyle and \thispagestyle.
Stefan
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
thanks mate it has worked perfectly fine.
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
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: 10319
- Joined: Mon Mar 10, 2008 9:44 pm
how to display disclaimer, abstract on toc
Hi ma501th,
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
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