# Is it possible to have URLs link from a pdf to the webpage? [duplicate]

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 http://www.math.uconn.edu/~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.

-

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

You could use \href from the hyperref package:

\documentclass{article}
\usepackage{hyperref}

\begin{document}

\end{document}
-
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.

\documentclass{article}
\usepackage{hyperref}
\begin{document}
\end{document}

\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.

-
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