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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.

up vote 13 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

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
    
However, if you mouse-over (or click) to the link in the final pdf, you will only see (or directed to) en.wikipedia.org/wiki/The. – kalan Feb 7 at 6:23

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