
나는 다음과 같이 목차의 부록에 대한 별도의 목록을 만드는 데 성공했습니다.
\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