I am using some big faculty LaTeX template for my thesis, so I do not really know, which packages I am supposed to mention here …
Anyway, I am trying to write some urls.
I write them like
\url{http://tex.stackexchange.com/questions/ask}
But the result in the PDF is
¡http://tex.stackexchange.com/questions/ask¿
What can be wrong? How can I get rid of those marks?
Best Answer
Does your template redefine
\url
such that its output should look like<https://tex.stackexchange.com/questions/ask>
(including the angular brackets)? In this case the font encoding might be wrong. Try adding\usepackage[T1]{fontenc}
to the preamble (or use\textless
and\textgreater
in the definition of\url
).See also Why do the less than symbol (<) and the greater than symbol (>) appear wrong as upside down exclamation (¡) or question mark (¿)?.