2

Per default biblatex has all their references justified in case they overflow the first line, at least with cite, for some reason in the beamer class using the Metropolis theme and citing with \footfullcite I don't get this behavior.

Thought it would be the same behavior with footcites but apparently it isn't so.

Tried googling but couldn't find an answer on how to justify foot cites. Can anyone help me? Thank you in advance

MWE:

\documentclass[10pt]{beamer}
\usetheme[progressbar=frametitle]{metropolis}
\usepackage{biblatex}
\addbibresource{biblatex-examples.bib}

\begin{document}
\begin{frame}{Trial Slide}
Text \footfullcite{sigfridsson}
\end{frame}
\end{document}

Edit: To add my confusion that footcites would have the same behavior thant cites

  • Oh, I had never used footcites before, at least with normal cites it justifies it, thought it would be the same behavior with footcites. I couldn't find any information on the links you provided on how to justify them. – M.O. Mar 9 at 16:26
  • I guess I misunderstood your question then, sorry. biblatex itself does not apply any sort of justification to its citation output. Neither \cite nor \footcite or \footfullcite do that. – moewe Mar 9 at 16:29
3

Unlike other documentclasses, beamer does not justify any text because it is made for short text elements, which will often look odd if justified.

To add justification to the footnote, you could redefine the footnote template:

\documentclass[10pt]{beamer}
\usetheme[progressbar=frametitle]{metropolis}
\usepackage{biblatex}
\addbibresource{biblatex-examples.bib}

\usepackage{ragged2e}
\setbeamertemplate{footnote}{
  \parindent 1em\noindent%
  \raggedright
  \hbox to 1.8em{\hfil\insertfootnotemark}\justifying\insertfootnotetext\par%
}

\begin{document}
\begin{frame}{Trial Slide}
Text \footfullcite{sigfridsson}
\end{frame}
\end{document}

enter image description here

  • Thank you! It works, and it's just what I needed! – M.O. Mar 9 at 16:29
  • @M.O. You're welcome! – user36296 Mar 9 at 16:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.