From: ben Date: Thu, 3 Sep 2015 20:50:50 +0000 (+0200) Subject: Customize the maketitle to skip the date. X-Git-Tag: edition-2015-10-10~189^2 X-Git-Url: https://pere.pagekite.me/gitweb/text-free-culture-lessig.git/commitdiff_plain/2f3b88e6247aed6ffdc8e82fffafa80643209c40 Customize the maketitle to skip the date. --- diff --git a/myclass.cls b/myclass.cls index 912b55b..b761b47 100644 --- a/myclass.cls +++ b/myclass.cls @@ -7,16 +7,18 @@ % Show frames, make it easier to debug borders %\usepackage{showframe}% http://ctan.org/pkg/showframe +\makeatletter + +% Customize the titlepage: remove the date +\let\stdmaketitle=\maketitle +\def\maketitle{\let\@date\empty\stdmaketitle} % Divide by 2 the index item indentation (10pt -> 5pt) -\makeatletter \renewcommand\@idxitem{\par\hangindent 20\p@} \renewcommand\subitem{\@idxitem \hspace*{10\p@}} \renewcommand\subsubitem{\@idxitem \hspace*{15\p@}} -\makeatother % Put the index in the TOC -\makeatletter \let\stdindex=\theindex \let\endstdindex=\endtheindex \renewenvironment{theindex}{