\LoadClassWithOptions{report}
% report, book, memoir, scrreprt or scrbook ?
-% Fix the page number reset done by abstract by redefining it
-\def\nocount#1#2{}
-\let\stdsetcounter\setcounter
-\let\stdabstract=\abstract
-\let\endstdabstract=\endabstract
-\renewenvironment{abstract}{%
- \let\setcounter\nocount%
- \begin{stdabstract}%
- \noindent%
- \setlength\parskip{\medskipamount}%
- \setlength\parindent{0pt}%
-}{
- \end{stdabstract}
- \let\setcounter\stdsetcounter
-}
-
% Divide by 2 the index item indentation (10pt -> 5pt)
\makeatletter
\renewcommand\@idxitem{\par\hangindent 20\p@}
}
\makeatother
+\newenvironment{colophon}{
+ \pagebreak %
+ \fontsize{6}{7.2}\selectfont %
+ \setlength{\parskip}{0.5em} %
+ \setlength{\parindent}{0pt} %
+}{}
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Based on ideas from https://bugs.debian.org/684772
\usepackage{titlesec}
% Hint for figure with empty title: remove the colon label separator
\usepackage{caption}
\captionsetup[figure]{labelsep=none}
+
+% Fix the page number reset done by abstract by redefining it
+% Patch from
+% https://github.com/petterreinholdtsen/free-culture-lessig/pull/7
+
+\def\nocount#1#2{}
+\let\stdsetcounter\setcounter
+\let\stdabstract=\abstract
+\let\endstdabstract=\endabstract
+\renewenvironment{abstract}{%
+ \let\setcounter\nocount%
+ \begin{stdabstract}%
+ \noindent%
+ \setlength\parskip{\medskipamount}%
+ \setlength\parindent{0pt}%
+}{
+ \end{stdabstract}
+ \let\setcounter\stdsetcounter
+}