diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/stellenbosch/usthesis.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/stellenbosch/usthesis.cls | 44 |
1 files changed, 32 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/stellenbosch/usthesis.cls b/Master/texmf-dist/tex/latex/stellenbosch/usthesis.cls index 0aa09c6db8d..7c45293405c 100644 --- a/Master/texmf-dist/tex/latex/stellenbosch/usthesis.cls +++ b/Master/texmf-dist/tex/latex/stellenbosch/usthesis.cls @@ -5,7 +5,7 @@ %% The original source files were: %% %% usthesis.dtx (with options: `cls') -%% Copyright (C) 2003--2008 Danie Els +%% Copyright (C) 2003--2009 Danie Els %% %% ------------------------------------------------------------------- %% University of Stellenbosch Thesis Class @@ -23,9 +23,8 @@ %% This Current Maintainer of this work is Danie Els (dnjels@sun.ac.za) %% ------------------------------------------------------------------- %% -\newcommand{\USfileversion}{v4.0} -\newcommand{\USfiledate}{2008/06/30} - +\newcommand{\USfileversion}{v4.1} +\newcommand{\USfiledate}{2009/03/07} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \def\US@basetype{book} \ProvidesClass{usthesis}[\USfiledate\space @@ -488,6 +487,33 @@ \US@Copyrighttrue \newcommand\SetCopyrightOff{% \US@Copyrightfalse} +\let\US@DeclSign\@empty +\let\US@DeclDate\@empty +\newcommand{\DeclarationSign}[1]{\renewcommand\US@DeclSign{#1}} +\newcommand{\DeclarationDate}[1]{\renewcommand\US@DeclDate{#1}} +\newcommand\US@putdeclsign{% + \ifx\US@DeclSign\@empty\relax\else + \vspace{0.5cm} + \noindent + \begin{minipage}{.5\textwidth} + \noindent + \phantom{\Signat:}~\hfill\US@DeclSign\hfill\mbox{}\\[-.5\baselineskip] + \Signat:~\dotfill\mbox{}\\ + \phantom{\Signat:}~\hfill\makebox[0pt][c]{\US@author}\hfill\mbox{} + \end{minipage} + \par + \fi} +\newcommand\US@putdecldate{% + \vspace{1cm} + \noindent + \begin{minipage}{.5\textwidth} + \noindent + \ifx\US@DeclDate\@empty\relax\else + \phantom{\Signat:}~\hfill\makebox[0pt][c]{\US@DeclDate}\hfill\mbox{}\\[-.5\baselineskip] + \fi + \Datetxt:~ \dotfill\mbox{}\par + \end{minipage} + \par} \newcommand{\DeclarationPage}[1][\ThesisDeclare]{% \if@twocolumn \@restonecoltrue\onecolumn @@ -501,14 +527,8 @@ \phantomsection \addcontentsline{toc}{chapter}{\DeclarationName}% #1\par - \vspace{3cm} - \noindent - \begin{minipage}{.5\textwidth} - \Signat:~\dotfill\mbox{}\\ - \phantom{\Signat:}~% - \hfill\makebox[0pt][c]{\US@author}\hfill\mbox{}\\[1cm] - \Datetxt:~\dotfill\mbox{} - \end{minipage} + \US@putdeclsign + \US@putdecldate \ifUS@Copyright \mbox{}\par \vfill |