diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ucdavisthesis/ucdavisthesis.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/ucdavisthesis/ucdavisthesis.cls | 88 |
1 files changed, 59 insertions, 29 deletions
diff --git a/Master/texmf-dist/tex/latex/ucdavisthesis/ucdavisthesis.cls b/Master/texmf-dist/tex/latex/ucdavisthesis/ucdavisthesis.cls index 3789a1325eb..059eec80896 100644 --- a/Master/texmf-dist/tex/latex/ucdavisthesis/ucdavisthesis.cls +++ b/Master/texmf-dist/tex/latex/ucdavisthesis/ucdavisthesis.cls @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2007, 2008, 2009 by Ryan Scott +%% Copyright (C) 2007, 2008, 2009, 2010 by Ryan Scott %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -22,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{ucdavisthesis} - [2009/02/23 v1.0 UCDavis thesis class] + [2010/03/13 v1.1 UCDavis thesis class] %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -54,13 +54,19 @@ \def\@title{NO TITLE!?!} \def\@author{NO AUTHOR!?!} \def\@authordegrees{NO DEGREES!?!} -\def\@memberone{ }\def\@membertwo{ }\def\@memberthree{ } +\def\@memberone{NAME!?!}\def\@membertwo{NAME!?!}\def\@memberthree{NAME!?!} +\def\@memberfour{}\def\@memberfive{} \def\@titlesize{\large} +\def\@titleskip{\bigskip} +\def\@alttitleskip{\medskip} \renewcommand{\title}[1]{\def\@title{#1}} \renewcommand{\author}[1]{\def\@author{#1}} \newcommand{\titlesize}[1]{\def\@titlesize{#1}} \newcommand{\authordegrees}[1]{\def\@authordegrees{#1}} -\newcommand{\committee}[3]{\def\@memberone{#1}\def\@membertwo{#2}\def\@memberthree{#3}} +\newcommand{\committee}[5] + {\def\@memberone{#1}\def\@membertwo{#2}\def\@memberthree{#3} + \def\@memberfour{#4}\def\@memberfive{#5} + } \def\@officialmajor{NO OFFICIAL MAJOR!?!} \newcommand{\officialmajor}[1]{\def\@officialmajor{#1}} \def\@graduateprogram{NO GRADUATE PROGRAM!?!} @@ -475,7 +481,8 @@ \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv} - \renewcommand\baselinestretch{\@singlespacing}\@normalsize % enforce single spacing for each entry + % enforce single spacing for each entry + \renewcommand\baselinestretch{\@singlespacing}\@normalsize }% \sloppy \clubpenalty4000 @@ -484,7 +491,8 @@ \sfcode`\.\@m} {\def\@noitemerr {\@latex@warning{Empty `thebibliography' environment}}% - \renewcommand\baselinestretch{\@spacing}\@normalsize % return to original line spacing + % return to original line spacing + \renewcommand\baselinestretch{\@spacing}\@normalsize \endlist} \newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em} \let\@openbib@code\@empty @@ -769,33 +777,55 @@ \newcommand{\ColumnRestore}{\if@ColumnSaveValue\twocolumn\fi} \newcommand\@maketitlepage{ \begin{titlepage} - \renewcommand\baselinestretch{\@singlespacing} + \renewcommand\baselinestretch{\@singlespacing} + \ifx\@memberfive\@empty + \relax + \else + \let\@titleskip=\@alttitleskip + \fi% \ColumnSave - \begin {center} - \leavevmode\vfil - \@titlesize{\@title} \\ \bigskip - \normalsize By \\ \bigskip + \begin{center} + \leavevmode\vfil + \@titlesize{\@title} \\ \@titleskip + \normalsize By \\ \@titleskip \textsc{\@author} \\ - \@authordegrees \\ \bigskip - \textsc{\@Thesisname} \\ \bigskip + \@authordegrees \\ \@titleskip + \textsc{\@Thesisname} \\ \@titleskip Submitted in partial satisfaction of the requirements - for the degree of \\ \bigskip - \textsc{\@degreename} \\ \bigskip - in \\ \bigskip - \@officialmajor \\ \bigskip - in the \\ \bigskip - \textsc{Office of Graduate Studies} \\ \bigskip + for the degree of \\ \@titleskip + \textsc{\@degreename} \\ \@titleskip + in \\ \@titleskip + \@officialmajor \\ \@titleskip + in the \\ \@titleskip + \textsc{Office of Graduate Studies} \\ \@titleskip of the \\ \bigskip - \textsc{University of California} \\ \bigskip - \textsc{Davis} \\ \bigskip\bigskip - Approved: \\ \vspace{20pt} - \textit{\@memberone}\\ \vspace{-9pt} - \rule{3in}{1pt} \\ \vspace{14pt} - \textit{\@membertwo}\\ \vspace{-9pt} - \rule{3in}{1pt} \\ \vspace{14pt} - \textit{\@memberthree}\\ \vspace{-9pt} - \rule{3in}{1pt} \\ \medskip - Committee in Charge \\ \bigskip + \textsc{University of California} \\ \@titleskip + \textsc{Davis} \\ \@titleskip\medskip + Approved: \\ + \ifx\@memberfour\@empty + \vspace{18pt}\rule{3in}{1pt} \\ + \textrm{\@memberone}\\ + \vspace{18pt}\rule{3in}{1pt} \\ + \textrm{\@membertwo}\\ + \vspace{18pt}\rule{3in}{1pt} \\ + \textrm{\@memberthree}\\ + \else + \vspace{12pt}\rule{3in}{1pt} \\ + \textrm{\@memberone}\\ + \vspace{12pt}\rule{3in}{1pt} \\ + \textrm{\@membertwo}\\ + \vspace{12pt}\rule{3in}{1pt} \\ + \textrm{\@memberthree}\\ + \vspace{12pt}\rule{3in}{1pt} \\ + \textrm{\@memberfour}\\ + \fi% + \ifx\@memberfive\@empty + \relax + \else + \vspace{12pt}\rule{3in}{1pt} \\ + \textrm{\@memberfive}\\ + \fi% + \bigskip Committee in Charge \\ \bigskip \@degreeyear \\ \vfil \end {center} |