LaTeX forum ⇒ Math & ScienceMath code in Footnotes that appear in text Topic is solved

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
kaioh
Posts: 7
Joined: Thu Aug 18, 2011 7:12 pm

Math code in Footnotes that appear in text

Postby kaioh » Fri Apr 12, 2013 12:39 pm

Hello I would like to do the following:

  1. ... are not orthogonal\footnote{The two states $|0\rangle$ and $|1\rangle$ are
  2. used to design Alice's measurement observables $\hat{C}_0$ and $\hat{C}_1$.}
  3. $\langle 0|1 \rangle = \cos \theta$, with $\theta \in (0,\pi /2)$.


However I cannot use math code inside a footnote which is in text.
All solutions that I have found are for the use of footnotes inside equations, but thats not my case.

If someone can help me, I'd appreciate. (I'm using revtex4-1).

Regards.
Last edited by Stefan Kottwitz on Fri Apr 12, 2013 2:26 pm, edited 1 time in total.
Reason: code marked

Tags:

User avatar
Stefan Kottwitz
Site Admin
Posts: 9419
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Fri Apr 12, 2013 2:25 pm

This code works in standard documents. However, REVTeX uses BibTeX for footnote, which causes an error here. You can fix it by enclosing the footnote text within additional braces, so protecting the inner part:

  1. \footnote{{The two states $|0\rangle$ ...}}


Stefan
Site admin

kaioh
Posts: 7
Joined: Thu Aug 18, 2011 7:12 pm

Postby kaioh » Fri Apr 12, 2013 3:56 pm

It works perfectly. Thank you so much.


Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 1 guest