LaTeX 生成仅包含参考书目中某个点的行

LaTeX 生成仅包含参考书目中某个点的行

如果引用的长度不同,则引用末尾自动设置的点会出现在下一行:

在此处输入图片描述

我使用natbibbibiographystyleagsm作为参考。这是我的最小示例:

\documentclass[11pt,a4paper, twoside]{scrartcl}
\usepackage[english]{babel}
\usepackage{natbib}
\usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=2cm]{geometry}
\bibliographystyle{agsm}

\begin{document}

I want to cite these guys \citep{guys2015}.

\bibliography{literature}

\end{document}

和我的literature.bib

@Article{guys2015,
author = {AutorA, A. and AutorB, B. and AutorC, B. and others},
title = {{Title of the reference Title of the reference Title of the reference Title of the reference Title of the reference Title of the r}},
journal = {{Journal name}},
year = {2012}
}

几何图形是必需的,而且显然我不能更改参考文献的名称。我怎样才能让 LaTeX 将此点打印在第二行末尾,以避免我的参考文献中只有一行由一个点组成?

答案1

在这样的例子中,.bbl文件具有

{\em {Journal Name}} . 

这样可以在句号前停顿一下。这可能是因为设计者希望你也为这些条目指定卷号和页码等,而没有预料到期刊名称是最后一项。例如,添加卷号,如

@Article{guys2015,
  author =   {AutorA, A. and AutorB, B. and AutorC, B. and others},
  title =    {Title of the reference},
  journal =  {Journal name},
  volume =   12,
  year =     {2012}
}

生成一个.bbl文件

\harvarditem[AutorA et~al.]{AutorA, AutorB, AutorC et~al.}{2012}{guys2015}
AutorA, A., AutorB, B., AutorC, B. et~al.  \harvardyearleft
  2012\harvardyearright , `Title of the reference', {\em Journal name} {\bf
  12}.

最后一项和句号之间没有空格。

示例输出

\documentclass[11pt,a4paper, twoside]{scrartcl}

\usepackage[english]{babel}
\usepackage{natbib}
\usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=2cm]{geometry}
\bibliographystyle{agsm}

\begin{document}

I want to cite these guys \citep{guys2015}.

\bibliography{literature}

\end{document}

相关内容