How to get a list of appendices like the list of figures and list of tables? How to set it on a separate page, like the list of figures and list of tables?
Asked
Active
Viewed 2.2k times
12
-
There are some related question to mine, I would read them :D first – Verly Aug 28 '11 at 09:00
-
Here is the post: http://tex.stackexchange.com/questions/24889/appendix-with-own-toc/25402#25402 – Marco Daniel Aug 28 '11 at 09:22
-
2You might want to consider accepting the best answer to this and to some of the other questions you've asked. You can do so by clicking on the check mark icon next to the selected answer. – Gonzalo Medina Aug 29 '11 at 01:18
1 Answers
20
I think that this post is not really the answer to Verly's question, as he doesn't seem to need a TOC for the appendix, merely a list of appendices like list of figures. It's the easiest way to use tocloft:
\documentclass{article}
\usepackage{tocloft}
\newcommand{\listappendicesname}{Appendices}
\newlistof{appendices}{apc}{\listappendicesname}
\newcommand{\appendices}[1]{\addcontentsline{apc}{appendices}{#1}}
\parindent0mm
\begin{document}
some text some text some text some text some text some text
\appendices{appendix one} appendix appendix appendix appendix appendix appendix
\appendices{appendix two} appendix appendix appendix appendix appendix appendix
\appendices{appendix three} appendix appendix appendix appendix appendix appendix
\appendices{appendix four} appendix appendix appendix appendix appendix appendix
\listofappendices
\end{document}
Edit 1: If you want headings for the appendices, you may do something like this:
\documentclass[parskip]{scrartcl}
\usepackage{tocloft}
\newcommand{\listappendicesname}{Appendices}
\newlistof{appendices}{apc}{\listappendicesname}
\newcommand{\appendices}[1]{\addcontentsline{apc}{appendices}{#1}}
\newcommand{\newappendix}[1]{\section*{#1}\appendices{#1}}
\parindent0mm
\begin{document}
some text some text some text some text some text some text
\newappendix{Appendix one} appendix appendix appendix appendix appendix appendix
\newappendix{Appendix two} appendix appendix appendix appendix appendix appendix
\newappendix{Appendix three} appendix appendix appendix appendix appendix appendix
\newappendix{Appendix four} appendix appendix appendix appendix appendix appendix
\listofappendices
\end{document}
This will produce something like this:

Edit 2: for centered headings do it like this:
\documentclass[parskip]{scrreprt}
\usepackage[margin=15mm]{geometry}
\usepackage{tocloft}
\newcommand{\listappendicesname}{Appendices}
\newlistof{appendices}{apc}{\listappendicesname}
\newcommand{\appendices}[1]{\addcontentsline{apc}{appendices}{#1}}
\newcommand{\newappendix}[1]{\section*{#1}\appendices{#1}}
\makeatletter
\renewcommand\section{\@startsection {section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\centering\normalfont\Large\bfseries}}
\makeatother
\parindent0mm
\begin{document}
some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text
\newappendix{Appendix one} appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix
\newappendix{Appendix two} appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix
\newappendix{Appendix three} appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix
\newappendix{Appendix four} appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix appendix
\listofappendices
\end{document}

Edit 3: For a centered headline for the list of Appendices, change
\newcommand{\listappendicesname}{Appendices}
simply to
\newcommand{\listappendicesname}{\hfill Appendices \hfill}
and as we are at it, for aligned right:
\newcommand{\listappendicesname}{\hfill Appendices}
Tom Bombadil
- 40,123
-
-
sir, that was great answer, but how to centering the title of list appendix ? as to centering toc,lof,lot I do like this :
'\renewcommand{\cfttoctitlefont}{\hfill\Large\bfseries\MakeUppercase}' '\renewcommand{\cftaftertoctitle}{\hfill}'
– Verly Sep 18 '11 at 16:12 -
-
Is it possible to add sections to the appendices? That is, the level being not only the
\newappendixbut also\sectionwithin\newappendix? – Thiago Mar 05 '21 at 17:37 -
-
When I add
\usepackage{tocloft}my ToC, list of table, and list of figures all get messed up, and I get a ton of errors. – Sia Rezaei Jan 23 '22 at 05:09