我有一个 latex 文档,其中使用了附录。但是,附录中的页码位于页面中间,而不是如上所示位于底部中央。
我只有以下两行
\newpage
\appendix
简要概述如下:
\documentclass[conference]{IEEEtran}
\usepackage{tikz}
\usepackage{balance}
\begin{document}
\title{ABCD}
\maketitle
\thispagestyle{plain}
\pagestyle{plain}
\begin{abstract}
Abstract goes here.
\end{abstract}
\begin{IEEEkeywords}
ABCD
\end{IEEEkeywords}
\section{Introduction}
This is a paper.
\section{Realted Work}
These are related works.
\section{Methodology}
This is the methodology.
\section{Conclusion}
This is the conclusion
\newpage
\balance
\begin{thebibliography}{00}
bibitem{b1} this is reference
\end{thebibliography}
\vspace{12pt}
\newpage
\appendix
some texts
\begin{tikzpicture}
\end{tikzpicture}
some texts
\begin{tikzpicture}
\end{tikzpicture}
some texts
\begin{tikzpicture}
\end{tikzpicture}
\end{document}
错误根源可能是什么?
答案1
您的 MWE 工作正常(在纠正参考书目错误后)。为了确认和测试,我使用包生成的一些虚拟文本扩展了您的 MWE lipsum
:
\documentclass[conference]{IEEEtran}
\usepackage{tikz}
\usepackage{balance}
\usepackage{lipsum} % added for dummy text in MWE
\begin{document}
\title{ABCD}
\maketitle
\thispagestyle{plain}
\pagestyle{plain}
\begin{abstract}
\lipsum[66]
\end{abstract}
\begin{IEEEkeywords}
ABCD
\end{IEEEkeywords}
\section{Introduction}
This is a paper.
\lipsum[66]
\section{Realted Work}
These are related works.
\lipsum[66]
\section{Methodology}
This is the methodology.
\lipsum[66]
\section{Conclusion}
This is the conclusion
\lipsum[66]
%\newpage removed, that `\balance` has effect
\balance
\begin{thebibliography}{00}
\bibitem{b1} this is reference % corrected bibitem to \bibitem
\end{thebibliography}
\vspace{12pt}
\clearpage
\appendix
\lipsum[1-2]
\begin{center}
\begin{tikzpicture}
\node[draw, align=center] {some\\image};
\end{tikzpicture}
\end{center}
some texts
\begin{center}
\begin{tikzpicture}
\node[draw, align=center] {some\\image};
\end{tikzpicture}
\end{center}
some texts
\begin{center}
\begin{tikzpicture}
\node[draw, align=center] {some\\image};
\end{tikzpicture}
\end{center}
\end{document}
给出
在我的测试中我使用了几天前更新的最新 MikTeX。