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

I want to know how I can display a url to a site as reference in LaTeX. I need to have them at the end so that I can cite them from the other pages.

share|improve this question

migrated from stackoverflow.com May 1 '12 at 13:03

This question came from our site for professional and enthusiast programmers.

Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. – Werner May 1 '12 at 16:49

By reference do you mean citations as in bibliography?

If that is so, you can do it this way.

In the .tex file



In the .bib file

 howpublished ="\url{http://www.cs.york.ac.uk/hise/cadiz/home.html}"


share|improve this answer

To have a URL link just use the hyperref package and \href{<url>}{<text>}. For example, the MWE below yields:

screen shot of compiled code: hyperlink to google.com

and upon mouse click a browser window will be opened to the specified site.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.