Comprehensive TeX Archive Network

url – Verbatim with URL-sensitive line breaks

The com­mand \url is a form of ver­ba­tim com­mand that al­lows line­breaks at cer­tain char­ac­ters or com­bi­na­tions of char­ac­ters, ac­cepts re­con­fig­u­ra­tion, and can usu­ally be used in the ar­gu­ment to an­other com­mand. (The \urldef com­mand pro­vides ro­bust com­mands that serve in cases when \url doesn't work in an ar­gu­ment.) The com­mand is in­tended for email ad­dresses, hy­per­text links, di­rec­to­ries/paths, etc., which nor­mally have no spaces, so by de­fault the pack­age ig­nores spaces in its ar­gu­ment. How­ever, a pack­age op­tion “al­lows spaces”, which is use­ful for op­er­at­ing sys­tems where spaces are a com­mon part of file names.

Sources /macros/latex/contrib/url
Ver­sion 3.4 2013-09-16
Li­cense The Project Public Li­cense
Main­tainer Don­ald Arse­neau
Con­tained in TeX Live as url
MiKTeX as url
Topics ver­ba­tim type­set­ting, etc.
See also path

Down­load the con­tents of this pack­age in one zip archive (264.3k).

Com­mu­nity Com­ments



Here you can see a re­spec­tive di­a­gram in newer browsers.


Guest Book Sitemap Contact Contact Author