summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/xurl/xurl.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/xurl/xurl.tex')
-rw-r--r--Master/texmf-dist/doc/latex/xurl/xurl.tex18
1 files changed, 17 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/xurl/xurl.tex b/Master/texmf-dist/doc/latex/xurl/xurl.tex
index 949e578dd13..59e769411a4 100644
--- a/Master/texmf-dist/doc/latex/xurl/xurl.tex
+++ b/Master/texmf-dist/doc/latex/xurl/xurl.tex
@@ -42,12 +42,28 @@
Package xurl loads package url by default and defines
possible url breaks for all alphanumerical characters
-and = / . :
+and \verb|= / . : * - ~ ' "|
All arguments which are valid for url can be used.
It will be passed to package url. xurl itself has no
special optional argument. For more information read
the documentation of package url.
+
+\noindent
+\frame{\begin{minipage}{0.5\linewidth}
+\noindent
+some text \url{very-long-url-very-long-url-very-long-url-very-long-url-very-long-url-}
+and another url: \url{https://tex.stackexchange.com/questions/3033/forcing-linebreaks-in-url/10419?noredirect=1#comment1021887_10419}
+\end{minipage}}
+
+\noindent
+\frame{\begin{minipage}{0.75\linewidth}
+\noindent
+some text \url{very-long-url-very-long-url-very-long-url-very-long-url-very-long-url-}
+and another url: \url{https://tex.stackexchange.com/questions/3033/forcing-linebreaks-in-url/10419?noredirect=1#comment1021887_10419}
+\end{minipage}}
\end{document}
+
+