About these ads

Excluding items from list-of-figures / list-of-tables

Imagine you have an appendix chapter that contains a whole set of figures, but you don’t want them to show up in the list of figures.

The caption package does the trick for you:

\usepackage{caption}

and then use

\captionsetup[figure]{list=no}

to exclude figures from the LOF from that point onwards. Switching it on again can obviously be done using:

\captionsetup[figure]{list=yes}

Similarly, you can exclude/include tables using these commands:

\captionsetup[table]{list=no}
and
\captionsetup[table]{list=yes}

About these ads

3 Responses to “Excluding items from list-of-figures / list-of-tables”

  • brian

    Huzzah!

    Is there a similar trick to suppress TOC indexing of appendices sections without having to \section* them throughout? I just need the first page of the appendices in the TOC, but none of their (sub)sections.
    thanks!

    • tom

      Hi Brian,

      I suggest you use the tocvsec2 package which let’s you control the depth of the toc-entries using \settocdepth{chapter} within your code. Here is a complete example that shows how you can use it to solve your problem:

      \documentclass[a4paper,11pt]{report}
      \usepackage{tocvsec2}
      \usepackage[english]{babel}
      \usepackage{blindtext}
      \begin{document}
      \tableofcontents
      \chapter{One}
      \section{First}
      \blindtext
      \section{Second}
      \blindtext
      \begin{appendix}
      \settocdepth{chapter}
      \chapter{Additional Text}
      \section{First}
      \subsection{First}
      \blindtext
      \chapter{Additional Figures}
      \section{Second}
      \blindtext
      \end{appendix}
      \end{document}

      Cheers, Tom.

  • Gordon

    Brian, I used a similar idea, but simply added in the line \addcontentsline{toc}{section}{Appendix}
    directly above \appendix. That added the line into the TOC, but meant that I could simply * out each section and subsection name from then onwards, but the start of my appendices were noted.

    And Tom, Thank you for this, I very much appreciate having finally found this incredibly simple solution to something that has been bothering me for a couple of hours!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 709 other followers

%d bloggers like this: