## LaTeX forum ⇒ Math & Science ⇒ Math 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

Hello I would like to do the following:

... are not orthogonal\footnote{The two states $|0\rangle$ and $|1\rangle$ areused to design Alice's measurement observables $\hat{C}_0$ and $\hat{C}_1$.}$\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:

Stefan Kottwitz
Site Admin
Posts: 9419
Joined: Mon Mar 10, 2008 9:44 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:

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

Stefan
Site admin

kaioh
Posts: 7
Joined: Thu Aug 18, 2011 7:12 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