summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-04-22 17:11:00 +0000
committerKarl Berry <karl@freefriends.org>2007-04-22 17:11:00 +0000
commit81124591535f0203fd3244061d47841f4d1f7d6e (patch)
tree8d6aef44609662e217c7d72db3f8776cedfe324f /Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty
parentc0fee4d1e64a7c6b512d1e2a7e1b2dea908a63fa (diff)
stellenbosch update (20apr07)
git-svn-id: svn://tug.org/texlive/trunk@4168 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty')
-rw-r--r--Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty51
1 files changed, 34 insertions, 17 deletions
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}%