我是 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
附录包中是否也存在此问题?可以修复吗?谢谢