summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/uothesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-07-23 23:32:47 +0000
committerKarl Berry <karl@freefriends.org>2011-07-23 23:32:47 +0000
commitcf6719838db957df7d5d828d6465275c6b61c20f (patch)
treecfcc6d19d9b64174b0b9331aedd28a4b32742a23 /Master/texmf-dist/tex/latex/uothesis
parent28f6208ffd764278dee40c4ed268957291399859 (diff)
uothesis (20jul11)
git-svn-id: svn://tug.org/texlive/trunk@23207 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/uothesis')
-rw-r--r--Master/texmf-dist/tex/latex/uothesis/uothesis.cls109
1 files changed, 82 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/uothesis/uothesis.cls b/Master/texmf-dist/tex/latex/uothesis/uothesis.cls
index 67283a44a07..f068bcb01ac 100644
--- a/Master/texmf-dist/tex/latex/uothesis/uothesis.cls
+++ b/Master/texmf-dist/tex/latex/uothesis/uothesis.cls
@@ -14,7 +14,7 @@
%% See http://www.latex-project.org/lppl.txt
%% ----------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{uothesis} [2010/04/10 v2.5.1 Submission to
+\ProvidesClass{uothesis} [2010/04/10 v2.5.5 Submission to
University of Oregon Graduate School]
\typeout{UO Thesis Class}
\typeout{}
@@ -40,6 +40,8 @@
\newif\ifchem
\newif\ifbound
\newif\ifnatbib
+\newif\ifnotables
+\newif\ifnofigures
\newif\if@dissertation
\newif\if@copyright
\newif\if@gsmodern
@@ -59,6 +61,8 @@
\DeclareOption{chemistry}{\chemtrue\amstextrue}
\DeclareOption{smallcaps}{\sctrue}
\DeclareOption{justified}{\justifiedtrue}
+\DeclareOption{nofigures}{\nofigurestrue}
+\DeclareOption{notables}{\notablestrue}
\DeclareOption{cheqns}{}
\DeclareOption{final}{\draftcopyfalse\draftimagefalse
\committeedraftfalse\latedraftfalse\finaltrue}
@@ -125,25 +129,32 @@
\iflatedraft\watermark{45}{0.95}{5cm}{2.5}{Review Proof}\fi
\fi
\ifdraftcopy
+\RequirePackage[colorlinks=true]{hyperref}
\newcounter{ednote}
\@addtoreset{ednote}{chapter}
\newcommand{\ednote}[1]{\stepcounter{ednote}\todo[color=blue!40,size=\scriptsize,
caption={NOTE \arabic{chapter}.\arabic{ednote}: #1},noprepend]%
{\bf\hfil N.\arabic{chapter}.\arabic{ednote}\hfil}%
{\textbf{\textcolor{blue}{[N.\arabic{chapter}.\arabic{ednote}]}}}}
-\newcommand{\here}{\textcolor{BrickRed}{$\blacksquare$}\todo[inline,color=red!40,
+\newcommand{\here}{\textcolor{BrickRed}{$\blacksquare$}\todo[color=red!40,
size=\small,caption={\uppercase{Incomplete Section: Section \arabic{chapter}.
\arabic{section}}}]{\hfil\textbf{\uppercase{Incomplete Section}}\hfil}}
\newcounter{citation}
-\@addtoreset{citation}{chapter}
- \newcommand{\needref}[1]{\stepcounter{citation}\todo[color=green!40,
+\newcounter{citationbychapter}
+\@addtoreset{citationbychapter}{chapter}
+ \newcommand{\needref}[1]{\stepcounter{citation}\stepcounter{citationbychapter}\todo[color=green!40,
size=\scriptsize,caption={CITE \arabic{chapter}.\arabic{citation}: #1}]
-{\bf\hfil N.\arabic{chapter}.\arabic{citation}\hfil}
+{\bf C.\arabic{chapter}.\arabic{citation}}
{\textbf{\textcolor{ForestGreen}{[C.\arabic{chapter}.\arabic{citation}]}}}}
+ \newcommand{\rfmk}{\stepcounter{citation}\stepcounter{citationbychapter}
+{\addcontentsline{tdo}{todo}{\protect{\colorbox{green!40}{\textcolor{green!40}{o}}\ Missing Reference: C.\arabic{chapter}.\arabic{citationbychapter}}}}%
+{{\textcolor{red}{\ensuremath{^\text{[REF: C.\arabic{chapter}.\arabic{citationbychapter}]}}}}}}
\else
\newcommand{\ednote}[1]{}
\newcommand{\here}{}
\newcommand{\needref}{}
+\newcounter{citation}
+\newcommand{\rfmk}{\stepcounter{citation}{\textcolor{red}{\cite{dummy_\arabic{citation}}}}}
\fi
\newcommand{\cleanbreak}{
@@ -159,6 +170,8 @@ size=\scriptsize,caption={CITE \arabic{chapter}.\arabic{citation}: #1}]
\newcommand\reactiontag{\refstepcounter{reaction}\tag{\thereaction}}
\newcommand{\chem}[2][]{\begin{equation}\cee{#2}%
\ifx\@empty#1\@empty\else\label{#1}\fi\reactiontag\end{equation}}
+\newcommand{\chemarray}[3][]{\begin{equation}\begin{array}{#2}\cee{#3}%
+\end{array}\ifx\@empty#1\@empty\else\label{#1}\fi\reactiontag\end{equation}}
\newcommand{\Chem}[2][]{\begin{multline}\cee{#2}%
\ifx\@empty#1\@empty\else\label{#1}\fi\reactiontag\end{multline}}
\fi
@@ -383,8 +396,7 @@ This \@papertype\ has been accepted and approved
\@advisor & Advisor\\
\@committee\\
and & \\ \\
-\@graddean & Vice President for Research
-and Graduate Studies/ Dean of the Graduate School
+\@graddean & Vice President for Research and Innovation/ Dean of the Graduate School
\end{tabular}\\*[\baselineskip]
Original approval signatures are on file with the
University of Oregon Graduate School.\\*[\baselineskip]
@@ -512,10 +524,13 @@ Title: \@abstracttitle\\*[\baselineskip]
\@makededpage
\begin{singlespacing}
\clearpage
-\pagestyle{tocextraheadings}
\@tableofcontents
+\ifnofigures\else
\IfFileExists{\jobname.\ext@figure}{\@listoffigures}{\@starttoc{\ext@figure}}
+\fi
+\ifnotables\else
\IfFileExists{\jobname.\ext@table}{\@listoftables}{\@starttoc{\ext@table}}
+\fi
\clearpage
\@normalheaderdims
\clearpage
@@ -538,7 +553,7 @@ Draft of \@longdraftdate\\
{\small
\begin{singlespacing}
\begin{center}ABSTRACT\end{center}
-\par\@abstract
+{\footnotesize \par\@abstract}
\vfill
\begin{center}
\noindent
@@ -569,10 +584,11 @@ Draft of \@longdraftdate\\
\setcounter{page}{1}}
\def\@footlines#1{\hbox to\textwidth{#1}}
-\def\@footer{\ifbound
-\hfill\rm\thepage
+\ifbound
+\def\@footer{\hfill\rm\thepage}
\else
-\hfil\rm\thepage\hfil\fi}
+\def\@footer{\hfil\rm\thepage\hfil}
+\fi
\def\ps@tocheadings{
\def\@oddfoot{\@footlines{\@footer}}
\def\@oddhead{}
@@ -581,8 +597,24 @@ Draft of \@longdraftdate\\
\def\ps@tocextraheadings{
\def\@oddfoot{\@footlines{\@footer}}
\def\@oddhead{{\hbox to\textwidth{Chapter\hfil{Page}}}}
-\let\@evenfoot\@oddfoot
-\let\@evenhead\@oddhead
+\def\@evenfoot\@oddfoot
+\def\@evenhead{{\hbox to\textwidth{Chapter\hfil{Page}}}}
+\textheight 620pt
+\headheight 14pt
+\headsep 14pt}
+\def\ps@lofextraheadings{
+\def\@oddfoot{\@footlines{\@footer}}
+\def\@oddhead{{\hbox to\textwidth{Figure\hfil{Page}}}}
+\def\@evenfoot\@oddfoot
+\def\@evenhead{{\hbox to\textwidth{Figure\hfil{Page}}}}
+\textheight 620pt
+\headheight 14pt
+\headsep 14pt}
+\def\ps@lotextraheadings{
+\def\@oddfoot{\@footlines{\@footer}}
+\def\@oddhead{{\hbox to\textwidth{Table\hfil{Page}}}}
+\def\@evenfoot\@oddfoot
+\def\@evenhead{{\hbox to\textwidth{Table\hfil{Page}}}}
\textheight 620pt
\headheight 14pt
\headsep 14pt}
@@ -595,21 +627,33 @@ Draft of \@longdraftdate\\
\headheight 14pt
\headsep 14pt}
-\def\@contentspages#1#2{
+\def\@tableofcontents{%
\clearpage
-\markboth{#1}{#1}
+\markboth{Chapter}{Chapter}
\thispagestyle{tocheadings}
-\@startchapter{#2}
+\@startchapter{TABLE OF CONTENTS}
\vspace*{14pt}
\noindent
-\makebox[\textwidth][l]{#1 \hfill Page}
-}
-\def\@tableofcontents{\@contentspages{Chapter}{TABLE OF CONTENTS}
-\@mysingle\@starttoc{toc}\pagestyle{tocextraheadings}}
-\def\@listoffigures{\@contentspages{Figure}{LIST OF FIGURES}
-\@mydouble\@starttoc{\ext@figure}\pagestyle{tocextraheadings}}
-\def\@listoftables{\@contentspages{Table}{LIST OF TABLES}
-\@mydouble\@starttoc{\ext@table}\pagestyle{tocextraheadings}}
+\makebox[\textwidth][l]{Chapter \hfill Page}
+\pagestyle{tocextraheadings}\@mysingle\@starttoc{toc}}
+\def\@listoffigures{%
+\clearpage
+\markboth{Figure}{Figure}
+\thispagestyle{tocheadings}
+\@startchapter{LIST OF FIGURES}
+\vspace*{14pt}
+\noindent
+\makebox[\textwidth][l]{Figure \hfill Page}
+\pagestyle{lofextraheadings}\@mydouble\@starttoc{\ext@figure}}
+\def\@listoftables{%
+\clearpage
+\markboth{Table}{Table}
+\thispagestyle{tocheadings}
+\@startchapter{LIST OF TABLES}
+\vspace*{14pt}
+\noindent
+\makebox[\textwidth][l]{Table \hfill Page}
+\pagestyle{lotextraheadings}\@mydouble\@starttoc{\ext@table}}
\if@gsmodern
\def\numberline#1{\hbox to\@tempdima{\hskip 0.75em #1\hfil}}
@@ -787,7 +831,7 @@ extra appendices; rerun LaTeX}
\ifdim \@tempskipa>\z@
\if@gsmodern
\begingroup
- \@hangfrom{{\bf#6\relax\hskip #3\relax\@svsec{#8}}}
+ \@hangfrom{{\bf#6\relax\hskip #3\relax}}{\bf\@svsec{#8}}
\interlinepenalty \@M
\endgroup
\else
@@ -872,6 +916,17 @@ extra appendices; rerun LaTeX}
\clearpage
\addcontentsline{toc}{chapter}{#1}
\@startchapter{#1}
+\ifnum \c@citation > 0
+\centering
+\setlength\fboxsep{10pt}
+\setlength\fboxrule{2pt}
+\begin{center}
+\framebox[1\columnwidth]{\parbox{0.95\columnwidth}{\textcolor{red}
+{\centering\textbf{There are unresolved citation issues!\\*%
+ Number of unresolved citations: \arabic{citation}.\\*%
+}}}}
+\end{center}
+\fi
\singlespacing
\@mybibsingle
\vspace*{3ex}}
@@ -994,7 +1049,7 @@ deprecated by Grad. School}
\item\relax}
{\endlist}
\renewenvironment{quote}
-{\begin{quote*}\singlespace\it\footnotesize}
+{\begin{quote*}\setstretch{1.7}}
{\end{quote*}}
\newif\if@pagesspecial