如何在 beamer 中格式化 \footfullcite

如何在 beamer 中格式化 \footfullcite

我正在使用beamer,我希望 PDF 中的脚注是上标,例如

![在此处输入图片描述

但在页脚中,我希望它显示为

在此处输入图片描述

\documentclass{beamer}
\usepackage[style=authoryear]{biblatex}

% Redefine the \@makefnmark command to add space between label and text
\makeatletter
\renewcommand{\@makefnmark}{\hbox{\normalfont[\@thefnmark]\enspace}}
\makeatother

% Change the font size for footnotes
\makeatletter
\renewcommand{\footnotesize}{\tiny}
\makeatother

\addbibresource{references.bib}

\begin{document}
\begin{frame}{Acknowledgments}
  This is a citation\footfullcite{LenTayQui:J16}. 
\end{frame}

\begin{frame}
  \frametitle{References}
  \printbibliography
\end{frame}

\end{document}

答案1

稍微变化一下https://tex.stackexchange.com/a/368760/36296

\documentclass{beamer}
\usepackage[style=authoryear]{biblatex}


\addbibresource{biblatex-examples.bib}

\makeatletter
\renewcommand\@makefnmark{\hbox{\@textsuperscript{\usebeamercolor[fg]{footnote mark}\usebeamerfont*{footnote mark}[\@thefnmark]}}}
\renewcommand\@makefntext[1]{{\usebeamercolor[fg]{footnote mark}\usebeamerfont*{footnote mark}[\@thefnmark]}\usebeamerfont*{footnote} #1}
\makeatother

\begin{document}
\begin{frame}{Acknowledgments}
  This is a citation\footfullcite{knuth:ct}. 
\end{frame}

\begin{frame}
  \frametitle{References}
  \printbibliography
\end{frame}

\end{document}

在此处输入图片描述

相关内容