Take the 2-minute tour ×
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.

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

2 Answers 2

By reference do you mean citations as in bibliography?

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

In the .tex file

\usepackage{url}


\cite{CADIZ}

In the .bib file

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

HTH

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.

\documentclass{article}

\usepackage{hyperref}
\begin{document}
    \href{http://www.google.com}{Google}
\end{document}
share|improve this answer

Your Answer

 
discard

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