url – Verbatim with URL-sensitive line breaks
The command \url is a form of verbatim command that allows linebreaks at certain characters or combinations of characters, accepts reconfiguration, and can usually be used in the argument to another command. (The \urldef command provides robust commands that serve in cases when \url doesn't work in an argument.) The command is intended for email addresses, hypertext links, directories/paths, etc., which normally have no spaces, so by default the package ignores spaces in its argument. However, a package option “allows spaces”, which is useful for operating systems where spaces are a common part of file names.
|Licenses||The LaTeX Project Public License|
|Contained in||TeX Live as url|
MiKTeX as url
Download the contents of this package in one zip archive (264.3k).
Maybe you are interested in the following packages as well.
- gmverb: A variant of LaTeX \verb, verbatim and shortvrb
- verbdef: Define commands which expand to verbatim text
- xurl: Allow URL breaks at any alphanumerical character
- fancyvrb: Sophisticated verbatim text