Hirotsugu Uchida
2006-12-06 22:29:02 UTC
Hi everyone,
Please excuse me for posting a rather TeX-oriented question here, but I
am really hoping someone on this list would know the solution...
The question is: how can I include the "List of Figures (LOF)" and/or
"List of Tables (LOT)" into the "Table of Contents (TOC)"? Currently, I
have the following commands:
----------------------
\documentclass{report}
\begin{document}
\tableofcontents %creates TOC
\listoffigures %creates LOF
\listoftables %creates LOT
....
\end{document}
---------------------
Each page of TOC, LOF, and LOT appears fine, but the listed items on TOC
does NOT contain LOF and LOT. And, as I understand it, since LOF and LOT
are not a tex file I cannot use \addcontentsline command to have them
appear in TOC.
Here is how my TOC output looks now:
--------------
Contents
Abstract [page #]
Chapter 1 [page #]
....
---------------
And here is how I want to have TOC output to look like:
---------------
Contents
Abstract [page #]
List of figures [page #] <-- this is what I want to include
List of tables [page #] <-- this is what I want to include
Chapter 1 [page #]
.....
----------------
I've tried a cheap trick to save [file_name].lof into a tex file by
changing the extension code, and then adding \chapter*{ } command at the
top, but this did not work...
I really appreciate if anyone knows anything! BTW, I am using MikTeX 2.4
with TXC Greengrass on WinXP.
Thanks!
Hiro
Please excuse me for posting a rather TeX-oriented question here, but I
am really hoping someone on this list would know the solution...
The question is: how can I include the "List of Figures (LOF)" and/or
"List of Tables (LOT)" into the "Table of Contents (TOC)"? Currently, I
have the following commands:
----------------------
\documentclass{report}
\begin{document}
\tableofcontents %creates TOC
\listoffigures %creates LOF
\listoftables %creates LOT
....
\end{document}
---------------------
Each page of TOC, LOF, and LOT appears fine, but the listed items on TOC
does NOT contain LOF and LOT. And, as I understand it, since LOF and LOT
are not a tex file I cannot use \addcontentsline command to have them
appear in TOC.
Here is how my TOC output looks now:
--------------
Contents
Abstract [page #]
Chapter 1 [page #]
....
---------------
And here is how I want to have TOC output to look like:
---------------
Contents
Abstract [page #]
List of figures [page #] <-- this is what I want to include
List of tables [page #] <-- this is what I want to include
Chapter 1 [page #]
.....
----------------
I've tried a cheap trick to save [file_name].lof into a tex file by
changing the extension code, and then adding \chapter*{ } command at the
top, but this did not work...
I really appreciate if anyone knows anything! BTW, I am using MikTeX 2.4
with TXC Greengrass on WinXP.
Thanks!
Hiro
--
************************************************
Hirotsugu (Hiro) Uchida
montezumanm-***@public.gmane.org (JPN/ENG)
uchida-***@public.gmane.org (ENG)
"Pessimism is a wrong use of imagination"
************************************************
************************************************
Hirotsugu (Hiro) Uchida
montezumanm-***@public.gmane.org (JPN/ENG)
uchida-***@public.gmane.org (ENG)
"Pessimism is a wrong use of imagination"
************************************************