IEEETran、bibtex 和 flushend 之间的交互

IEEETran、bibtex 和 flushend 之间的交互

我一直在使用冲洗包来平衡包含参考文献的最后一页,但如果我找不到答案,我想我需要放弃它。似乎当与 IEEEtran 和 bibtex 一起使用时,特别是 acm 书目样式,右列会发生两种糟糕的事情之一。根据布局方式,我可能会发现右列的最后一行不像所有其他行那样缩进。使用前导句点表示空格:

[29] ZHU, B., LI, K., AND PATTERSON, H. Avoiding the disk bottleneck in
.....the data domain deduplication file system. In USENIX Conference on
File and Storage Technologies (FAST), 2008.

或者,我可能会完全隐去最后那句话,甚至更奇怪!

[29] ZHU, B., LI, K., AND PATTERSON, H. Avoiding the disk bottleneck in
.....the data domain deduplication file system. In USENIX Conference on

我不能发布我的整篇论文,但也许我可以展示一个最简单的例子。我想先问问是否有人遇到过这个问题,并希望能够解决它。(除了放弃冲洗,这很明显,但不能令人满意。)

以下是 MWE 模板:

\documentclass[letterpaper,twocolumn,10pt,conference]{IEEEtran}

\usepackage{lipsum}
\usepackage{flushend}

\begin{document}

\lipsum
\cite{
% add a bunch of references from mwe.bib here -- 
% don't matter which as long as they appear before the one I see breaking 
% each time, zhu
zhu
}

  \bibliographystyle{acm}
  \bibliography{mwe}    
\end{document}

mwe.bib 应该包含足够的引用以进入第二页的两列,其中包括:

@inproceedings{zhu,
  author =        {Benjamin Zhu and Kai Li and Hugo Patterson},
  booktitle =     {USENIX Conference on File and Storage Technologies
                   (FAST'08)},
  month =         {Feb},
  title =         {Avoiding the Disk Bottleneck in the {D}ata {D}omain
                   Deduplication File System},
  year =          {2008},
}

我无法强制显示我看到的最后一行不出现的示例,尽管我始终看到缩进乱七八糟。将一些参考书目复制到 mwe.bib 并在文档正文中添加一些引文。

附言:这可能与“flushend”和“lineno”包之间不兼容!——我猜测 flushend 破坏了多个东西——但我没有看到合适的答案。

更新:刚刚注意到该问题出现在使用版权至 2016 年的 flushend 版本的新建系统中,但不会出现在使用版权至 2014 年版本的旧系统中。

答案1

\usepackage[keeplastbox]{flushend}

可以修复该问题。请参阅平衡双列 LaTeX 文档的最后一页

更新:示例(省略大多数注释);在我看来,使用 tikz 包导致了问题。

%% bare_conf.tex
%% V1.4b
%% 2015/08/26
%% by Michael Shell
%% See:
%% http://www.michaelshell.org/
%% for current contact information.
%%
%% This is a skeleton file demonstrating the use of IEEEtran.cls
%% (requires IEEEtran.cls version 1.8b or later) with an IEEE
%% conference paper.
%%
%% Support sites:
%% http://www.michaelshell.org/tex/ieeetran/
%% http://www.ctan.org/pkg/ieeetran
%% and
%% http://www.ieee.org/


\documentclass[conference]{IEEEtran}

\hyphenation{op-tical net-works semi-conduc-tor}

\usepackage{tikz}
\usepackage{flushend}
%\usepackage[keeplastbox]{flushend}

\usepackage{filecontents}
\begin{filecontents*}{test.bib}

@inproceedings{zhu,
  author =        {Benjamin Zhu and Kai Li and Hugo Patterson},
  booktitle =     {USENIX Conference on File and Storage Technologies
                   (FAST'08)},
  month =         {Feb},
  title =         {Avoiding the Disk Bottleneck in the {D}ata {D}omain
                   Deduplication File System},
  year =          {2008},
}
\end{filecontents*}




\begin{document}

\title{Bare Demo of IEEEtran.cls\\ for IEEE Conferences}

\author{\IEEEauthorblockN{Michael Shell}}

\maketitle

\begin{abstract}
The abstract goes here.
\end{abstract}

\IEEEpeerreviewmaketitle

\section{Introduction}

This demo file is intended to serve as a ``starter file''
for IEEE conference papers produced under \LaTeX\ using
IEEEtran.cls version 1.8b and later.

I wish you the best of success.

\hfill mds

\hfill August 26, 2015

\subsection{Subsection Heading Here}
Subsection text here. Citations here \cite{zhu}.

\subsubsection{Subsubsection Heading Here}
Subsubsection text here.

\section{Conclusion}
The conclusion goes here.

\section*{Acknowledgment}
The authors would like to thank...

\bibliographystyle{IEEEtran}
\bibliography{test}


\end{document}

输出为: \usepackage{flushend}

如果使用 \usepackage[keeplastbox]{flushend},结果是: 保留最后一个框

相关内容