X-Git-Url: https://pere.pagekite.me/gitweb/text-free-culture-lessig.git/blobdiff_plain/2f3b88e6247aed6ffdc8e82fffafa80643209c40..49f438ea9078667c3d0070787615a7f999471757:/myclass.cls?ds=sidebyside

diff --git a/myclass.cls b/myclass.cls
index b761b47..73d0869 100644
--- a/myclass.cls
+++ b/myclass.cls
@@ -9,9 +9,38 @@
 %\usepackage{showframe}% http://ctan.org/pkg/showframe
 \makeatletter
 
-% Customize the titlepage: remove the date
-\let\stdmaketitle=\maketitle
-\def\maketitle{\let\@date\empty\stdmaketitle}
+% 
+% Customize the titlepage: remove the date, place the publisher name, and 
+% load a specific file for the verso page, containing some legal notices
+%
+\def\maketitle{%
+  \titlerecto%
+  \titleverso}
+
+\def\titlerecto{\begin{titlepage}%
+  \null\vfil
+  \vskip 160\p@
+  \begin{center}%
+    {\LARGE \@title \par}%
+    \vskip 3em%
+    {\Large
+     \lineskip .75em%
+      \begin{tabular}[t]{c}%
+        \@author
+      \end{tabular}\par}%
+      \vskip 20em%
+    {\large \DBKpublishername \par}
+    \vskip .75em%
+    {\large \DBKpublisheraddress \par}%
+  \end{center}\par
+  \vfil\null
+  \end{titlepage}}%
+
+\def\titleverso{%
+  \def\titlepagefile{titlepg.input.tex}
+  \IfFileExists{\titlepagefile}{\input{\titlepagefile}}{}
+}%
+
 
 % Divide by 2 the index item indentation (10pt -> 5pt)
 \renewcommand\@idxitem{\par\hangindent 20\p@}
@@ -23,9 +52,6 @@
 \let\endstdindex=\endtheindex
 \renewenvironment{theindex}{
   \begin{stdindex}
-  % Use a smaller font except for the letter heading which is bold
-  \newfontfamily\indexfont[Scale=0.7,
-                           BoldFeatures={Scale=1}]{Crimson Text}
   \@ifundefined{chapter}{}{
     % To not have the number, replace by:
     % \addcontentsline{toc}{chapter}{\numberline{}\indexname}
@@ -51,11 +77,14 @@
 
 \newenvironment{colophon}{
   \pagebreak %
-% FIXME change when page size changes
+% 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{9.9}{11.88}\selectfont % fits in one 6x9'' size page
+
+  \fontsize{8.2}{9.84}\selectfont % fits in one 6x9'' size page
   \setlength{\parskip}{0.5em} %
   \setlength{\parindent}{0pt} %
 }{}
