X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/440074ec4ed1c1a192505952b05bea27b3372498..3ae63d61d49c072abd81557dd870eb5f9a31dcda:/myclass.cls?ds=sidebyside

diff --git a/myclass.cls b/myclass.cls
index c77bc96..2c33c48 100644
--- a/myclass.cls
+++ b/myclass.cls
@@ -37,3 +37,21 @@
   \def\titlepagefile{titlepg.input.tex}
   \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}
+
+% Note, these numbers are not correct any more for the sizes mentioned:
+%  \fontsize{6.5}{7.8}\selectfont % fits in one 4.25x6.875" pocket size page
+%  \fontsize{7.5}{9}\selectfont % fits in one 5.06x7.71" size page
+%  \fontsize{9.1}{10.92}\selectfont % fits in one 5.5x8.5" digest size page
+
+  \fontsize{8.2}{9.84}\selectfont % fits in one 6x9'' size page
+  \setlength{\parskip}{0.5em} %
+  \setlength{\parindent}{0pt} %
+}{}
