我无法缩小参考书目部分。这很重要,因为我正在申请 NSF 研究生奖学金,他们希望所有内容都适合 2 页。现在的样子如下:
\documentclass[12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{setspace}
\usepackage{placeins}
\usepackage[abbr]{harvard}
\usepackage{bib}
\usepackage{fancyhdr}
\usepackage{graphicx}
This is the body of my essay.
\bibliographystyle{apsr}
\bibliography{bibtex}
\end{document}
注意我使用的是apsr
参考书目样式。不幸的是,弹出的参考书目占用了太多空间。字References
很大,并且每个引用的作品之间都有空格。如何缩小References
和/或删除每个引用的作品之间的空格?
答案1
更改环境的定义thebibliography
以便 a) 将参考书目标题排版为小节而不是节 b) 将长度设置\itemsep
为\parskip
0pt。
\documentclass{article}
\usepackage[abbr]{harvard}
\usepackage{etoolbox}
\patchcmd{\thebibliography}{%
\section*{\refname}%
}{%
\subsection*{\refname}%
}{}{}
\apptocmd{\thebibliography}{%
\setlength{\itemsep}{0pt}%
\setlength{\parskip}{0pt}%
}{}{}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{A01,
author = {Author, A.},
year = {2001},
title = {Alpha},
}
@misc{B02,
author = {Buthor, B.},
year = {2002},
title = {Bravo},
}
@misc{C03,
author = {Cuthor, C.},
year = {2003},
title = {Charlie},
}
\end{filecontents}
\begin{document}
\nocite{*}
\section{foo}
This is the body of my essay.
A second paragraph.
\bibliographystyle{apsr}
\bibliography{\jobname}
\end{document}