---
layout: post
status: publish
published: true
title: Insert urls into a Latex document
author: Julien Lengrand-Lambert
author_login: jlengrand
author_email: julien@lengrand.fr
author_url: http://www.lengrand.fr
wordpress_id: 598
wordpress_url: http://www.lengrand.fr/?p=598
date: 2012-05-21 13:18:59.000000000 +02:00
categories:
- tips
tags:
- latex
- url
- document
- texmaker
comments: []
---
A really simple tip today, that helped me a lot some time ago.
If you use LaTeX to create your reports, you may want to include weblinks or urls.
The process is quite simple, simply include the url package in the header of your document
{% highlight bash %}
\usepackage{url}
{% endhighlight %}
and then insert your desired url :
{% highlight bash %}
\url{http://www.lengrand.fr}
{% endhighlight %}
You may want to play a bit, a there are different url styles. Here is a simple example
{% highlight bash %}
\urlstyle{rm}
{% endhighlight %}
Of course, all those links are still active after your pdf conversion!
Long time I haven't used Latex, I tend to write everything with GDocs now :)