]> pere.pagekite.me Git - text-madewithcc.git/blob - myclass.cls
Use dblatex param instead of LaTeX editing to set charset encoding to UTF-8.
[text-madewithcc.git] / myclass.cls
1 \NeedsTeXFormat{LaTeX2e}
2 \ProvidesPackage{myclass}[]
3
4 %% Just use the original class and pass the options
5 \LoadClassWithOptions{report}
6
7 \makeatletter
8
9 %
10 % Customize the titlepage: remove the date, place the publisher name, and
11 % load a specific file for the verso page, containing some legal notices
12 %
13 \def\maketitle{%
14 \titlerecto%
15 \titleverso}
16
17 \def\titlerecto{\begin{titlepage}%
18 \null\vfil
19 \vskip 160\p@
20 \begin{center}%
21 {\LARGE \@title \par}%
22 \vskip 3em%
23 {\Large
24 \lineskip .75em%
25 \begin{tabular}[t]{c}%
26 \@author
27 \end{tabular}\par}%
28 \vskip 20em%
29 {\large \DBKpublishername \par}
30 \vskip .75em%
31 {\large \DBKpublisheraddress \par}%
32 \end{center}\par
33 \vfil\null
34 \end{titlepage}}%
35
36 \def\titleverso{%
37 \def\titlepagefile{titlepg.input.tex}
38 \IfFileExists{\titlepagefile}{\input{\titlepagefile}}{}
39 }%