在附录(偶数页)的页眉中显示“附录”

在附录(偶数页)的页眉中显示“附录”

我真的不明白为什么“附录”一词没有出现在我的附录标题中,而“参考书目”却出现在我的参考书目页面上。

我做错了什么?

\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

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

Hello.

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

\newpage

\section{Second Section}

Hello again!

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

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

\begin{appendices}

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

\section*{First part of the appendix}
\begin{figure}[htb] 
\includegraphics[width=3cm]{example-image-c}
\caption{example-image-c}
\end{figure} 

\newpage

\section*{Second part of the appendix}
\begin{figure}[htb] 
\includegraphics[width=3cm]{example-image}
\caption{example-image}
\end{figure} 

\newpage

\section*{Third part of the appendix}
\begin{figure}[htb] 
\includegraphics[width=3cm]{example-image}
\caption{example-image2}
\end{figure} 


\end{appendices}


\end{document}

在此处输入图片描述

答案1

使用

    \begin{appendices}
    
    \markboth{Appendix}{Appendix} % added <<<<<

C

相关内容