书的前言标题

书的前言标题

“表格列表”标题在前言的其余部分(前言、致谢、致谢、注释)中一直存在,只有在正文开始时才会消失。这是 Fancyheader 的问题还是前言中项目的规范问题(或其他问题)?谢谢。

\documentclass[a4paper,11pt]{book}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{type1cm}
\usepackage[table]{xcolor}
\usepackage{musicography}
\usepackage[a4paper]{geometry}
\usepackage[british]{babel}
\usepackage{amsmath}
\usepackage{mathrsfs}
\usepackage{wasysym}
\usepackage{verbatim}
\usepackage{comment}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\usetikzlibrary{shapes,backgrounds,chains,positioning}
\usepackage{forest}
\usepackage{smartdiagram}
\usesmartdiagramlibrary{additions}
\usepackage{rotating}
\usepackage{tablefootnote}
\usepackage{hyperref}
\usepackage{apacite}
\usepackage[xindy,nonumberlist]{glossaries}
\makeglossaries\input{./Glossary/glossary}
\usepackage{makeidx}
\makeindex
\usepackage{float}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{array}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{slashbox}
\usepackage{multirow}
\usepackage{standalone}
\usepackage{url}
\usepackage{enumitem}
\usepackage{fancyhdr}
\pagestyle{fancy}
\setlength{\headheight}{15pt}
\lhead{\nouppercase{\rightmark}}
\rhead{\nouppercase{\leftmark}}
\renewcommand{\headrulewidth}{0pt}
%\emergencystretch 3em

\begin{document}

\makeatletter
\hyphenation{
  \@@input ./Hyphenation/hyphenation.txt
}
\makeatother

\frontmatter
\author{}
\date{}
\title{}
\maketitle
\include{./TeX_files/dedication}
\tableofcontents\setcounter{tocdepth}{4}
\listoffigures
\listoftables
\include{./TeX_files/preface}
\include{./TeX_files/acknowledgements}
\include{./TeX_files/credits}
\include{./TeX_files/note}

\mainmatter
\include{./TeX_files/chapter01}
\include{./TeX_files/chapter02}
\include{./TeX_files/chapter03}
\include{./TeX_files/chapter04}
\include{./TeX_files/chapter05}
\include{./TeX_files/chapter06}
\include{./TeX_files/chapter07}

\backmatter
\cleardoublepage
\phantomsection
\bibliographystyle{apacite}
\bibliography{../../../BibTeX/library}
\setglossarystyle{list}
\glsaddall
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Glossary}
\printglossary
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Index}
\printindex

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

相关内容