From: Petter Reinholdtsen Date: Tue, 27 Feb 2018 06:23:19 +0000 (+0100) Subject: Improve formatting of URLs in footnotes. X-Git-Tag: es-printed~411 X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/commitdiff_plain/54ba67cf1c0175edd335ee8d7ff088e98bbf7ee6 Improve formatting of URLs in footnotes. --- diff --git a/myclass.cls b/myclass.cls index e7f2f01..2c33c48 100644 --- a/myclass.cls +++ b/myclass.cls @@ -38,6 +38,10 @@ \IfFileExists{\titlepagefile}{\input{\titlepagefile}}{} }% +% Allow line break on hyphen (-) in URLs, to make sure long URLs in +% footnotes do not pass out of the margins. +\usepackage[hyphens]{url} + \newenvironment{colophon}{ \pagebreak % % FIXME change when page size changes, use {x}{x*1.2}