Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Inlcude "List of Figures" in toc

913 views
Skip to first unread message

Andy Chiou

unread,
May 17, 1999, 3:00:00 AM5/17/99
to
Hi:
I'm using the report class to produce my thesis. I use the
commands (sequentially)
\tableofcontents
\listoffigures
to generate the "table of contents", and "list of figures".

Two quick questions here:
(1) The title of "table of contents" is "Contents". How do I change
it to "Table of Contents"?
(2) How do I include the "list of figures" in the "table of contents"?
So I can have something like

List of figure (some number)
1. Introduction ...............................(some number)
1.1 xxxxx ....................................(some number)

.....

Thanks,

- Andy

Rafael Feismann

unread,
May 17, 1999, 3:00:00 AM5/17/99
to
On Mon, 17 May 1999 00:07:32 -0400, "Andy Chiou" <sch...@cs.uml.edu>
wrote:

1) The title of "table of contents" is "Contents". How do I change
> it to "Table of Contents"?

In line 644 of the report.cls you will find the command
\newcommand\contentsname{Contents}. You´ ve the possibility to
change the name how you like. Nevertheless it will be better to use
the \renewcommand - command in your own LaTeX document.

>(2) How do I include the "list of figures" in the "table of contents"?

You have to construct own commands, that includes the text instead in
"list of figures" in the "table of contents". I´ ve tried it
sometimes, but the result was not very good. For me I choose the way
to include another text file in the "table of contents".

Bye, Rafael


Bernd Schandl

unread,
May 17, 1999, 3:00:00 AM5/17/99
to Andy Chiou
Andy Chiou wrote:
>
> Hi:
> I'm using the report class to produce my thesis. I use the
> commands (sequentially)
> \tableofcontents
> \listoffigures
> to generate the "table of contents", and "list of figures".
>
> Two quick questions here:
> (1) The title of "table of contents" is "Contents". How do I change

> it to "Table of Contents"?

\renewcommand{\contentsname}{Table of Contents}

> (2) How do I include the "list of figures" in the "table of contents"?

\tableofcontents
\clearpage
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures

--
Bernd Schandl
Department of Mathematical Sciences
Clemson University
Clemson, SC 29634-1907

Jürgen Bruns

unread,
May 17, 1999, 3:00:00 AM5/17/99
to
Hi Rafael!

> 1) The title of "table of contents" is "Contents". How do I change
> > it to "Table of Contents"?
>

> In line 644 of the report.cls you will find the command
> \newcommand\contentsname{Contents}. You´ ve the possibility to
> change the name how you like. Nevertheless it will be better to use
> the \renewcommand - command in your own LaTeX document.

or save your modified report.cls as myreport.cls!
Please NEVER save modified classes under the original name!

Ciao

Jürgen
--
Dipl.-Ing. Jürgen Bruns ISAF TU Clausthal
Tel.: +49-5323-72 21 52 Fax: +49-5323-72 31 98
Hiermit widerspreche ich der Nutzung oder Übermittlung meiner
Daten für Werbezwecke oder für die Markt- oder Meinungsforschung
gem. Par. 28 Abs. 3 Bundesdatenschutzgesetz.

Anton Schwaighofer

unread,
May 17, 1999, 3:00:00 AM5/17/99
to
"Andy Chiou" <sch...@cs.uml.edu> writes:

> (1) The title of "table of contents" is "Contents". How do I change


> it to "Table of Contents"?

\renewcommand{\contentsname}{Table of Contents}
(into the preamble)


> (2) How do I include the "list of figures" in the "table of contents"?

> So I can have something like

The package "tocbibind" (available from CTAN) does the job.
With tocbibind, you can also include the List of Figures, Tables, Index,
etc in your TOC


cu
tony


Peter Wilson

unread,
May 17, 1999, 3:00:00 AM5/17/99
to Andy Chiou
Andy Chiou wrote:
>
> Hi:
> I'm using the report class to produce my thesis. I use the
> commands (sequentially)
> \tableofcontents
> \listoffigures
> to generate the "table of contents", and "list of figures".
>
> Two quick questions here:
> (1) The title of "table of contents" is "Contents". How do I change
> it to "Table of Contents"?
> (2) How do I include the "list of figures" in the "table of contents"?
> So I can have something like
>
> List of figure (some number)
> 1. Introduction ...............................(some number)
> 1.1 xxxxx ....................................(some number)

The tocbibind package (CTAN in macros/latex/contrib/supported) has
options for doing this (you will also need the stdclsdv package as well
form the same location). As the theses regulations of many universities
require modifications to the normal LaTeX ToC formatting, you might want
to take a look at the tocloft package as well, which enables many kinds
of changes to the formatting.

Peter W.
peter.r...@boeing.com

0 new messages