如何在脚注中使用作者/期刊/年份引用创建新命令

如何在脚注中使用作者/期刊/年份引用创建新命令
\documentclass{beamer}


\usepackage[backend=bibtex]{biblatex}%backend=biber, natbib=true, style=chem-acs
\bibliography{oralspaper}


\DeclareCiteCommand{\citejournal}%%%creating \citejournal command
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
    \usebibmacro{journal}}
  {\multicitedelim}
  {\usebibmacro{postnote}}


\newcommand{\scicite}[3]{\citeauthor{#1}, \citejournal{#1}, \citeyear{#1}}

%%%%%%I want to incorporate the \footnote environment into the new command (below) but I get an error

%%%%%%\newcommand{\scicitefoot}[3]{\let\thefootnote\relax\footnotetext{\citeauthor{#1}, \citejournal{#1}, \citeyear{#1}}}%\scicite{} is footnote presentation style citation



\begin{document}

\frame{

Some text/figure I want to have a source for.

\footnote{\scicite{bib.citekey}}%this works fine
}

\frame{
\scicitefoot{bib.citekey}%this gives latex error: begin{beamer@framepauses} on input line 5
}

\end{document}

相关内容