Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have this piece in the document:

Affymetrix-anotation-file\footnote{HG-U133_Plus_2.na32.annot.csv}

now I get an error because of the "Plus" in the footnote. Obviously Latex thinks, this is an math command. How can I solve this type of error?

thx for help

share|improve this question
5  
\footnote{HG-U133\_Plus\_2.na32.annot.csv} –  Herbert Aug 17 '12 at 9:50
    
thx, thats it :) –  Jürgen Stürmer Aug 17 '12 at 10:30
add comment

2 Answers 2

up vote 5 down vote accepted

It should be the underscore that leads to error.

You can use \_ instead of _.

Affymetrix-anotation-file\footnote{HG-U133\_Plus\_2.na32.annot.csv}

share|improve this answer
add comment

You can also use \urldef from the url package.

\usepackage{url}
\urldef\foo{\url{HG-U133_Plus_2.na32.annot.csv}}

Then in the footnote:

\footnote{\foo}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.