diff options
author | Karl Berry <karl@freefriends.org> | 2007-04-22 17:11:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-04-22 17:11:00 +0000 |
commit | 81124591535f0203fd3244061d47841f4d1f7d6e (patch) | |
tree | 8d6aef44609662e217c7d72db3f8776cedfe324f /Master/texmf-dist/tex/latex/stellenbosch | |
parent | c0fee4d1e64a7c6b512d1e2a7e1b2dea908a63fa (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')
-rw-r--r-- | Master/texmf-dist/tex/latex/stellenbosch/usthesis.cls | 47 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/stellenbosch/usthesis.sty | 51 |
2 files changed, 66 insertions, 32 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}% 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}% |