使用 bibtex/natbib 删除 Beamer 文档中的参考文献部分

使用 bibtex/natbib 删除 Beamer 文档中的参考文献部分

我有一个 beamer 文档,正在使用natbib带有样式的包apalike。现在,这会自动创建一个参考部分,该部分在所有幻灯片的标题中显示为“参考”。我如何删除此部分,即不再使其显示在标题中?

梅威瑟:

\documentclass{beamer}
\usetheme{Berlin}

\usepackage{natbib}
\bibliographystyle{apalike}

\begin{document}

\begin{frame}
\citep{amos}
\end{frame}

\begin{frame}
\bibliography{my_bibtex}
\end{frame}

\end{document}

我的_bibtex:

@misc{amos,
doi = {10.48550/ARXIV.2206.05262},
url = {https://arxiv.org/abs/2206.05262},
author = {Amos, Brandon and Cohen, Samuel and Luise, Giulia and Redko, Ievgen},
keywords = {Machine Learning (cs.LG), Artificial Intelligence (cs.AI), Machine Learning (stat.ML), FOS: Computer and information sciences, FOS: Computer and information sciences},
title = {Meta Optimal Transport},
publisher = {arXiv},
year = {2022},
copyright = {Creative Commons Attribution 4.0 International}
}

答案1

您可以重新定义\bibsection宏:

\documentclass{beamer}
\usetheme{Berlin}

\usepackage{natbib}
\bibliographystyle{apalike}
\renewcommand{\bibsection}{}

\begin{filecontents*}[overwrite]{\jobname.bib}
@misc{amos,
doi = {10.48550/ARXIV.2206.05262},
url = {https://arxiv.org/abs/2206.05262},
author = {Amos, Brandon and Cohen, Samuel and Luise, Giulia and Redko, Ievgen},
keywords = {Machine Learning (cs.LG), Artificial Intelligence (cs.AI), Machine Learning (stat.ML), FOS: Computer and information sciences, FOS: Computer and information sciences},
title = {Meta Optimal Transport},
publisher = {arXiv},
year = {2022},
copyright = {Creative Commons Attribution 4.0 International}
}

\end{filecontents*}

\begin{document}

\begin{frame}
\citep{amos}
\end{frame}

\begin{frame}
\bibliography{\jobname}
\end{frame}

\end{document}

相关内容