Depending on the theme of a beamer-document
, footnotes will either be placed inside or outside of a block-environment. It would like to do combine a style, which places the footnotes inside a block-environment e.g. Copenhagen
, with footnotes outside of blocks. Strangely, no option I have tried for \setbeamertemplate{blocks}[option]
seems to do that - whether I used default, circles, rectangles,
nor inmargin
. Is there any other way to tell beamer that footnotes should be placed at the bottom of the frame?
On the left you can see the desired result with theme Berlin
, both footnotes are at the bottom of the frame. On the right you see the the outcome with theme Copenhagen
that unfortunately places one footnote inside the block-environment, which I would like avoid.
UPDATE: So here is my new MWE with some code from here:
\documentclass{beamer}
\usepackage[english]{babel}
\usepackage{csquotes}
\usetheme{Copenhagen}
\usepackage[style=numeric-comp, backend=biber, citetracker=true,sorting=none]{biblatex}
\usepackage{hyperref}
\addbibresource{biblatex-examples.bib}
\setbeamertemplate{navigation symbols}{}
\makeatletter
\newtoggle{cbx@togcite}
% Citation number in brackets
\renewcommand\@makefntext[1]{%
\iftoggle{cbx@togcite}
{{\normalfont[\@thefnmark]}\enspace #1}
{{\normalfont\@thefnmark}\enspace #1}%
\global\togglefalse{cbx@togcite}}
\DeclareCiteCommand{\sfcite}[\cbx@superscript]%
{\usebibmacro{cite:init}%
\let\multicitedelim=\supercitedelim
\iffieldundef{prenote}
{}
{\BibliographyWarning{Ignoring prenote argument}}%
\iffieldundef{postnote}
{}
{\BibliographyWarning{Ignoring postnote argument}}}
{\usebibmacro{citeindex}%
\usebibmacro{sfcite}%
\usebibmacro{cite:comp}}
{}
{\usebibmacro{cite:dump}}
\newbibmacro*{sfcite}{%
\ifciteseen
{}
{\xappto\cbx@citehook{%
\global\toggletrue{cbx@togcite}%
\noexpand\footnotetext[\thefield{labelnumber}]{%
\fullcite{\thefield{entrykey}}\addperiod}}}}
\newrobustcmd{\cbx@superscript}[1]{%
\mkbibsuperscript{\mkbibbrackets{#1}}%
\cbx@citehook%
\global\let\cbx@citehook=\empty}
\let\cbx@citehook=\empty
\makeatother
\begin{document}
\begin{frame}{A frame}
\begin{block}{Classic theory}
As we already know from classic theory\sfcite{reese}, ...
\begin{itemize}
\item Fact 1
\item Fact 2
\end{itemize}
\end{block}
Now there are some new developments\sfcite{bertram} challenging the classic view.
\end{frame}
\end{document}
Update 24.02.
I found that in beamerbaseboxes.sty
this minipage seems to be responsible for the footnote inside the block-environment.
\newcommand\beamerboxesrounded[2][]{%
[...]
% line 120
\setbox\bmb@box=\hbox\bgroup\begin{minipage}[b]{\bmb@width}%
\vskip2pt%
\usebeamercolor[fg]{\bmb@lower}%
\colorlet{beamerstructure}{upper.bg}%
\colorlet{structure}{upper.bg}%
%\color{.}%
}
\def\endbeamerboxesrounded{%
\end{minipage}\egroup%
Removing the minipage is not a good solution though, since it messes up the layout. Also taking \end{minipage}\egroup%
inside \newcommand\beamerboxesrounded
takes the footnote to the bottom of the slide, but messes up the layout.