![如何在文本中使用与参考书目不同的作者姓名](https://linux22.com/image/396131/%E5%A6%82%E4%BD%95%E5%9C%A8%E6%96%87%E6%9C%AC%E4%B8%AD%E4%BD%BF%E7%94%A8%E4%B8%8E%E5%8F%82%E8%80%83%E4%B9%A6%E7%9B%AE%E4%B8%8D%E5%90%8C%E7%9A%84%E4%BD%9C%E8%80%85%E5%A7%93%E5%90%8D.png)
我使用 Biblatex 样式authoryear
。我想在使用该\citet
命令时显示作者姓名(实际上是组织)的缩写,但我希望在参考书目中显示全名。我该如何实现?
答案1
您正在寻找shortauthor
。该shortauthor
字段可以包含该字段的“较短”(缩写)版本author
。还有shorteditor
,它对 执行相同的操作editor
。
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=authoryear, backend=biber]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{nasa,
author = {{National Aeronautics and Space Administration}},
shortauthor = {NASA},
title = {How to Fake the Moon Landing},
date = {1960},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\cite{nasa} or \textcite{nasa}
\printbibliography
\end{document}