6 Comments

  1. 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!

    • 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.

  2. 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!

  3. Thanks a lot.
    Some people suggested use \caption* to omit the appendix tables which produced another error and I could not reference any of my appendix tables. But your solution worked correctly. 🙂

Leave a Reply to Gordon Cancel reply
https://texblog.org/2010/05/02/excluding-items-from-list-of-figures-list-of-tables/?replytocom=5419
texblog.org
crawl=CC-MAIN-2020-05
72319
application/http; msgtype=response
sha1:E6UJVV74FOKSJH2EHVETBXJJN5DSD6DE
<urn:uuid:491b0716-fc8c-46ce-81df-173430a2bb1f>
2020-01-22T03:42:25Z
78.46.93.8
text/html
sha1:DNGIXJDVXFIMLMA2Q2YBG4R7RUMZFVPC
<urn:uuid:a8f60987-281b-439d-b7c9-fdf410d77afc>
https://texblog.org/2010/05/02/excluding-items-from-list-of-figures-list-of-tables/?replytocom=5419
response
<urn:uuid:ac81256d-cebd-4c3d-b848-cea3dc818d2b>
isPartOf: CC-MAIN-2020-05
publisher: Common Crawl
description: Wide crawl of the web for January 2020
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-27.ec2.internal
software: Apache Nutch 1.16 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/