
我一直在使用弗拉森德包以平衡最後一頁,其中包含參考文獻,但我想如果我找不到這個問題的答案,我需要放棄它。似乎當與 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 應包含足夠的引文以進入第二頁的 2 列,包括:
@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」軟體包之間不相容!-- 我猜flusend 破壞了很多東西 -- 但我在那裡沒有看到合適的答案。
更新:剛剛注意到這個問題出現在使用 2016 年版權版本的 fllushend 的新建系統中,但在使用 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}