|
From: Hans F. N. <Han...@hi...> - 2004-11-22 07:20:12
|
On Sat, Nov 20, 2004 at 02:15:26PM +0100, wib...@nt... wrote:
> Hello,
> I am having a problem with my table of contents (PhD Thesis).
> I want to add a line in the table of contents which says: Paper I-III,
> but I don't want to have it page numbered! In my OUT.tex-file the table
> of content looks like this:
>
> 1 1
> 1.1 2
> 1.2 5
> .
> etc.
> References 99
> Paper I-III 101
>
> In the end of the document (before end{document} I have added a line
> like this:
> \addcontentsline{toc}{chapter}{Papers I--III}
> ..
>
> Which puts Paper I-III in the table of contents, but I don't want 101 to
> be in it too. Do you know what I can do about it.
[cut]
I don't know how many times I have said it, but here I go again: General LaTeX
question are much better asked at the news group comp.text.tex - where your
questions are mostlikely answered already.
Try http://groups.google.com/groups?q=addcontentsline+no+page+number&group=comp.text.tex
The first hit is
http://groups.google.com/groups?threadm=c2dn67%24cob%241%40newsserv.zdv.uni-tuebingen.de
where Ulrike Fischer in the second reply says:
\addtocontents{toc}{\contentsline{chapter}{\pauthor}{}}
which for you becomes
\addtocontents{toc}{\contentsline{chapter}{Papers I--III}{}}
Hans - morgengretten
|