在 beamer 中使用 biblatex footcite 时删除脚注编号

在 beamer 中使用 biblatex footcite 时删除脚注编号

我正在用 beamer 准备演示文稿并使用 biblatex \footcite。我想删除所有这些引文的相关脚注编号。我尝试过针对一般脚注发布的解决方案,但它们对我来说不起作用:

我设法删除了脚注中的编号,但没有删除文本中的编号。我在此处附上了一个示例代码,其中引用了框架标题和框架内容。

我该怎么做?

\documentclass{beamer}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{website:test,
author = "Favorite Author",
title = "My wonderful test page",
month = "8",
year = "2018",
url = "https://this.my.net/web-page.html"
}
@article{Author2006,
author = {Author, First and Other, Second},
doi = {10.1111/science.1111111},
issn = {00111111},
journal = {Science},
number = {5111},
pages = {111--122},
publisher = {American Association for the Advancement of Science},
title = {{My favorite article I want to cite}},
volume = {301},
year = {2006}
}
\end{filecontents}

\usepackage[backend=biber,style=verbose]{biblatex}
\addbibresource{\jobname.bib}

\usetheme{Boadilla}

\setbeamertemplate{footnote}{
  \parindent 1em\noindent
  \raggedright
  \insertfootnotetext\par
}

\begin{document}
\title{Presentation Title}
\subtitle{Presentation Subtitle}
\author{My name}
\institute{ABC University}
\date[\today]{\today}

\frame{\titlepage}

\begin{frame}
\frametitle{First Frame \footcite{Author2006}}
Some text.
\end{frame}

\begin{frame}
\frametitle{Second Frame}
Some more text.
\footcite{website:test}
\end{frame}

\begin{frame}[allowframebreaks]
\frametitle<presentation>{References}
\printbibliography
\end{frame}

\end{document}

答案1

如果你永远不需要脚注标记,最简单的方法就是用

\makeatletter
\def\@makefnmark{}
\makeatletter

平均能量损失

\documentclass{beamer}

\usepackage[backend=biber,style=verbose]{biblatex}
\addbibresource{biblatex-examples.bib}

\usetheme{Boadilla}

\makeatletter
\def\@makefnmark{}
\makeatletter

\setbeamertemplate{footnote}{%
  \parindent 1em\noindent
  \raggedright
  \insertfootnotetext\par
}

\begin{document}
\begin{frame}
\frametitle{First Frame \footcite{sigfridsson}}
Some text.
\end{frame}

\begin{frame}
\frametitle{Second Frame}
Some more text.
\footcite{worman}
\end{frame}

\begin{frame}[allowframebreaks]
\frametitle<presentation>{References}
\printbibliography
\end{frame}
\end{document}

框架底部有引文。任何地方都看不到脚注标记。

相关内容