LaTeX forum ⇒ GeneralFootnotes next to Equation Number with Reference

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

Footnotes next to Equation Number with Reference

Postby eschavez6 » Tue Jun 25, 2013 4:41 pm

Hi

I was trying to get a footnote next to an equation number and i found the following code will work.
  1. \begin{equation}\refstepcounter{equation}
  2. x=y \tag{\theequation\footnotemark}
  3. \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.
  1. \begin{equation}\refstepcounter{equation}
  2. \label{eq1}
  3. x=y \tag{\theequation\footnotemark}
  4. \end{equation} \footnotetext{thefootnote}

i also tried this code and recieved another error
  1. \begin{equation}
  2. \label{eq1}
  3. \refstepcounter{equation}
  4. x=y \tag{\theequation\footnotemark}
  5. \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.

Tags:

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

Postby cgnieder » Wed Jun 26, 2013 10:56 am

Hi eschavez6

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

  1. \documentclass{article}
  2. \usepackage{amsmath}
  3. \begin{document}
  4. \begin{equation}\refstepcounter{equation}\label{eq1}
  5. x=y \tag{\theequation\protect\footnotemark}
  6. \end{equation} \footnotetext{thefootnote}
  7. \end{document}


Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

eschavez6
Posts: 2
Joined: Tue Jun 25, 2013 4:31 pm

Postby eschavez6 » Thu Jun 27, 2013 5:30 pm

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


Return to “General”

Who is online

Users browsing this forum: No registered users and 9 guests