commit: 9ba40ccf38cb460acac8292142b5404412bb7d3a
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 16 11:58:44 2015 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Oct 16 11:58:44 2015 +0000
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=9ba40ccf
pms.cls: Number all pages consecutively.
To this effect, redefine the titlepage environment (which in its
default implementation from report.cls unconditionally resets the
page counter), since there seems to be no simpler way.
pms.cls | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pms.cls b/pms.cls
index e599702..af8e1b4 100644
--- a/pms.cls
+++ b/pms.cls
@@ -82,6 +82,9 @@
}
\bibliographystyle{plainurl}
+% Redefine the titlepage environment not to reset the page number
+\renewenvironment{titlepage}{\newpage\thispagestyle{empty}}{\newpage}
+
% Enumerate subsubsections, but don't include them in the toc.
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{2}