GeneralFootnotes next to Equation Number with Reference

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
eschavez6
Posts: 2
Joined: Tue Jun 25, 2013 4:31 pm

Footnotes next to Equation Number with Reference

Post by eschavez6 »

Hi

I was trying to get a footnote next to an equation number and i found the following code will work.

Code: Select all

\begin{equation}\refstepcounter{equation}
x=y \tag{\theequation\footnotemark}
\end{equation} \footnotetext{thefootnote}
But the problem I've been having is when i try to reference the equation with the footnote? How do you cite an equation when you add a footnote to the equation number?

I'm receiving an error when i try this code.

Code: Select all

\begin{equation}\refstepcounter{equation}
\label{eq1}
x=y \tag{\theequation\footnotemark}
\end{equation} \footnotetext{thefootnote}
i also tried this code and recieved another error

Code: Select all

\begin{equation}
\label{eq1}
\refstepcounter{equation}
x=y \tag{\theequation\footnotemark}
\end{equation} \footnotetext{thefootnote}
without the label, I'm unable to reference the equation number in the document
Last edited by localghost on Tue Jun 25, 2013 5:10 pm, edited 1 time in total.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Footnotes next to Equation Number with Reference

Post by cgnieder »

Hi eschavez6

Welcome to the LaTeX community. \footnotemark is fragile. Try putting a \protect in front of it:

Code: Select all

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}\refstepcounter{equation}\label{eq1}
  x=y \tag{\theequation\protect\footnotemark}
\end{equation} \footnotetext{thefootnote}
\end{document}
Regards
site moderator & package author
eschavez6
Posts: 2
Joined: Tue Jun 25, 2013 4:31 pm

Re: Footnotes next to Equation Number with Reference

Post by eschavez6 »

That's great it worked

But when i reference the equation, each time it creates a new footnote symbol in the referenced equation number. The pdf looks like this:

As you can see in equation (2*)

x=y (2^)

--------
^thefootnote



is there a way to reference an equation with a footnote without there being ia footnote int he reference? I want the text to look like this:


As you can see in equation (2)

x=y (2*)

--------
*thefootnote



Thanks in advance
Post Reply