![“附录”一词出现在附录部分之前的章节最后一页](https://linux22.com/image/468955/%E2%80%9C%E9%99%84%E5%BD%95%E2%80%9D%E4%B8%80%E8%AF%8D%E5%87%BA%E7%8E%B0%E5%9C%A8%E9%99%84%E5%BD%95%E9%83%A8%E5%88%86%E4%B9%8B%E5%89%8D%E7%9A%84%E7%AB%A0%E8%8A%82%E6%9C%80%E5%90%8E%E4%B8%80%E9%A1%B5.png)
我是 LaTeX 新手,我的论文是双面编译的,之前是单面编译的。附录编译得很好,但现在最后一章末尾的附加页上出现了“附录”一词(附图),然后附录开始正常。
我进行了测试编译(代码如下),当我将单独的文档 \include 为附录时,问题就出现了。如果我将附录中的文本放入下面的代码中(替换“\include Testapp\testapp”的位置),它不会添加页面和单词。但我的附录很长,我更愿意将它们分开,并像处理单独的章节一样 \include 它们。
以下是主要代码:
\documentclass[12pt,twoside]{book} %,PageStyleII,times,numbering,print,custombib
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{a4paper} % ... or a4paper or a5paper or ...
\usepackage{floatrow}
\usepackage{setspace}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{graphicx}
\usepackage{lscape}
%\usepackage{float}
\usepackage{booktabs}
\captionsetup[figure]{font={small}, skip=1pt, singlelinecheck=false}
\captionsetup[subfigure]{font={small}, skip=1pt, singlelinecheck=false}
\captionsetup{labelfont=bf}
\captionsetup[table]{font={small}, skip=1pt, singlelinecheck=false}
\raggedbottom
\usepackage{lineno}
\usepackage{mathtools}
\usepackage[all]{nowidow}
\usepackage{tocloft}
\usepackage{xpatch}
\usepackage{enumitem}
%\usepackage{amssymb}
\usepackage{cite}
\usepackage{natbib}
\renewcommand\bibname{References}
\usepackage[nottoc]{tocbibind}
\usepackage{appendix}
\usepackage{chngcntr}
\usepackage{longtable}
\usepackage{color, colortbl}
\definecolor{lightgray}{gray}{0.9}
\floatsetup[table]{capposition=top}
\usepackage{makecell}
\begin{document}
% ******************************** Main Matter *********************************
\mainmatter
\chapter{Assessing the evidence for microenvironments in craters}
\label{chap:micro}
\chaptermark{Microenvironments in craters}
Blah blah blah
%********************************** %5th Section **************************************
\begin{appendices} % Using appendices environment for more functunality
\include{Testapp/testapp}
\end{appendices}
\end{document}
Testapp 代码只是一个文档,上面写着:
\appendix{Appendices}
\appendixpage
\addappheadtotoc
\section{Testapp here}
Blah blah blah
附录包中是否也存在此问题?可以修复吗?谢谢