]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Improve formatting of URLs in footnotes.
authorPetter Reinholdtsen <pere@hungry.com>
Tue, 27 Feb 2018 06:23:19 +0000 (07:23 +0100)
committerPetter Reinholdtsen <pere@hungry.com>
Tue, 27 Feb 2018 06:23:19 +0000 (07:23 +0100)
myclass.cls

index e7f2f018b16f515dc6738bc229ae158b7b4b6780..2c33c483e97c5f3cd6acb33310f5ab23cf41d1d3 100644 (file)
   \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}