# how to remove this space in beamer + biblatex

If I compile the following

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

\usepackage{filecontents}% to embed the file myreferences.bib in your .tex file
\begin{filecontents*}{myreferences.bib}
@article{foo12,
year = {2012},
title = {Title},
author = {H Miller},
journal = {Journal}
}
\end{filecontents*}
\AtEveryCitekey{
\clearfield{pages}
\clearfield{issn}
\clearfield{doi}
\clearfield{volume}
\clearfield{isbn}
\clearfield{series}
\clearfield{number}
\clearfield{note}
}

\begin{document}

\begin{frame}
Some text.\footnote{Some text in a footnote.} Some more text.\footcite{foo12}
\end{frame}

\begin{frame}
\printbibliography
\end{frame}

\end{document}


I get a big space between footnote label 2 and the citation. If I remove the \AtEveryCitekey block, the space goes away, and the two footnotes are aligned. Is this a bug? How can I get rid of the space while keeping the \AtEveryCitekey?


The solution is to hide the end of lines with %.

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

\AtEveryCitekey{%
\clearfield{pages}%
\clearfield{issn}%
\clearfield{doi}%
\clearfield{volume}%
\clearfield{isbn}%
\clearfield{series}%
\clearfield{number}%
\clearfield{note}%
}

\begin{filecontents*}{\jobname.bib}
@article{foo12,
year    = {2012},
title   = {Title},
author  = {H Miller},
journal = {Journal}
}
\end{filecontents*}