如何将作者的昵称放在引号中(使用 biblatex)?以下示例在“Doe”后面放置了一个错误的句号:
\documentclass{article}
\usepackage[american]{babel}
\usepackage[strict]{csquotes}
\usepackage[backend=biber, style=alphabetic, firstinits=true]{biblatex}
\begin{filecontents}{test.bib}
@Article{Morgan,
Title = {Article title},
Author = {Hyde, Allan and Morgan, John {\enquote{Doe}} and Jekyll, Martin},
Journal = {Journal title},
Year = {2014}
}
\end{filecontents}
\bibliography{test}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
并且有没有比更智能/更简洁的方式来指定 bib 文件中的引用文本{\enquote{nickname}}
?
答案1
您可以使用biblatex
s\nopunct
宏来抑制这种情况:
\documentclass{article}
\usepackage[american]{babel}
\usepackage[strict]{csquotes}
\usepackage[backend=biber, style=alphabetic, firstinits=true]{biblatex}
\begin{filecontents}{test.bib}
@Article{Morgan,
Title = {Article title},
Author = {Hyde, Allan and Morgan, John {\enquote{Doe}\nopunct} and Jekyll, Martin},
Journal = {Journal title},
Year = {2014}
}
\end{filecontents}
\bibliography{test}
\begin{document}
\nocite{*}
\printbibliography
\end{document}