Graphics, Figures & Tablesexclude table from TOC

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
andrubuntu
Posts: 2
Joined: Fri Jun 04, 2010 7:45 am

exclude table from TOC

Post by andrubuntu »

Hi, I want to prevent a certain table (not all) from appearing in the table of contents. Does anyone know how I can do this?
Many thanks for your help,
A.
Last edited by andrubuntu on Fri Jun 04, 2010 9:26 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

exclude table from TOC

Post by localghost »

The caption package provides the necessary tools.

Code: Select all

\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[includeheadfoot,margin=3cm]{geometry}
\usepackage[font=small,labelfont=bf,tableposition=top]{caption}
\usepackage{blindtext}

\begin{document}
  \listoftables

  \bigskip
  \blindtext

  \begin{table}[!ht]
    \caption{Dummy table with LoF entry}\label{tab:dummy-1}
    \centering
    \rule{6.4cm}{3.6cm}
  \end{table}

  \blindtext

  \begin{table}[!ht]
    \captionsetup{list=no}
    \caption{Dummy table without LoF entry}\label{tab:dummy-2}
    \centering
    \rule{6.4cm}{3.6cm}
  \end{table}

  \blindtext

  \begin{table}[!ht]
    \caption{Dummy table with LoF entry}\label{tab:dummy-3}
    \centering
    \rule{6.4cm}{3.6cm}
  \end{table}

  \blindtext
\end{document}
For more information see the manuals of the involved packages.


Best regards and welcome to the board
Thorsten
andrubuntu
Posts: 2
Joined: Fri Jun 04, 2010 7:45 am

Re: exclude table from TOC

Post by andrubuntu »

Thorsten,
Many thanks for your quick reply. This works perfectly.
Best wishes, Andrew
Post Reply