diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty | 44 |
1 files changed, 32 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty b/Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty index 3255fc48bb4..0bc01b6dd40 100644 --- a/Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty +++ b/Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty @@ -5,7 +5,7 @@ %% The original source files were: %% %% usthesis.dtx (with options: `mem') -%% Copyright (C) 2003--2008 Danie Els +%% Copyright (C) 2003--2009 Danie Els %% %% ------------------------------------------------------------------- %% University of Stellenbosch Thesis style @@ -24,9 +24,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] \ProvidesPackage{usthesis}[\USfiledate\space \USfileversion\space @@ -455,6 +454,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 @@ -468,14 +494,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 |