How to write URLs in Latex?

danzig picture danzig · May 24, 2010 · Viewed 312.3k times · Source

How do you write a URL in Latex?

The subscripts and everything else make the font look very strange when it compiles.

Answer

zs2020 picture zs2020 · May 24, 2010

You can use \url

\usepackage{hyperref}
\url{http://stackoverflow.com/}