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.
The LaTeX Project Public License
|Contained in||TeX Live as url|
|MiKTeX as url|
verbatim typesetting, etc.
Download the contents of this package in one zip archive (264.3k).
Maybe you are interested in the following packages as well.
- path: Typeset paths, making them breakable
- fvextra: Extensions and patches for fancyvrb
- verbdef: Define commands which expand to verbatim text
- moreverb: Extended verbatim