From 3f245318e1289cd7044de6661b22ad036de2c136 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Wed, 6 May 2015 22:10:36 +0000
Subject: ndsu-thesis (6may15)

git-svn-id: svn://tug.org/texlive/trunk@37238 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/ndsu-thesis/ndsu-thesis.cls          | 40 +++++++++++++---------
 1 file changed, 23 insertions(+), 17 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/ndsu-thesis/ndsu-thesis.cls')

diff --git a/Master/texmf-dist/tex/latex/ndsu-thesis/ndsu-thesis.cls b/Master/texmf-dist/tex/latex/ndsu-thesis/ndsu-thesis.cls
index 5ad51069e12..dabf90f8d0c 100644
--- a/Master/texmf-dist/tex/latex/ndsu-thesis/ndsu-thesis.cls
+++ b/Master/texmf-dist/tex/latex/ndsu-thesis/ndsu-thesis.cls
@@ -17,6 +17,8 @@
 
 % Here is a history of changes:
 %   2015-02-24: original release
+%   2015-04-28: fixed a list header problem
+%   2015-05-04: made entries in lot and lof single spaced, added cochaira and cochairb options and made cchair optional
 
 \ProvidesClass{ndsu-thesis}
 \DeclareOption{draft}{\PassOptionsToClass{draft}{book}}
@@ -41,7 +43,6 @@
 \setlength{\parindent}{.5in}
 \setcounter{secnumdepth}{5}
 \setlength{\intextsep}{\baselineskip}
-%\setlength{\belowcaptionskip}{-0.5\baselineskip}
 
 % Degree options
 \newcommand{\thesistype}{phd}
@@ -66,6 +67,8 @@
 \renewcommand{\cftsubsecaftersnum}{.}
 \setlength{\cftbeforesecskip}{0.5\baselineskip}
 \setlength{\cftbeforesubsecskip}{0.5\baselineskip}
+\setlength{\cftbeforetabskip}{0.5\baselineskip}
+\setlength{\cftbeforefigskip}{0.5\baselineskip}
 \setlength{\cftfigindent}{0em}
 \setlength{\cfttabindent}{0em}
 \renewcommand{\bibname}{REFERENCES}
@@ -117,8 +120,15 @@
 \let\@title=\@empty
 
 % Committee information
-\newcommand\cchair[1]{\def\@cchair{#1}}
+\newcommand\cchair[1]{\def\@cchair{#1\vspace{.05in}\hrule\vspace{.05in}
+	{\tiny Chair}\\}\vspace{.2 in}}
 \let\@cchair=\@empty
+\newcommand\cochaira[1]{\def\@cochaira{#1\vspace{.05in}\hrule\vspace{.05in}
+	{\tiny Co-Chair}\\}\vspace{.2 in}}
+\let\@cochaira=\@empty
+\newcommand\cochairb[1]{\def\@cochairb{#1\vspace{.05in}\hrule\vspace{.05in}
+	{\tiny Co-Chair}\\}\vspace{.2 in}}
+\let\@cochairb=\@empty
 \newcommand\cmembera[1]{\def\@cmembera{#1\vspace{.05in}
       \hrule\vspace{.2in}}}
 \let\@cmembera=\@empty
@@ -187,10 +197,8 @@
 \parbox{5.5in}{
     \hspace{-0.5in}SUPERVISORY COMMITTEE: \\
     \@cchair
-    \vspace{.05in}
-    \hrule
-    \vspace{0.05in}
-    {\tiny Chair} \\
+    \@cochaira
+    \@cochairb
     \@cmembera
     \@cmemberb
     \@cmemberc
@@ -209,21 +217,19 @@
 \addcontentsline{toc}{chapter}{ABSTRACT}
 }
 
-\newcommand{\makeoptional}{
-\@acknowledgements
-\@dedication
-\@preface
-}
-
 \AtBeginDocument{\frontmatter \maketitle\thispagestyle{empty} \makeapproval \makeabstract \@acknowledgements \@dedication \@preface
 \begin{singlespace}\tableofcontents\end{singlespace} 
-\iftotaltables\addtocontents{lot}{\noindent\underline{Table}\hfill \underline{Page}\par}\listoftables\fi
-\iftotalfigures\addtocontents{lof}{\noindent\underline{Figure}\hfill \underline{Page}\par}\listoffigures\fi
-\iftotalappendixtables\addtocontents{loat}{\noindent\underline{Table}\hfill\underline{Page}\par}\listofappendixtables\fi
-\iftotalappendixfigures\addtocontents{loaf}{\noindent\underline{Figure}\hfill\underline{Page}\par}\listofappendixfigures\fi
+\iftotaltables\begin{singlespace}\listoftables\end{singlespace}\fi
+\iftotalfigures\begin{singlespace}\listoffigures\end{singlespace}\fi
+\iftotalappendixtables\listofappendixtables\fi
+\iftotalappendixfigures\listofappendixfigures\fi
 \mainmatter}
 
 \pagestyle{plain}
+\addtocontents{lot}{\noindent\underline{Table}\hfill \underline{Page}\par}
+\addtocontents{lof}{\noindent\underline{Figure}\hfill \underline{Page}\par}
+\addtocontents{loat}{\noindent\underline{Table}\hfill \underline{Page}\par}
+\addtocontents{loaf}{\noindent\underline{Figure}\hfill \underline{Page}\par}
 
 % Labels chapters correctly
 \renewcommand{\chaptername}{}
@@ -262,4 +268,4 @@
     \setcounter{appendixtable}{0}
     \renewcommand{\theappendixtable}{A.\arabic{appendixtable}}
     \addcontentsline{toc}{chapter}{APPENDIX. \uppercase{#1}}
-}
\ No newline at end of file
+}
-- 
cgit v1.2.3

