summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/stellenbosch/usthesis.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/stellenbosch/usthesis.cls')
-rw-r--r--Master/texmf-dist/tex/latex/stellenbosch/usthesis.cls47
1 files changed, 32 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/stellenbosch/usthesis.cls b/Master/texmf-dist/tex/latex/stellenbosch/usthesis.cls
index e846b108fde..a2b2b21cb57 100644
--- a/Master/texmf-dist/tex/latex/stellenbosch/usthesis.cls
+++ b/Master/texmf-dist/tex/latex/stellenbosch/usthesis.cls
@@ -12,7 +12,7 @@
%%
%% Author: Danie Els
%%
-%% Copyright (C) 2003--2006 Danie Els
+%% Copyright (C) 2003--2007 Danie Els
%% All rights reserved.
%%
%% This work may be distributed and/or modified under the conditions
@@ -27,9 +27,8 @@
%% This Current Maintainer of this work is Danie Els (dnjels@sun.ac.za)
%% -------------------------------------------------------------------
%%
-\newcommand{\USfiledate}{2006/08/26}
-\newcommand{\USfileversion}{v2.2}
-%%
+\newcommand{\USfiledate}{2007/04/19}
+\newcommand{\USfileversion}{v3.0}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\def\US@basetype{book}
\ProvidesClass{usthesis}[\USfiledate\space
@@ -351,7 +350,8 @@
\setlength\marginparsep {7\p@}
\setlength\marginparpush{7\p@}
\FixVertParams{0.375}
- \FixHorizParams{0.375}
+ %\FixHorizParams{0.375}
+ \FixHorizParams{0.5}% Changed in v3.0
\ifpdf
\setlength\pdfpagewidth{\paperwidth}
\setlength\pdfpageheight{\paperheight}
@@ -365,7 +365,8 @@
\setlength\marginparsep {7\p@}
\setlength\marginparpush{7\p@}
\FixVertParams{0.375}
- \FixHorizParams{0.375}
+ %\FixHorizParams{0.375}
+ \FixHorizParams{0.5}% Changed in v3.0
\ifpdf
\setlength\pdfpagewidth{\paperwidth}
\setlength\pdfpageheight{\paperheight}
@@ -549,15 +550,22 @@
\US@year=#2
\gdef\US@date{\MonthName{\US@month}\ \number\US@year}}
\newcommand\CopyrightPage[1][\CopyrightHolder]{%
- \clearpage
- \thispagestyle{empty}
- \mbox{}\par\vfill
- \begin{center}
- \CopyrightTxt\ \copyright\ \number\US@year\ #1\\
- \CopyrightAnot
- \end{center}
- \vfill\mbox{}\par
- \clearpage}
+ %\clearpage
+ %\thispagestyle{empty}
+ %\mbox{}\par\vfill
+ %\begin{center}
+ % \CopyrightTxt\ \copyright\ \number\US@year\ #1\\
+ % \CopyrightAnot
+ %\end{center}
+ %\vfill\mbox{}\par
+ %\clearpage
+ }
+\newcommand\SetCopyrightHolder[1]{%
+ \renewcommand\CopyrightHolder{#1}}
+\newif\ifUS@Copyright
+\US@Copyrighttrue
+\newcommand\SetCopyrightOff{%
+ \US@Copyrightfalse}
\newcommand{\DeclarationPage}[1][\ThesisDeclare]{%
\if@twocolumn
\@restonecoltrue\onecolumn
@@ -579,6 +587,15 @@
\hfill\makebox[0pt][c]{\US@author}\hfill\mbox{}\\[1cm]
\Datetxt:~\dotfill\mbox{}
\end{minipage}
+ \ifUS@Copyright
+ \mbox{}\par
+ \vfill
+ \vfill
+ \noindent\CopyrightTxt\ \copyright\ \number\US@year\ \CopyrightHolder\\
+ \noindent\CopyrightAnot
+ \vfill
+ \mbox{}\par
+ \fi
\if@restonecol\twocolumn\fi}
\newenvironment{abstract}[1][\languagename]%
{\edef\@tempa{\expandafter\string #1}%