Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add support for memoir class.

  • Loading branch information...
commit 55d3832af2980621a1fed31210e89eb454228f02 1 parent 368894d
@ttencate authored
Showing with 10 additions and 2 deletions.
  1. +10 −2 rugscriptie.sty
View
12 rugscriptie.sty
@@ -113,6 +113,14 @@
\raise\topskip\box\@tempboxa
}
+% titlepage-like environment that works both with standard LaTeX classes
+% and the memoir class.
+\@ifundefined{titlingpage}{
+ \newenvironment{@rugtitlepage}{\begin{titlepage}}{\end{titlepage}}
+}{
+ \newenvironment{@rugtitlepage}{\begin{titlingpage}}{\end{titlingpage}}
+}
+
% Definition of the format of the main title page.
\newcommand\rugmaketitle{
{
@@ -125,7 +133,7 @@
\def\rug@setlang{\ruglanguage@default}
\fi
\rug@setlang
- \begin{titlepage}
+ \begin{@rugtitlepage}
\begin{paperpage}
\newskip\leftmargin \leftmargin 112pt
\newskip\rightmargin \rightmargin 61pt
@@ -148,7 +156,7 @@
\@people}}
\vskip 99pt
\end{paperpage}
- \end{titlepage}%
+ \end{@rugtitlepage}%
}
\setcounter{footnote}{0}%
\global\let\@title\@empty
Please sign in to comment.
Something went wrong with that request. Please try again.