Saturday, March 13, 2010

Latex footnotes

Today I was writing a paper in Latex and tried to make a footnote referencing a URL... and the compiler threw tons of errors because it wasn't recognizing the http:// and the _ in the URL.

Here is the fix:
1. Use the package url:
\usepackage{url}

2. Inside the \footnote tag, open another tag for \url{}:
Some text here \footnote{\url{http://fix.com}} and some other text here.

No comments:

Post a Comment