TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

I want to use the following footnote:


But the problem is since there are % symbols in the link, it is recognized as a comment. How can I avoid that?

share|improve this question
up vote 4 down vote accepted

Isn't it enough to simple escape the % with \ or am I missing something here? That is:

share|improve this answer

Just escape it as per jonalv's post or use the \url command from either the url package of better hyperref as shown below:


share|improve this answer
Note that you still need to escape % when using \url in another macro. The automatic handling of active characters by \url and \href only works on the top-level. – Michael Ummels Mar 11 '11 at 13:01

If you don't want to escape %, another solution was discussed here.

In short, load hyperref and define a new macro \urlfootnote as follows:


Now, you can type


This will also typeset the URL in typewriter font and make it a link. If you don't want this, replace the definition of \urlfootnote@ by \newcommand\urlfootnote@[1]{\footnote{#1}}.

share|improve this answer

Your Answer


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.