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.

Possible Duplicate:
Getting those %#!^& signs in the footnote!

I'm trying to do

\footnote{http://en.wikipedia.org/wiki/The_Wisdom_of_Crowds}

And it appears to be breaking because of the underscores

\footnote{http://en.wikipedia.org/wiki/TheWisdomofCrowds}

Seems fine. How can I fix this?

share|improve this question
add comment

marked as duplicate by Marco Daniel, Werner, Thorsten, Joseph Wright Apr 15 '12 at 6:54

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

up vote 5 down vote accepted

In the preamble:

 \usepackage{url}

and then:

\footnote{\url{http://en.wikipedia.org/wiki/The_Wisdom_of_Crowds}}
share|improve this answer
add comment

The url package as suggested in another answer is the preferred method. However, for the sake of completeness, another way to do this is to replace each instance of _ with \_. The fixed footnote is \footnote{http://en.wikipedia.org/wiki/The\_Wisdom\_of\_Crowds}.

share|improve this answer
add comment

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