当使用该软件包以“哈佛风格”引用双姓氏时natbib
,有时会出现引用开头位于一行末尾的情况。似乎natbib
不允许在双姓氏内使用换行符(即使姓名之间有空格)。
那么问题来了,如何才能避免这个问题呢?下面是这种行为的实际后果示例:
我是 LaTeX 新手,使用复杂的论文模板,不知道如何减少边距,以便重现之前屏幕截图中的情况。因此,最小示例代码需要进一步的对齐设置。如果您考虑尝试解决这个问题,我将不胜感激。
\documentclass[11pt]{article}
\usepackage[authoryear, comma]{natbib} %
\usepackage{verbatim,filecontents} %
\begin{filecontents*}{\jobname.bib}
@article{mochales2009,
author = {Mochales Palau, Raquel and Ieven, Aagje},
title = {Funny Article About the Name of the Elephant},
journal = {Elephant Intelligence and Human Reactions},
year = {2009},
numpages = {22},
publisher = {Serious Publisher},
address = {Western Pacific, Easter Islands},
}
\end{filecontents*}
\setlength{\textwidth}{9.5cm}
\begin{document}
Other argumentation based issues are ambiguity of theory, ambiguity of
argumentation itself and subjectivity of the interpretation of written
arguments \citep[p. 21]{mochales2009}. They used the structured part of
the Araucaria corpus.
\bibliographystyle{plainnat}
\bibliography{\jobname}
\end{document}
答案1
有点笨拙,但它有效[!]:\allowbreak
在姓氏的第一部分后插入一个指令,即,将字段写author
为
author = {Mochales\allowbreak Palau, Raquel and Ieven, Aagje},
完整 MWE 的输出如下:
\documentclass[11pt]{article}
\usepackage[authoryear, comma]{natbib}
\usepackage{verbatim,filecontents}
\usepackage[colorlinks,allcolors=blue]{hyperref} % just for this example
\begin{filecontents*}{mybib.bib}
@article{mochales2009,
author = {Mochales\allowbreak Palau, Raquel and Ieven, Aagje},
title = {Funny Article About the Name of the Elephant},
journal = {Elephant Intelligence and Human Reactions},
year = {2009},
numpages = {22},
publisher = {Serious Publisher},
address = {Western Pacific, Easter Islands},
}
\end{filecontents*}
\setlength{\textwidth}{9.5cm}
\begin{document}
Other argumentation based issues are ambiguity of theory, ambiguity of
argumentation itself and subjectivity of the interpretation of written
arguments \citep[p.~21]{mochales2009}. They used the structured part of
the Araucaria corpus.
\bibliographystyle{plainnat}
\bibliography{mybib}
\end{document}