~/Blog

Brandon Rozek

Photo of Brandon Rozek

PhD Student @ RPI studying Automated Reasoning in AI and Linux Enthusiast.

Quick LaTex: Footnotes with no Counter

Published on

Updated on

Let’s say there’s a scenario where you want to have a footnote, but you don’t want a counter associated with it. In order to stay consistent with the document style, the solution should use \footnote within its implementation.

The solution: Define \blfootnote{text} in the preamble.

\newcommand\blfootnote[1]{
    \begingroup
    \renewcommand\thefootnote{}\footnote{#1}
    \addtocounter{footnote}{-1}
    \endgroup
}

This makes use of the footnote command while also re-adjusting the footnote counts so that our variant doesn’t increase it. We can then use this command within the document. Here’s a beamer example:

\begin{frame}{Some Topic}
	This is where I explain some topic.
	\blfootnote{Numberless Footnote}
\end{frame}

Complete Minimal Example:

\documentclass[aspectratio=169]{beamer}
\usepackage[utf8]{inputenc}
\usetheme{Copenhagen}

\newcommand\blfootnote[1]{
    \begingroup
    \renewcommand\thefootnote{}\footnote{#1}
    \addtocounter{footnote}{-1}
    \endgroup
}

\begin{document}

\begin{frame}{Some Topic}
	This is where I explain some topic.
	\blfootnote{Numberless Footnote}
\end{frame}

\end{document}
Reply via Email Buy me a Coffee
Was this useful? Feel free to share: Hacker News Reddit Twitter