Sign up ×
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:
How does one insert a URL correctly?

I'm writing up a document, and at one point I cite a file online found at

I made a footnote with \footnote{\textasciitilde kconrad/blurbs/grouptheory/groupsp3.pdf}

I had to find an alternative for the ~ since it would not show up in the final document. This works fine when copy+pasting to a web browser, but is it possible to just link to the page from the pdf by clicking on the footnote?

P.S. If there's a better fix to the ~ issue, I'd be glad to see that as well.

share|improve this question

marked as duplicate by Matthew Leingang, Jake, Lev Bishop, lockstep, Joseph Wright Sep 15 '11 at 19:18

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 2

up vote 8 down vote accepted

You could use \href from the hyperref package:




share|improve this answer
Thanks Gonzalo, just implemented it and it worked great. – yunone Sep 14 '11 at 21:57

You could use either the \url or \href commands from hyperref package.

  \footnote{\href{}{Text printed}}

\url prints the URL with \textt style fonts. \href prints the text that follows the URL. Note that on a printed copy of you article the real URL will not be visible.

share|improve this answer
I think this also needs \usepackage{hyperref}. – Peter Grill Sep 15 '11 at 12:04
Yes. I just changed the import. – YMomb Sep 18 '11 at 9:18

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