Math & ScienceFootnote in Brace under Equation not showing

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Sanya
Posts: 2
Joined: Wed Nov 28, 2012 9:55 pm

Footnote in Brace under Equation not showing

Post by Sanya »

Hey,

I've got an equation which I labeled with explanations via \underbrace. These explanations are text and I want to add a footnote to one of them. However, even though the footnote is shown as a little number next to the word, there is no footnote on the bottom of the page. I'm wondering how to actually see my footnote.

A working (or should I say nonworking :mrgreen: ) example is this:

Code: Select all

\documentclass[12pt, titlepage]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{amssymb}
\usepackage{amsmath}

\begin{document}

\begin{equation}
\underbrace{123}_{\text{ e.g. \footnote{I disappear.}}}  = 42
\end{equation}

\end{document}
I'd appreciate any help.

Thanks
Last edited by localghost on Wed Nov 28, 2012 11:00 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Footnote in Brace under Equation not showing

Post by localghost »

Sometimes the regular footnote mechanism fails because it is used in a forbidden mode (like here). For such cases you can try the combination of \footnotemark (←Link!) and \footnotetext (←Link!).

Code: Select all

\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{amsmath}

\begin{document}
  \begin{equation}
    \underbrace{123}_{\text{e.g.\footnotemark}}=42
    \footnotetext{I do not disappear.}
  \end{equation}
\end{document}

Best regards and welcome to the board
Thorsten
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Footnote in Brace under Equation not showing

Post by cgnieder »

Hi Sanya,

welcome to the LaTeX community!

In cases like this usually the pair \footnotemark/\footnotetext{<text>} is the way to go:

Code: Select all

\documentclass[12pt, titlepage]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{amssymb}
\usepackage{amsmath}

\begin{document}

\begin{equation}
 \underbrace{123}_{\text{ e.g. \footnotemark}}  = 42
\end{equation}\footnotetext{I don't disappear.}

\end{document}
Regards

PS: ah, too late ...
site moderator & package author
Sanya
Posts: 2
Joined: Wed Nov 28, 2012 9:55 pm

Re: Footnote in Brace under Equation not showing

Post by Sanya »

Works perfectly well.
Thank you very much for your competent guidance :)
Post Reply