如何在 beamer 演示文稿的标题页中引用论文?

如何在 beamer 演示文稿的标题页中引用论文?

我应该根据一篇论文做一个 Beamer 演示,我需要在标题页上引用该论文。我如何在标题页上引用参考文献?我有“\title{}”、“\date{}”和“\institute{}”等选项,但我没有“\journal{}”之类的选项。请帮帮我。

答案1

您可以通过将引文放在\titlepage命令下方来引用您的论文。以下是示例。如果您不使用 inspire,请将其替换\Cite\cite

\documentclass[handout]{beamer}
\usepackage[round,longnamesfirst]{natbib}
\begin{filecontents*}{\jobname.bib}
@Article{Witten:1985xb,
     author    = "Witten, Edward",
     title     = "DIMENSIONAL REDUCTION OF SUPERSTRING MODELS",
     journal   = "Phys. Lett.",
     volume    = "B155",
     year      = "1985",
     pages     = "151",
     SLACcitation  = "%%CITATION = PHLTA,B155,151;%%"
}
\end{filecontents*}

\newcommand{\Cite}[1]{%
\href{http://inspirehep.net/search?p=#1}{\citet*{#1}}
}

\title{\Large Citing on a beamer titlepage} %
\author{An anonymous marmot}

\date{yesterday}


\begin{document}
\begin{frame}[plain]
\begin{overlayarea}{\textwidth}{\textheight}
\titlepage

Just put your citation here \Cite{Witten:1985xb}

The point is that you may put anything below the \texttt{titlepage} command.

Don't forget to run \texttt{bibtex}

\end{overlayarea}
\end{frame}
\appendix

\section{Appendix}

\subsection{References}

\begin{frame}[allowframebreaks]{References}
\def\newblock{\hskip .11em plus .33em minus .07em}
\bibliographystyle{plainnat}
\bibliography{\jobname}
\end{frame}
\end{document}

编辑如果要在标题页上显示参考文献,请使用

\documentclass[handout]{beamer}
\usepackage[round,longnamesfirst]{natbib}
\begin{filecontents*}{\jobname.bib}
@Article{Witten:1985xb,
     author    = "Witten, Edward",
     title     = "DIMENSIONAL REDUCTION OF SUPERSTRING MODELS",
     journal   = "Phys. Lett.",
     volume    = "B155",
     year      = "1985",
     pages     = "151",
     SLACcitation  = "%%CITATION = PHLTA,B155,151;%%"
}
\end{filecontents*}

\newcommand{\Cite}[1]{%
\href{http://inspirehep.net/search?p=#1}{\citet*{#1}}
}

\title{\Large Citing on a beamer titlepage} %
\author{An anonymous marmot}

\date{yesterday}


\begin{document}
\begin{frame}[plain]
\begin{overlayarea}{\textwidth}{\textheight}
\titlepage

Just put your citation here \Cite{Witten:1985xb}

The point is that you may put anything below the \texttt{titlepage} command.

Don't forget to run \texttt{bibtex}

\def\newblock{\hskip .11em plus .33em minus .07em}
\bibliographystyle{plainnat}
\bibliography{\jobname}

\end{overlayarea}
\end{frame}

当然,如果您有多个参考文献,它们可能不适合放在标题页上,但这是另一个问题。

答案2

也许\fullcitebiblatex 的命令可以有帮助?

\documentclass{beamer}

\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{einstein,
author = {Einstein, A.},
title = {Die Grundlage der allgemeinen Relativit\"atstheorie},
journal = {Annalen der Physik},
volume = {354},
number = {7},
pages = {769--822},
year = {1916}
}
\end{filecontents*}

\usepackage{biblatex}
\addbibresource{\jobname.bib}

\title[Paper summary]{Paper summary: \fullcite{einstein}}
\author{name}
\date{\today}

\begin{document}

\begin{frame}[plain]
    \titlepage
\end{frame} 

\begin{frame}
\printbibliography
\end{frame}


\end{document}

在此处输入图片描述

相关内容