如何有單獨的附錄圖列表?

如何有單獨的附錄圖列表?

我的大學希望在目錄中單獨提及附錄中的數字。像這樣:

附錄表清單.................................................... ................ ................................. .....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

該解決方案將單獨的\listofappendixfiguresand\listofappendixtables命令以及相關條目添加到ToC.

它更改了\tf@lof附錄後的等文件句柄,以便不需要修補\caption

請注意,文件句柄之後不會恢復!任何對\caption或 的使用\captionof仍將寫入新檔案.apt.apf目錄檔案。

我使用了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}

在此輸入影像描述

在此輸入影像描述

相關內容