General ⇒ exclude list of figures from table of contents
exclude list of figures from table of contents
How can I exclude the list of figures from table of contents?
with this line
\tableofcontents
\listoffigures
I obtain a pdf in which table of content include also the list of figure as first item.
I don't want that the list of figures appear in table of contents list.
How can I do?
Thankyou
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
exclude list of figures from table of contents
which documentclass do you use? Can you provida a minimal working example?
With this code:
Code: Select all
\documentclass[a4paper,10pt]{book}
\begin{document}
\tableofcontents
\listoffigures
\chapter{One}
\end{document}
Stefan
Re: exclude list of figures from table of contents
\documentclass[12pt,a4paper,oneside,openright]{report}
the only way to avoid this behaviour is the use of documentclass{book},
or exist another way with documentclass{report}???
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: exclude list of figures from table of contents
Stefan
exclude list of figures from table of contents
Code: Select all
\renewcommand{\headrulewidth}{0.5pt}
\hoffset=-15mm
\headheight=15pt
\textwidth=140mm
\headsep=5mm
\voffset=-5mm
\textheight=240mm
\evensidemargin=25mm
\oddsidemargin=25mm
\begin{document}
\pagenumbering{roman}
\setcounter{page}{1}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}
\tableofcontents
\listoffigures
\cleardoublepage
\pagenumbering{arabic}
\setcounter{page}{1}
\chapter{One}
\chapter{two}
\chapter{three}
\input {biblio}
\end{document}
exclude list of figures from table of contents
Unfortunately, your last post does not contain vital information of your document's preamble (the list of loaded packages) and without this information all we can do is guess.
If you are loading the tocbibind package, then the list of figures will be included in the ToC. Search for this line in your preamble
Code: Select all
\usepackage{tocbibind}
Code: Select all
\usepackage[notlof]{tocbibind}
Re: exclude list of figures from table of contents


the problem was caused by the package 2tocbibind".
Re: exclude list of figures from table of contents
here is my preface
\documentclass[12pt, final]{amsbook}
\usepackage{geometry}
\geometry{letterpaper}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{epstopdf}
\usepackage{setspace, verbatim}
\usepackage[final]{pdfpages}
\usepackage{fullpage}
\usepackage{multirow}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}
\newcommand{\separate}{\medskip}
\renewcommand\contentsname{Table of Contents}
%\doublespace
\setcounter{tocdepth}{4}
\title{...}
\author{...}
\pagenumbering{roman}
\begin{document}
\begin{abstract}
...
\end{abstract}
\maketitle
\thanks{...}
\tableofcontents
\listoftables
\listoffigures
\doublespace
\cleardoublepage
\section[Introduction]{Introduction}
\pagenumbering{arabic}
\setcounter{page}{1}
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
exclude list of figures from table of contents
welcome to the board!
that's the standard behavior of the amsbook class. If you don't need to meet the AMS requirements you could use a standard class like the book class or for instance scrbook. If you want to use amsbook you would have to redefine something or find a workaround. That's of cause possible but later could occur another problem with a special ams class behavior...dem wrote:My table of contents includes the list of tables and the list of figures. Does anybody has an idea of why?
Stefan
Re: exclude list of figures from table of contents
This was my first serious work in Latex, and i think is too late to change the class now. but In the future i will try other classes. In the meanwhile, I think that I will edit the .toc file directly, before creating the pdf file.
thanks!
dem