我正在模板中写一篇论文:\documentclass[letterpaper, 10 pt, conference]{ieeeconf}
。我使用这两个命令行来插入我的参考书目:
\bibliographystyle{IEEEtran}
\bibliography{biblography}
问题在于参考书目打印在半页上,其余部分则打印在下一页。
我搜索了解决方案,并尝试在这里涵盖所有类似的问题。没有一个能解决我的问题。有些答案是关于增加widowpenalty
或clubpentalty
,但都不起作用。
如果有人能帮助我将非常感激。
这是我使用的 main.tex
\documentclass[letterpaper, 10 pt, conference]{ieeeconf} % Comment this line out if you need a4paper
%\documentclass[a4paper, 10pt, conference]{ieeeconf} % Use this line for a4 paper
\IEEEoverridecommandlockouts % This command is only needed if
% you want to use the \thanks command
\overrideIEEEmargins % Needed to meet printer requirements.
%In case you encounter the following error:
%Error 1010 The PDF file may be corrupt (unable to open PDF file) OR
%Error 1000 An error occurred while parsing a contents stream. Unable to analyze the PDF file.
%This is a known problem with pdfLaTeX conversion filter. The file cannot be opened with acrobat reader
%Please use one of the alternatives below to circumvent this error by uncommenting one or the other
%\pdfobjcompresslevel=0
%\pdfminorversion=4
% See the \addtolength command later in the file to balance the column lengths
% on the last page of the document
% The following packages can be found on http:\\www.ctan.org
%\usepackage{graphics} % for pdf, bitmapped graphics files
%\usepackage{epsfig} % for postscript graphics files
%\usepackage{mathptmx} % assumes new font selection scheme installed
%\usepackage{times} % assumes new font selection scheme installed
%\usepackage{amsmath} % assumes amsmath package installed
%\usepackage{amssymb} % assumes amsmath package installed
\usepackage{bm}
\usepackage{float}
\usepackage[pdftex]{graphicx}
\usepackage{fixltx2e}
\usepackage{tabularx}
%\usepackage[latin1]{inputenc}
\usepackage{verbatim}
\usepackage{color}
\usepackage{xparse}
\usepackage{hyperref}
\usepackage{xmpmulti}
\usepackage{transparent}
\usepackage{fancyhdr}
\usepackage{cite}
\usepackage{rotating}
% the following packages can be found on http:\\www.ctan.org
\usepackage{amssymb,amsmath,float}
%\usepackage{algorithm, algpseudocode}
%\usepackage[linesnumbered, algoruled, vlined]{algorithm2e}
\usepackage[ruled, lined, linesnumbered, commentsnumbered, longend]{algorithm2e}
\usepackage{booktabs}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{tikz}
\usepackage{amsthm}
\usepackage{hyperref}
\usepackage{wrapfig}
\usepackage{setspace}
\usepackage{graphicx}
\usepackage{epsfig}
\usepackage[all]{xy}
\usepackage{verbatim}
\usepackage{float}
%\usepackage{txfonts}
\usepackage{mathrsfs}
\usepackage{bm}
\usepackage{multirow}
\usepackage{color,soul}
\usepackage{amssymb,amsmath,graphicx}
\usepackage{amsthm}
\usepackage[compact]{titlesec}
\usepackage{diagbox}
\usepackage{array}
\usepackage{titlesec}
%\usepackage[titletoc,toc,title]{appendix}
\usepackage{units}
\usepackage[export]{adjustbox}
%\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
\newtheorem{theorem}{Theorem}
\pagenumbering{arabic}
\usepackage{mathtools}
\mathtoolsset{showonlyrefs}
\addtolength{\textheight}{-12cm} % This command serves to balance the column lengths
% on the last page of the document manually. It shortens
% the textheight of the last page by a suitable amount.
% This command does not take effect until the next page
% so it should come on the page before the last. Make
% sure that you do not shorten the textheight too much.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\section*{APPENDIX}
%Appendixes should appear before the acknowledgment.
%\section*{ACKNOWLEDGMENT}
%The preferred spelling of the word ÒacknowledgmentÓ in America is without an ÒeÓ after the ÒgÓ. Avoid the stilted expression, ÒOne of us (R. B. G.) thanks . . .Ó Instead, try ÒR. B. G. thanksÓ. Put sponsor acknowledgments in the unnumbered footnote on the first page.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%References are important to the reader; therefore, each citation must be complete and correct. If at all possible, references should be commonly available publications.
\titleformat{\section}{\centering\normalfont\scshape}{\appendixname~\thesection }{0em}{~}
\bibliographystyle{IEEEtran}
\bibliography{biblography}
\end{document}
这是我的格式bibliography.bib
@ARTICLE{Yan2019,
author={Yan, Ruixuan and Xu, Zhe and Julius, Agung},
journal={IEEE Robotics and Automation Letters},
title={Swarm Signal Temporal Logic Inference for Swarm Behavior Analysis},
year={2019},
volume={4},
number={3},
pages={3021-3028},
doi={10.1109/LRA.2019.2924843}}
@article{Rossa2020,
author = {Della Rossa, Fabio and Salzano, Davide and Di Meglio, Anna and De Lellis, Francesco and Coraggio, Marco and Calabrese, Carmela and Guarino, Agostino Cardona-Rivera, Ricardo and De Lellis, Pietro and Liuzza, Davide and Lo Iudice, Francesco and Russo, Giovanni and di Bernardo, Mario},
journal = {Nature Communications},
month = {10},
title = {A Network Model of Italy Shows That Intermittent Regional Strategies Can Alleviate the COVID-19 Epidemic},
volume = {11},
number = {5106},
year = {2020},
doi = {https://doi.org/10.1038/s41467-020-18827-5},
}
@article{Young2017,
author = {Young, Joe and Young, Adam},
journal = {Kaggle},
month = {12},
title = {Rain in Australia},
year = {2017},
url = {https://www.kaggle.com/jsphyg/weather-dataset-rattle-package},
}
这是 IEEEtran.bst 文件 我从哪里得到整个模板
如果问题内容太长,请见谅。
答案1
你有
\addtolength{\textheight}{-12cm}
-12厘米!!! 后面跟着一条评论说小心将页面缩短太多。
只需删除此行即可。