TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want URLs in the rendered PDF to appear as follows:


I have declared the URLS in my document using the 'url' package, in the form:


Then, I have the following command:


The problem, is that while this adds the chevrons, the URL is no longer clickable in the final PDF. What is the right way to add the triangular brackets and have the URL clickable?

share|improve this question
Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Christian Hupfer Aug 2 '14 at 15:16
up vote 5 down vote accepted

The \url command can be redefined the same way as hyperref. The following example first defines url command \guilurl, which uses single guillemots as angle brackets. Then \url is redefined using \guilurl:


\usepackage[T1]{fontenc}% \guilsinglleft and \guilsinglright





share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.