
次のように、目次の付録を別のリストに作成することに成功しました。
\usepackage[titles]{tocloft}
\newcommand{\listappendixname}{Contents Appendices}
\newlistof{appendix}{loa}{\listappendixname}
\usepackage{xpatch}
\makeatletter
\apptocmd{\appendix}{
\xpatchcmd{\ttl@addcontentsline}
{\addcontentsline{toc}}
{\addcontentsline{loa}}{}{}
}
\makeatother
しかし、図表リストの付録の図表についても同じことをしたいです。そこで、付録の図表を図表リストから除外し、別のリストに入れたいです。もう一度リストを作成しようとしましたが、うまくいきません。誰か助けてくれませんか?
私は試した:
\newcommand{\listfigurename}{List of Figures Appendices}
\newlistof{figure}{lof}{\listfigurename}
\makeatletter
\xapptocmd{\@chapter}{\addcontentsline{lof}{figure}{\protect\numberline{\thechapter}#1}}{}{} % Add figures to the list of figures
\makeatother