From 81124591535f0203fd3244061d47841f4d1f7d6e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 22 Apr 2007 17:11:00 +0000 Subject: stellenbosch update (20apr07) git-svn-id: svn://tug.org/texlive/trunk@4168 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/stellenbosch/usthesis.sty | 51 ++++++++++++++-------- 1 file changed, 34 insertions(+), 17 deletions(-) (limited to 'Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty') diff --git a/Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty b/Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty index 2f48227a735..67c946d206d 100644 --- a/Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty +++ b/Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty @@ -13,7 +13,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 @@ -28,9 +28,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] \ProvidesPackage{usthesis}[\USfiledate\space \USfileversion\space @@ -314,9 +313,10 @@ {.5\paperheight}{*}% A5 text block \setulmargins{*}{*}{1.666667} % 5:3 \if@twoside - \setlrmargins{*}{*}{1.666667} % 5:3 + %\setlrmargins{*}{*}{1.666667} % 5:3 + \setlrmargins{*}{*}{1.000000} % 1:1 Changed in v3.0 \else - \setlrmargins{*}{*}{1.000000} % 1:1 + \setlrmargins{*}{*}{1.000000} % 1:1 \fi \checkandfixthelayout \setlength{\headwidth}{\textwidth} @@ -328,9 +328,10 @@ {0.666667\paperwidth}{*}% Golden ratio block \setulmargins{*}{*}{1.666667} % 5:3 \if@twoside - \setlrmargins{*}{*}{1.666667} % 5:3 + %\setlrmargins{*}{*}{1.666667} % 5:3 + \setlrmargins{*}{*}{1.000000} % 1:1 Changed in v3.0 \else - \setlrmargins{*}{*}{1.000000} % 1:1 + \setlrmargins{*}{*}{1.000000} % 1:1 \fi \checkandfixthelayout \setlength{\headwidth}{\textwidth} @@ -513,15 +514,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 @@ -543,6 +551,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} \renewenvironment{abstract}[1][\languagename]% {\edef\@tempa{\expandafter\string #1}% -- cgit v1.2.3