From 2f3b88e6247aed6ffdc8e82fffafa80643209c40 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 3 Sep 2015 22:50:50 +0200 Subject: [PATCH] Customize the maketitle to skip the date. --- myclass.cls | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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}{ -- 2.47.2