将图表列表拆分到主文档和附录中

将图表列表拆分到主文档和附录中

我的论文主体部分和附录中都有图表。当前状态:所有图表现在都位于 LoF(图表列表)/LoT(表格列表)中。

我想要不同的 LoF/LoT:

a) 正文部分图表的 LoF 和 LoT。(在论文的最开始部分)b) 然后,附录的图表也需要 LoF 和 LoT(在“附录”部分/章节之后)。

\documentclass[a4paper,header]{scrbook}

\usepackage[utf8]{inputenc}             
\usepackage{textcomp}                       
\usepackage[T1]{fontenc}                    
\usepackage[english]{babel}     
\usepackage{ragged2e}                                               
\usepackage{booktabs}                                               
\usepackage[section]{placeins}  
\usepackage{graphicx}
\usepackage[format=hang,
            justification=RaggedRight,              
            singlelinecheck=off,                        
            labelfont=bf,                                   
            font=footnotesize,
            textfont=footnotesize,
            twoside,
            labelsep=colon
            ]{caption}  
                                    
\usepackage[language=autobib,
    backend=biber                               %%%% switch on/off 
    ]{biblatex}

\usepackage[showframe]{geometry}

%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[
toc,
page,
title,
titletoc,
header
]{appendix}
%%%
\renewcommand{\appendixname}{Appendix}
\renewcommand{\appendixtocname}{Appendix}
\renewcommand{\appendixpagename}{Appendix}
%%%%%%%%%%%%%%%%%%%%%%%%%


\begin{document}

\tableofcontents
\listoffigures %%% only the first two pictures
%\listoftables %%% only tables of the main part (currently no tables)

\chapter{First Chapter}
\section{First  Section}

Hello.

\begin{figure}[htb] 
\includegraphics[width=3cm]{example-image}
\caption{example-image-main-part-1}
\end{figure} 


\begin{figure}[htb]
\includegraphics[width=3cm]{example-image}
\caption{example-image-main-part-2}
\end{figure} 

%%%%%%%%%%%%

\begin{appendices}

%%% here I would like to see the LoF and LoT for the figures/tables of the appendix) %%%

\setcounter{figure}{0}
\renewcommand{\thefigure}{A.\arabic{figure}}

\begin{figure}[htb] 
\includegraphics[width=3cm]{example-image}
\caption{example-image-appendix-1}
\end{figure} 


\begin{figure}[htb] 
\includegraphics[width=3cm]{example-image}
\caption{example-image-appendix-2}
\end{figure} 


\begin{figure}[htb] 
\includegraphics[width=3cm]{example-image}
\caption{example-image-appendix-3}
\end{figure} 


\end{appendices}



\end{document}

在此处输入图片描述

非常感谢您的支持。

相关内容