如何缩短 bibtex 中的组名,以便只有缩写出现在文本中
How to shorten the group name in bibtex so that only the abbreviation appears in the text
我想引用欧盟委员会在 bibtex (latex) 中的一份报告。在参考文献列表中,我希望有全名,但在正文中,我只希望出现缩写。我正在使用 elsarticle-harv 书目风格。
这是一个例子:
正文:
欧盟委员会在 2016 年同意......(EC,2016)。
参考资料:
欧盟委员会 (EC),2016 年。来自 ......
的通讯
这是我当前的双分词:
@misc{EC2016,
title = {{Communication from the Commission to the European Parliament, the Council, the European Economic and Social Committee and the Committee of the Regions: An EU Strategy on Heating and Cooling}},
author = {{EC}},
year = {2016}
}
您可以通过 natbib 包定义引用别名。
\documentclass{article}
\usepackage{natbib}
\defcitealias{EC2016}{(EC, 2016)}
\usepackage{filecontents}
\begin{filecontents}{references.bib}
@misc{EC2016, title = {{Communication from the Commission to the European Parliament, the Council, the European Economic and Social Committee and the Committee of the Regions: An EU Strategy on Heating and Cooling}}, author = {{European Commission (EC)}}, year = {2016}}
\end{filecontents}
\bibliographystyle{elsarticle-harv}
\begin{document}
\citetalias{EC2016}
\bibliography{references}
\end{document}
我想引用欧盟委员会在 bibtex (latex) 中的一份报告。在参考文献列表中,我希望有全名,但在正文中,我只希望出现缩写。我正在使用 elsarticle-harv 书目风格。
这是一个例子:
正文: 欧盟委员会在 2016 年同意......(EC,2016)。
参考资料: 欧盟委员会 (EC),2016 年。来自 ......
的通讯这是我当前的双分词:
@misc{EC2016,
title = {{Communication from the Commission to the European Parliament, the Council, the European Economic and Social Committee and the Committee of the Regions: An EU Strategy on Heating and Cooling}},
author = {{EC}},
year = {2016}
}
您可以通过 natbib 包定义引用别名。
\documentclass{article}
\usepackage{natbib}
\defcitealias{EC2016}{(EC, 2016)}
\usepackage{filecontents}
\begin{filecontents}{references.bib}
@misc{EC2016, title = {{Communication from the Commission to the European Parliament, the Council, the European Economic and Social Committee and the Committee of the Regions: An EU Strategy on Heating and Cooling}}, author = {{European Commission (EC)}}, year = {2016}}
\end{filecontents}
\bibliographystyle{elsarticle-harv}
\begin{document}
\citetalias{EC2016}
\bibliography{references}
\end{document}