]> pere.pagekite.me Git - text-free-culture-lessig.git/blobdiff - myclass.cls
Adjust translation, do not assume 'close case' mean 'closed case'.
[text-free-culture-lessig.git] / myclass.cls
index f3d725a2e31d837cb852c901685a5e1574c7548c..73d08698f7d30afcb55b35c0b9f5cb7abbf7577d 100644 (file)
@@ -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}