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.

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}"



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.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy