Command/hyphenatedurl
< Command
Jump to navigation
Jump to search
Contents
\hyphenatedurl
Summary
The command \hyphenatedurl is used to typeset very long URLs that might otherwise stick out into the margin.
Settings
Description
This adds extra places where a URL can be broken (compared to, for example, \url).
Examples
Example 1
\setupinteraction[state=start,color=green,style=bold] This is some paragraph text. Now we want to insert a long URL, such as \hyphenatedurl{https://amalgamated.consolidated.incorporated.com/topic/subtopic/subsub/and/enough/to/demonstrate/line/breaking/here.html}. This URL is \quotation{nicely} broken across lines in this paragraph.

Notes
See also
- lang-url.mkiv
- \url for a command which might hyphenate less than this one, but gives a clickable link.