font size of \footcite of biblatex in beamer

I have unsuccessfully tried to control the font size of \footcite with \renewcommand{\bibfont}{\tiny}? Is there any other way?

-
ok, it looks like \renewcommand{\footnotesize}{\scriptsize} does the job. – pluton Aug 30 '11 at 13:50
You can use citesetup. This command stands before every cite-command. – Marco Daniel Aug 30 '11 at 13:58
thanks, I'll have a look at it. – pluton Aug 30 '11 at 14:00
@pluton If either does the job for you you should add it as an answer and accept it. – N.N. Sep 1 '11 at 19:30
@pluton: In relation to my answer I would change the title "How can I set the font size of \footcite separably in biblatex" – Marco Daniel Sep 2 '11 at 4:30

Changing the fontsize with \citesetup will affect all citations, not only those in footnotes. Simply redefining \footnotesize to \scriptsize wouldn't be advisable for article or book documents because the standard \footnotesize command includes settings for the vertical spacing of lists and displayed equations, while \scriptsize doesn't. This, on the other hand, shouldn't be of concern in a beamer document. So I'd say that

\renewcommand{\footnotesize}{\scriptsize}


is the way to go.

EDIT: I had forgotten about the biblatex conditional \iffootnote. I still think that redefining \footnotesize is preferable because it will also affect non-citation footnotes.

-
Why do you think it is preferable to redefine \footnotesize. The OP wants to control the font size of \footcite – Marco Daniel Sep 2 '11 at 12:33
From the OP's first comment, I infer that is acceptable to change the font size of every footnote, \footcite or not. This also helps to keep the document layout consistent. BTW, I upvoted your answer. :-) – lockstep Sep 2 '11 at 12:36
The up/downvote isn't the problem. I think to combine our knowledge has the first priority. ;-) – Marco Daniel Sep 2 '11 at 12:37

You can use \iffootnote in combination with \AtEveryCitekey.

Here the example:

\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{test,
author="John Smith",
title="The title",
year=1099,
publisher="nobody",
}
\end{filecontents*}
\documentclass[12pt]{beamer}
\usepackage[backend=biber,style=authortitle]{biblatex}
\AtEveryCitekey{\iffootnote{\color{red}\scriptsize}{\color{blue}}}
\bibliography{\jobname}
\begin{document}
\begin{frame}

\textbf{\bibname}
\printbibliography
\end{frame}
\end{document}


The command \citesetup is used in front of the cite-command. In such cases you can use:

\appto\citesetup{\Huge}


The test \iffootnote failse because citesetup is used before foot.. works. You can only test things like: \footnote{Bla \cite{..}}.

-
+1 But there have been ongoing issues with \iffootnote and packages that redefine \footnote, such as beamer and memoir. I'm not sure if they have been entirely resolved in the latest biblatex release. – Audrey Sep 2 '11 at 5:14
@Audrey: I didn't test it. When I'm home I will do it. – Marco Daniel Sep 2 '11 at 6:50
@Audrey: The example works but I also get the warning Patching footnotes failed ;-) – Marco Daniel Sep 2 '11 at 12:27
I understood that warning to generally imply that there will be problems with footnote detection. Perhaps it's more like "might be" instead of "will be". – Audrey Sep 2 '11 at 13:23
@Audrey: Nice interpretation. – Marco Daniel Sep 2 '11 at 13:43