X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/be9c03702b14021350be7bd09262c83b098be8e4..2d94e982c83b7310ac39d48df0c6638c655ad1a1:/myclass.cls diff --git a/myclass.cls b/myclass.cls index 78b1420..355eb86 100644 --- a/myclass.cls +++ b/myclass.cls @@ -38,9 +38,9 @@ \@author \end{tabular}\par}% \vskip 20em% - {\large \DBKpublishername \par} + {\large \DBKpublisheraddress \par} \vskip .75em% - {\large \DBKpublisheraddress \par}% + {\large \DBKpublishername \par}% \publisherlogos \end{center}\par \vfil\null @@ -51,6 +51,27 @@ \IfFileExists{\titlepagefile}{\input{\titlepagefile}}{} }% +% We have specified @openright to allow the chapters to start in +% either page (recto or verso), but we don't want that behavior for +% parts - The part heading should start in the right page (recto) +% always. +% +% When a \part clears the preceding page, we don't want the page +% number in it either. + +\renewcommand\part{% + \clearpage + \thispagestyle{empty}% + \ifodd\value{page} + \null% + \else + \null\newpage\thispagestyle{empty}% + \fi + \null\vfil + \secdef\@part\@spart} + +\def\@endpart{\vfil\newpage} + % Allow line break on hyphen (-) in URLs, to make sure long URLs in % footnotes do not pass out of the margins. \usepackage[hyphens]{url}