我正在尝试使用 biblatex(我与 biber 一起使用)在引用会议论文集时生成如下引文
Authors (CONF name abbreviation - date)
例如,这张纸应该被引用为(在文中)
Sohl-Dickstein et al. (ICML 2015)
有没有标准方法可以做到这一点?我想我可以利用eventtitle
bibtex 字段,这就是它的用途吗?
我的用例的简化示例:
\documentclass[ignorenonframetext,]{beamer}
\usepackage[backend=biber,bibstyle=authoryear,sorting=ynt]{biblatex}
\addbibresource{./resources/bibliography.bib}
\title{Title}
\begin{document}
\begin{frame}{\textcite{sohl-dicksteinDeepUnsupervisedLearning2015}}
Some explanations on that paper
\end{frame}
\end{document}
当前 bibtex 文件:
@inproceedings{sohl-dicksteinDeepUnsupervisedLearning2015,
title = {Deep {{Unsupervised Learning}} Using {{Nonequilibrium Thermodynamics}}},
booktitle = {Proceedings of the 32nd {{International Conference}} on {{Machine Learning}}},
author = {{Sohl-Dickstein}, Jascha and Weiss, Eric and Maheswaranathan, Niru and Ganguli, Surya},
year = {2015},
month = jun,
pages = {2256--2265},
publisher = {{PMLR}},
issn = {1938-7228},
urldate = {2023-01-07},
langid = {english},
}
预期输出:
- 一个框架,其标题为“Sohl-Dickstein 等(ICML 2015)”(ICML 代表国际机器学习会议)
答案1
您可以创建自己的 cite 命令(\citeconf
在我的示例中),并shorttitle={ICML}
在您的 bibitem 中添加:
\begin{filecontents*}[overwrite]{bibliography.bib}
@inproceedings{sohl-dicksteinDeepUnsupervisedLearning2015,
title = {Deep {{Unsupervised Learning}} Using {{Nonequilibrium Thermodynamics}}},
booktitle = {Proceedings of the 32nd {{International Conference}} on {{Machine Learning}}},
shorttitle={ICML},
author = {{Sohl-Dickstein}, Jascha and Weiss, Eric and Maheswaranathan, Niru and Ganguli, Surya},
year = {2015},
month = jun,
pages = {2256--2265},
publisher = {{PMLR}},
issn = {1938-7228},
urldate = {2023-01-07},
langid = {english},
}
\end{filecontents*}
\documentclass[ignorenonframetext,]{beamer}
\usepackage[bibstyle=authoryear,sorting=ynt]{biblatex}
\addbibresource{bibliography.bib}
\DeclareCiteCommand{\citeconf}
{\boolfalse{citetracker}%
\boolfalse{pagetracker}}
{\printnames{labelname}
\mkbibparens{%
\printfield{shorttitle}%
\addspace%
\printfield{year}%
}%
}
{\multicitedelim}
{}
\title{Title}
\begin{document}
\begin{frame}{\citeconf{sohl-dicksteinDeepUnsupervisedLearning2015}}
Some explanations on that paper
\end{frame}
\begin{frame}{Bibliography}
\printbibliography
\end{frame}
\end{document}