我遇到过这样的情况,我想在 Biblatex 包中使用首字母。但是,有一次,我想将“Fernandez”缩写为“Fdez”。
我知道我可以仅使用“注释”字段手动构建参考,但也许有一种我不知道的更简单的方法?
梅威瑟:
\documentclass{article}
\usepackage[backend=biber, giveninits=true]{biblatex}
\begin{filecontents}{ref.bib}
@article{fernandez2016,
author = {Fernandez Smith},
title = {Title},
journal = {Journal},
year = {2016},
volume = {1},
number = {1},
pages = {1--2}
}
\end{filecontents}
\addbibresource{ref.bib}
\begin{document}
It was first stated by \textcite{fernandez2016} that \ldots
\printbibliography
\end{document}
答案1
由于似乎只有一个条目需要这种特殊的缩写形式,您可以尝试“强力”方法,即替换
author = {Fernandez Smith},
和
author = {{\relax Fdez} Smith},
\RequirePackage{filecontents}
\begin{filecontents}{ref.bib}
@article{fernandez2016,
author = {{\relax Fdez} Smith},
title = {Title},
journal = {Journal},
year = {2016},
volume = {1},
number = {1},
pages = {1--2}
}
\end{filecontents}
\documentclass{article}
\usepackage[backend=biber, giveninits=true]{biblatex}
\addbibresource{ref.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}