3

Since directly typing \footnote{...} in math mode is not allowed, the common approach is to type \footnotemark in the math and write \footnotetext{...} after the math. However, when the math is located to the bottom of a page, the line containing \footnotetext{...} is on the second page, causing the misplacement of the actual footnote. Example:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{pgffor} % for \foreach

\begin{document}

\foreach \x in {1,...,43}
{The \x th fictional space-taking line.

}

\[
fictional + math + formula \footnotemark
\]\footnotetext{This is a fictional footnote. See the weird behavior?}

\end{document}

yields

page 1page 2

4
  • It is never a good idea to add footnotes in math, how do a reader tell the difference from a power?
    – daleif
    Commented Sep 24, 2018 at 5:42
  • 1
    I know that, but sometimes that is unavoidable. The symbols can be redefined, though. But this example is completely fictional :P
    – L. F.
    Commented Sep 24, 2018 at 5:44
  • 1
    It is always avoidable. I'm guessing that the footnotetext is leaving behind a whatsit and is therefore leaving something on the vertical list and is then moved to the next page. You probably needs to add it before the math and get creative with the counters. But again don't ever do this, rewrite!
    – daleif
    Commented Sep 24, 2018 at 5:53
  • I think using \footnote inside the equation environment should just work in this case. It would not work inside any of the amsmath math environments or inside e.g. \text{} within the equation though. Commented Sep 24, 2018 at 15:18

1 Answer 1

1

put it inside the equation:

\[
fictional + math + formula \footnotemark
\footnotetext{This is a fictional footnote. See the weird behavior?}
\]
1
  • I too followed the same if footnote occurs in math
    – MadyYuvi
    Commented Sep 24, 2018 at 6:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .