我已经在 latex 模板中添加了引用。问题如下图所示。
如果您看到最后一个引用,它会向左移动一点。我发现它只出现在最后一个引用中,无论哪个引用排在最后。我认为这可能是一个模板问题。
这是 MWE
\documentclass{fcs}
\usepackage{bm}
\volumn{ }
\doi{ }
\articletype{REVIEW~ARTICLE}
\copynote{{\copyright} Higher Education Press and Springer-Verlag Berlin Heidelberg 2012}
\ratime{Received month dd, yyyy; accepted month dd, yyyy}
\email{$\times\times\times\times@\times\times\times.\times\times\times$}
\title{$\bm{Frontiers~ of~ Computer~ Science}$\\[2mm] Instruction for authors}
\author{Firstname LASTNAME \xff $^{1,2}$}
\address{{1\quad Higher Education Press, Beijing 100029, China}\\
{2\quad Acadcmic Journal Division, Beijing 100029, China}}
\markboth{Front. Comput. Sci.}{Firstname LASTNAME: please insert running head here}
\begin{document}
\maketitle
\setcounter{page}{1}
\setlength{\baselineskip}{14pt}
\begin{abstract}
A short abstract of up to 300 words written in one
paragraph, clearly indicating the object and scope of the paper as
well as the results achieved, should appear on the first page. It
should be written using the abstract environment.
\end{abstract}
\Keywords{Up to 8 words separated by commas.}
\section{Introduction}
\noindent Frontiers of Computer Science is an international
peer-reviewed academic journal sponsored by the Ministry of
Education of China. The journal is jointly published by Higher
Education Press of China and Springer on a bimonthly basis in
English. Online versions are available through both
http://www.springerlink.com/content/11704 and
http://journal.hep.com.cn/fcs.
In-text citations must agree with the references in either numbering
or names and year. The references should be presented completely and
without mistakes, and should be the original publication. We use the
citation-sequence system, that is to number the citations according
to sequence of their first appearance. Journal names should be
spelled out in full. Examples are given in \cite{KargerD,Mastroianni,SchlessingerD,ZhugeH}.
\Acknowledgements{The ``Acknowledgement section'' is the general
term for the list of contributions etc}
\begin{thebibliography}{99}
\bibitem{Mastroianni} Verta O. Mastroianni C, Talia D. A super-peer model for resource
discovery services in large-scale grids. Future Generation Computer
Systems, 2005, 21(8): 1235--1248
\bibitem{ZhugeH} Zhuge H. The Knowledge Grid. Singapore: World Scientific Publishing Co., 2004
\bibitem{SchlessingerD}
Schlessinger D. Schaechter M. Bacterial toxins. In: Schaechter M,
Medoff G, Eisenstein BI, eds. Mechanisms of microbial disease. 2nd
ed. Baltimore: Williams and Wilkins, 1993, 162--175
\bibitem{KargerD}
Karger D. Ruhl M. Simple efficient load balancing algorithms for
peer-to-peer systems. In: Proceedings of Sixteenth Annual ACM
Symposium on Parallelism in Algorithm and Architectures. 2004,
36--40
\end{thebibliography}
%% \Biography{#1}{#2}
%% #1 is the file name of photo,
%% #2 is author's biography
\Biography{fcs-2}{Please provide each author's biography here with no
more than 120 words. The photo can be informal. Our journal prefers
to exhibit an encouraging atmosphere. Please use a one that best
suits our journal.}
\end{document}
它也出现在以下情况下 1) 如果没有传记 2) 即使以这种方式添加了书目\bibliographystyle{unsrt} \bibliography{oo}
经过大量研发后,我了解到这可能是一个模板问题。有什么方法可以解决它。
以下是截图 不管结尾是什么,无论是传记还是参考,都会出现这个问题。
FCS latex模板可以在以下网址下载:journal.hep.com.cn/fcs/EN/column/column11258.shtml
答案1
模板出了点问题。我无法准确追踪到问题所在,但最后一行的问题适用于多种情况。我认为这是由与包的交互引起的flushend
;fcs.cls
正在重新定义一些基本内部命令,并flushend
需要一定数量的标准定义。
更新 27/2/2016
正如@boutinma 的另一个回答所指出的那样,flushend
由 加载的包fcs
有一个新选项keeplastbox
可以修复此问题。不,您可以直接写
\documentclass[keeplastbox]{fcs}
这也适用于评论中提到的边缘情况。
\documentclass[keeplastbox]{fcs}
\usepackage{bm}
\volumn{ }
\doi{ }
\articletype{REVIEW~ARTICLE}
\copynote{{\copyright} Higher Education Press and Springer-Verlag
Berlin Heidelberg 2012}
\ratime{Received month dd, yyyy; accepted month dd, yyyy}
\email{$\times\times\times\times@\times\times\times.\times\times\times$}
\title{$\bm{Frontiers~ of~ Computer~ Science}$\\[2mm] Instruction for authors}
\author{Firstname LASTNAME \xff $^{1,2}$}
\address{{1\quad Higher Education Press, Beijing 100029, China}\\
{2\quad Acadcmic Journal Division, Beijing 100029, China}}
\markboth{Front. Comput. Sci.}{Firstname LASTNAME: please insert
running head here}
\begin{document}
\maketitle
\setcounter{page}{1}
\setlength{\baselineskip}{14pt}
\begin{abstract}
A short abstract of up to 300 words written in one
paragraph, clearly indicating the object and scope of the paper as
well as the results achieved, should appear on the first page. It
should be written using the abstract environment.
\end{abstract}
\Keywords{Up to 8 words separated by commas.}
\section{Introduction}
Examples are given in
\cite{KargerD,Mastroianni,SchlessingerD,ZhugeH}.
\Acknowledgements{The ``Acknowledgement section'' is the general
term for the list of contributions etc}
\begin{thebibliography}{99}
\bibitem{Mastroianni} Verta O. Mastroianni C, Talia D. A super-peer
model for resource discovery services in large-scale grids. Future
Generation Computer Systems, 2005, 21(8): 1235--1248
\bibitem{ZhugeH} Zhuge H. The Knowledge Grid. Singapore: World
Scientific Publishing Co., 2004
\bibitem{SchlessingerD} Schlessinger D. Schaechter M. Bacterial
toxins. In: Schaechter M, Medoff G, Eisenstein BI, eds. Mechanisms
of microbial disease. 2nd ed. Baltimore: Williams and Wilkins, 1993,
162--175
\bibitem{KargerD} Karger D. Ruhl M. Simple efficient load balancing
algorithms for peer-to-peer systems. In: Proceedings of Sixteenth
Annual ACM Symposium on Parallelism in Algorithm and
Architectures. 2004, 36--40
\end{thebibliography}
\end{document}
新答案(比旧版简单多了)
\par\leavevmode
一个通用的解决方法是在文档结尾前添加。由于etoolbox
已经加载,可以通过发出以下命令来实现
\AtEndDocument{\par\leavevmode}
在序言中。
\documentclass{fcs}
\usepackage{bm}
\AtEndDocument{\par\leavevmode}
\volumn{ }
\doi{ }
\articletype{REVIEW~ARTICLE}
\copynote{{\copyright} Higher Education Press and Springer-Verlag
Berlin Heidelberg 2012}
\ratime{Received month dd, yyyy; accepted month dd, yyyy}
\email{$\times\times\times\times@\times\times\times.\times\times\times$}
\title{$\bm{Frontiers~ of~ Computer~ Science}$\\[2mm] Instruction for authors}
\author{Firstname LASTNAME \xff $^{1,2}$}
\address{{1\quad Higher Education Press, Beijing 100029, China}\\
{2\quad Acadcmic Journal Division, Beijing 100029, China}}
\markboth{Front. Comput. Sci.}{Firstname LASTNAME: please insert
running head here}
\begin{document}
\maketitle
\setcounter{page}{1}
\setlength{\baselineskip}{14pt}
\begin{abstract}
A short abstract of up to 300 words written in one
paragraph, clearly indicating the object and scope of the paper as
well as the results achieved, should appear on the first page. It
should be written using the abstract environment.
\end{abstract}
\Keywords{Up to 8 words separated by commas.}
\section{Introduction}
Examples are given in
\cite{KargerD,Mastroianni,SchlessingerD,ZhugeH}.
\Acknowledgements{The ``Acknowledgement section'' is the general
term for the list of contributions etc}
\begin{thebibliography}{99}
\bibitem{Mastroianni} Verta O. Mastroianni C, Talia D. A super-peer
model for resource discovery services in large-scale grids. Future
Generation Computer Systems, 2005, 21(8): 1235--1248
\bibitem{ZhugeH} Zhuge H. The Knowledge Grid. Singapore: World
Scientific Publishing Co., 2004
\bibitem{SchlessingerD} Schlessinger D. Schaechter M. Bacterial
toxins. In: Schaechter M, Medoff G, Eisenstein BI, eds. Mechanisms
of microbial disease. 2nd ed. Baltimore: Williams and Wilkins, 1993,
162--175
\bibitem{KargerD} Karger D. Ruhl M. Simple efficient load balancing
algorithms for peer-to-peer systems. In: Proceedings of Sixteenth
Annual ACM Symposium on Parallelism in Algorithm and
Architectures. 2004, 36--40
\end{thebibliography}
\end{document}
这可能会在文档末尾添加一个空白行,但确实修复了糟糕的行距。之前的实验让我发现这\leavevmode
解决了列表和之后的问题thebibliogarphy
,但这在命令\par\leavevmode
之后是必需的\Biography
。实际上,该类需要重写。
答案2
当我包括时我遇到了同样的问题
\documentclass[conference]{IEEEtran}
\usepackage{flushend}
[keeplastbox]
如果我简单地使用这样的选项,问题就解决了:
\usepackage[keeplastbox]{flushend}