12

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?

3
  • There are some related question to mine, I would read them :D first
    – Verly
    Commented Aug 28, 2011 at 9:00
  • Here is the post: tex.stackexchange.com/questions/24889/appendix-with-own-toc/… Commented Aug 28, 2011 at 9:22
  • 2
    You 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. Commented Aug 29, 2011 at 1:18

1 Answer 1

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:

Appendices


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}

enter image description here


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}
6
  • How to centering the title of Appendices ?
    – Verly
    Commented Sep 3, 2011 at 5:26
  • 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
    Commented Sep 18, 2011 at 16:12
  • adding \hfills before and after the headline will do Commented Sep 19, 2011 at 9:50
  • Is it possible to add sections to the appendices? That is, the level being not only the \newappendix but also \section within \newappendix?
    – Thiago
    Commented Mar 5, 2021 at 17:37
  • Thank you, this is great!
    – Farmer Joe
    Commented Apr 7, 2021 at 1:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .