如何获得附录图的单独列表?

如何获得附录图的单独列表?

我的大学希望附录中的图表在目录中单独提及。像这样:

附表清单................................................................................................ix

附录图片列表................................................................................................ x

所有内容都在目录中。我该怎么做?

我想要单独打印附录中的图表列表。

以下是使用模板

\documentclass[letterpaper,12pt,times,authoryear,print,index,oneside,custombib]{Classes/PhDThesisPSnPDF}

\ifdefineAbstract
\pagestyle{empty}
\includeonly{Declaration/declaration, Abstract/abstract}
\fi


\ifdefineChapter
\includeonly{Chapter3/chapter3}
\fi

\begin{document} \frontmatter

\begin{titlepage}   \maketitle \end{titlepage}


\include{Abstract/abstract}

\tableofcontents

\listoffigures

\listoftables


%\printnomenclature

\include{Chapter1/chapter1} \include{Chapter2/chapter2}
\include{Chapter3/chapter3} %\include{Chapter4/chapter6}
%\include{Chapter5/chapter5} %\include{Chapter6/chapter6}
%\include{Chapter7/chapter7}


\begin{appendices} % Using appendices environment for more
functunality

\include{Appendix1/appendix1} \include{Appendix2/appendix2}
\listoffigures

\end{appendices}

% *************************************** Index
******************************** \printthesisindex % If index is present

\end{document}

编辑

我如何拆分图表列表?我希望附录中出现的所有图表都位于单独的图表列表中。

\documentclass{book}
\usepackage{capt-of}
\begin{document} 
\tableofcontents
\listoffigures% List only the entries of the main part

\captionof{figure}{Wombat}
\captionof{figure}{Capybara}
\captionof{figure}{Duck}

\appendix
\listoffigures% List of only the entries of the appendix
\captionof{figure}{Ant}
\captionof{figure}{Biever}
\captionof{figure}{Cockroach}

\end{document}

答案1

该解决方案添加了单独的\listofappendixfigures\listofappendixtables命令以及相关条目ToC

它改变了\tf@lof附录后的等文件句柄,因此不需要修补\caption

请注意,文件句柄之后不会恢复!任何使用\caption或的内容\captionof仍将写入新文件.apt.apfToC 文件。

我使用了MWEJohannes_B 添加的。

该代码使用了我对这个问题的回答中的一些改编行:打印单独的附录列表

\documentclass{book}
\usepackage{capt-of}
\usepackage{tocloft}
\usepackage{xpatch}

\usepackage{hyperref}

% Just in case we're not using hyperref
\providecommand{\phantomsection}{}

% Generate the separate list of commands for appendix figures and tables
\newcommand{\listofappendixfiguresname}{List of Figures in Appendix}
\newlistof{appendixfigures}{apf}{\listofappendixfiguresname}
\newcommand{\listofappendixtablesname}{List of Tables in Appendix}
\newlistof{appendixtables}{apt}{\listofappendixtablesname}

\renewcommand{\cftafterapftitle}{\phantomsection\addcontentsline{toc}{chapter}{\listofappendixfiguresname}}
\renewcommand{\cftafterapttitle}{\phantomsection\addcontentsline{toc}{chapter}{\listofappendixtablesname}}

\xpretocmd{\listofappendixfigures}{\clearpage}{}{}
\xpretocmd{\listofappendixtables}{\clearpage}{}{}


\makeatletter
\xapptocmd{\appendix}{%
  \write\@auxout{%
    \string\let\string\latex@tf@lof\string\tf@lof% Store the original `\tf@lof` file handle
    \string\let\string\tf@lof\string\tf@apf% 
    \string\let\string\latex@tf@lof\string\tf@lot% Store the original `\tf@lot` file handle
    \string\let\string\tf@lot\string\tf@apt% 
  }%
}{}{}
\makeatother

\begin{document} 
\tableofcontents
\listoffigures% List only the entries of the main part

\captionof{figure}{Wombat}
\captionof{figure}{Capybara}
\captionof{figure}{Duck}

\appendix
\listofappendixfigures% List of only the entries of the appendix
\listofappendixtables% List of only the entries of the appendix


\captionof{figure}{Ant}
\captionof{figure}{Beever}
\captionof{figure}{Cockroach}

\clearpage
\captionof{table}{Methods how to learn \LaTeXe\ and providing a MWE!}

\end{document}

在此处输入图片描述

在此处输入图片描述

相关内容