[Tex/LaTex] How to change font family in footnote

fontsfontsizefootnotes

How can I change font family (and size) for footnotes? Would be great to see a small example.

Best Answer

Footnotes are typeset using (surprise) \footnotesize and the current font family. With the standard document classes, you may change this to, say, \small\sffamily by partially redefining the \@footnotetext command (Note: I'm using the etoolbox package for convenience):

\documentclass{article}

\usepackage{etoolbox}
\makeatletter
\patchcmd{\@footnotetext}{\footnotesize}{\small\sffamily}{}{}
\makeatother

\usepackage{blindtext}

\begin{document}

\blindtext\footnote{\blindtext}

\end{document}

A small drawback of this solution is that the footnote label is not affected by these changes.

The KOMA-Script-classes allow for a more elegant solution without the drawback mentioned above:

\documentclass{scrartcl}

\addtokomafont{footnote}{\small\sffamily}

\usepackage{blindtext}

\begin{document}

\blindtext\footnote{\blindtext}

\end{document}

EDIT: As Vincenzo pointed out, using the footmisc package is also possible:

\usepackage{footmisc}
\renewcommand*{\footnotelayout}{\small\sffamily}

This works with standard and KOMA-Script-classes, but also has the drawback that it won't affect the footnote label.