summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/ucdavisthesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-08-19 22:51:29 +0000
committerKarl Berry <karl@freefriends.org>2013-08-19 22:51:29 +0000
commit6dcea8b7d9d00532a1759ae08cfca79ba6f7a565 (patch)
treeee8a6f76f6cffbbaeb34373efd5ff022c4664adb /Master/texmf-dist/source/latex/ucdavisthesis
parent159c0f9b4397fce4ebb181dd2877849155199127 (diff)
ucdavisthesis (19aug13)
git-svn-id: svn://tug.org/texlive/trunk@31476 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/ucdavisthesis')
-rw-r--r--Master/texmf-dist/source/latex/ucdavisthesis/ucdavisthesis.dtx157
-rw-r--r--Master/texmf-dist/source/latex/ucdavisthesis/ucdavisthesis.ins134
2 files changed, 125 insertions, 166 deletions
diff --git a/Master/texmf-dist/source/latex/ucdavisthesis/ucdavisthesis.dtx b/Master/texmf-dist/source/latex/ucdavisthesis/ucdavisthesis.dtx
index 5d492ef72a9..168ef76aa90 100644
--- a/Master/texmf-dist/source/latex/ucdavisthesis/ucdavisthesis.dtx
+++ b/Master/texmf-dist/source/latex/ucdavisthesis/ucdavisthesis.dtx
@@ -2,7 +2,7 @@
%
% ucdavisthesis.dtx
%
-% Copyright (C) Copyright 2007, 2008, 2009, 2010 by Ryan Scott
+% Copyright (C) Copyright 2007, 2008, 2009, 2010, 2013 by Ryan Scott
%
% Adapted from UCLA THESIS/DISSERTATION CLASS -- for LaTeX version 2e
% (C) Copyright 1995 by John Heidemann.
@@ -36,7 +36,7 @@
%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<class>\ProvidesClass{ucdavisthesis}
%<*class>
- [2010/03/13 v1.1 UCDavis thesis class]
+ [2013/08/18 v1.2 UCDavis thesis class]
%</class>
%<ucd10pt>\ProvidesFile{ucdthesis10.clo}%
%<ucd10pt> [2009/02/22 v1.0 ucdavisthesis class 10pt size option]
@@ -49,7 +49,7 @@
%
%<*driver>
\documentclass{ltxdoc}
-%\EnableCrossrefs
+% \EnableCrossrefs
% \DisableCrossrefs
% \CodelineIndex %codelineindex or pageindex, not both
% \PageIndex
@@ -60,7 +60,7 @@
%</driver>
% \fi
%
-% \CheckSum{3036}
+% \CheckSum{2923}
%
%% \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
@@ -84,9 +84,11 @@
%
% \changes{v0.99}{2009/02/12}{Fixed prelim page numbering problem. Fixed typos in documentation.}
%
-% \changes{v1.0}{2009/02/23}{Release version. UMI abstract left margin fixed. Added \texttt{\textbackslash singlespacing} and \texttt{\textbackslash committee} commands.}
+% \changes{v1.0}{2009/02/23}{Release version. UMI abstract left margin fixed. Added \texttt{singlespacing} and \texttt{committee} commands.}
%
-% \changes{v1.1}{2010/03/13}{Updated Title page; committee member names appear under signature lines. Updated \texttt{\textbackslash committee} command to accept up to five committee members. Fixed \texttt{\textbackslash singlespacing} usage in example file.}
+% \changes{v1.1}{2010/03/11}{Updated Title page so that committee member names appear under signature lines. Fixed \texttt{singlespacing} usage in example file.}
+%
+% \changes{v1.2}{2013/08/18}{Updated page number location to bottom center. Set all margins to 1 inch. Simplified Abstract title.}
%
% \GetFileInfo{ucdavisthesis.dtx}
%
@@ -145,7 +147,7 @@
%
% \section{Introduction} \label{sec.intro}
%
-% The \textsf{ucdavisthesis} class is a \LaTeXe{} class that allows you to create a dissertation or thesis which conforms to UC Davis formatting requirements as of 2010. The output document has the necessary preliminary pages, margins, page number placement, etc. This class also provides most of the macros available in the |report| class, allowing for chapters, sections, etc. Please check the Graduate Studies web page (http://gradstudies.ucdavis.edu/students/filing.html) for any changes or updates. For general help with \LaTeX, please check out the \LaTeX FAQ (http://www.tex.ac.uk/faq), the CTAN web site (http://www.ctan.org/), or the comp.text.tex Google Group (http://groups.google.com/group/comp.text.tex).
+% The \textsf{ucdavisthesis} class is a \LaTeXe{} class that allows you to create a dissertation or thesis which conforms to UC Davis formatting requirements as of 2013. The output document has the necessary preliminary pages, margins, page number placement, etc. This class also provides most of the macros available in the |report| class, allowing for chapters, sections, etc. Please check the Graduate Studies web page (http://gradstudies.ucdavis.edu/students/filing.html) for any changes or updates.
%
% This manual is typeset according to the conventions of the \LaTeX{} \textsc{docstrip} utility which enables the automatic extraction of the \LaTeX{} macro source files.
%
@@ -243,9 +245,9 @@
% \end{quote}
%
%
-% \DescribeMacro{\committee} This command will place the committee members' names under the approval lines. ``Chair'' should appear with the first member's name. There may be up to five (seriously?) committee members. Leave unused arguments empty. Your committee member names must be specified.
+% \DescribeMacro{\committee} This command will place the committee members' names under the approval lines. ``Chair'' appears before the first member's name. Your committee member names must be specified.
% \begin{quote}
-% |\committee|\marg{mem 1}\marg{mem 2}\marg{mem 3}\marg{mem 4}\marg{mem 5}
+% |\committee|\marg{member 1}\marg{member 2}\marg{member 3}
% \end{quote}%
%
%
@@ -399,19 +401,13 @@
\def\@title{NO TITLE!?!}
\def\@author{NO AUTHOR!?!}
\def\@authordegrees{NO DEGREES!?!}
-\def\@memberone{NAME!?!}\def\@membertwo{NAME!?!}\def\@memberthree{NAME!?!}
-\def\@memberfour{}\def\@memberfive{}
+\def\@memberone{ }\def\@membertwo{ }\def\@memberthree{ }
\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}[5]
- {\def\@memberone{#1}\def\@membertwo{#2}\def\@memberthree{#3}
- \def\@memberfour{#4}\def\@memberfive{#5}
- }
+\newcommand{\committee}[3]{\def\@memberone{#1}\def\@membertwo{#2}\def\@memberthree{#3}}
% \end{macrocode}
%
% The following commands set the official major and graduate program.
@@ -602,18 +598,18 @@
% to ensure that the text will fall within the thesis margin limits
% even if photo-copying enlarges or misaligns it slightly.
%
-% According to the UCD format, margins are to be 1.5 inch left,
-% 1 inch top, right, and bottom with the page numbers allowed
+% According to the UCD format, margins are to be 1 inch on the
+% top, right, left, and bottom with the page numbers allowed
% to be outside these margins.
%
% \subsubsection{Side Margins}
% \begin{macrocode}
\if@twoside % twoside is non-conforming to UC format
- \setlength{\oddsidemargin}{0.6in} % these are added to
+ \setlength{\oddsidemargin}{0.1in} % these are added to
\setlength{\evensidemargin}{0.1in} % LaTeX's 1 inch left margin
\else % Note that \oddsidemargin = \evensidemargin
- \setlength{\oddsidemargin}{0.6in} % these are added to LaTeX's
- \setlength{\evensidemargin}{0.6in} % 1 inch left margin.
+ \setlength{\oddsidemargin}{0.1in} % these are added to LaTeX's
+ \setlength{\evensidemargin}{0.1in} % 1 inch left margin.
\fi
% \end{macrocode}
%
@@ -637,7 +633,7 @@
% |\textheight| is the height of the text (including footnotes and figures, excluding running header and footer). |\textwidth| is the width of text line.
% \begin{macrocode}
\setlength{\textheight}{8.8in}
-\setlength{\textwidth}{5.8in}
+\setlength{\textwidth}{6.3in}
% \end{macrocode}
%
% A |\raggedbottom| command causes `ragged bottom' pages: pages set to
@@ -1230,8 +1226,7 @@
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}
- % enforce single spacing for each entry
- \renewcommand\baselinestretch{\@singlespacing}\@normalsize
+ \renewcommand\baselinestretch{\@singlespacing}\@normalsize % enforce single spacing for each entry
}%
\sloppy
\clubpenalty4000
@@ -1240,8 +1235,7 @@
\sfcode`\.\@m}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
- % return to original line spacing
- \renewcommand\baselinestretch{\@spacing}\@normalsize
+ \renewcommand\baselinestretch{\@spacing}\@normalsize % return to original line spacing
\endlist}
\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
\let\@openbib@code\@empty
@@ -1477,25 +1471,19 @@
% Note the use of \#\# 1 for parameter of |\def\chaptermark| inside the
% |\def\ps@thshead|.
% \begin{macrocode}
-\newlength{\foliosep}
\newlength{\UMIfoliosep}
-% gap separating page number box from edge of text
-\setlength{\foliosep}{0.34in}
% gap separating page number from edge of text
\setlength{\UMIfoliosep}{0.25in}
% \end{macrocode}
%
% \begin{macrocode}
-\def\ps@thshead{\def\@oddfoot{}\def\@evenfoot{}% No footers.
+\def\ps@thshead{\def\@oddfoot{\hfil\thepage\hfil}%
+\def\@evenfoot{\hfil\thepage\hfil}%
\if@twoside % If `twoside' option
\if@draftcls % If `draftcls' option
\def\@oddhead{\hbox to\textwidth{% Heading on odd (right) pages.
- {\hfil\textsc{\footnotesize DRAFT \quad\rightmark}}%
- % Push the page number into the margin
- \rlap{\hskip\foliosep\hbox to 20pt{\hfill\thepage}}}}
+ {\hfil\textsc{\footnotesize DRAFT \quad\rightmark}\hfil}}}%
\def\@evenhead{\hbox to\textwidth{% Heading on even (left) pages.
- % Push the page number into the margin
- \llap{\hbox to 20pt{\thepage\hfill}\hskip\foliosep}%
{\footnotesize DRAFT \quad\leftmark}\hfil}}
\let\@mkboth\markboth
\def\chaptermark##1{%
@@ -1511,24 +1499,18 @@
\fi
##1}}}
\else
- \def\@oddhead{\hbox to\textwidth{% Heading on odd (right) pages.
- % Push the page number into the margin
- \hfill\rlap{\hskip\foliosep\hbox to 20pt{\hfill\thepage}}}}
- \def\@evenhead{\hbox to\textwidth{% Heading on even (left) pages.
- % Push the page number into the margin
- \llap{\hbox to 20pt{\thepage\hfill}\hskip\foliosep}\hfill}}
+ \def\@oddhead{\hbox to\textwidth{}}% Heading on odd (right) pages.
+ \def\@evenhead{\hbox to\textwidth{}}% Heading on even (left) pages.
\fi
\else
\if@draftcls % If 'draft' option
\def\@oddhead{\hbox to\textwidth{%
- {\textsc{\footnotesize DRAFT \quad\rightmark}}%
- \hfil\rlap{\hskip\foliosep\hbox to 20pt{\hfill\thepage}}}}% Heading.
+ {\textsc{\footnotesize DRAFT \quad\rightmark}\hfil}}}%
\let\@evenhead\@oddhead
\def\chaptermark##1{\markright {{\ifnum \c@secnumdepth >\m@ne
\@chapapp\ \thechapter. \ \fi ##1}}}
\else
- \def\@oddhead{\hbox to\textwidth{%
- \hfill\rlap{\hskip\foliosep\hbox to 20pt{\hfill\thepage}}}}% Heading.
+ \def\@oddhead{\hbox to\textwidth{}}%
\let\@evenhead\@oddhead
\fi
\fi}
@@ -1537,10 +1519,9 @@
% \subsubsection{UMI Abstract Page Style}
% \begin{macrocode}
\def\ps@UMIheadings{% UMI Abstract Heading for page 2
-\def\@oddfoot{}\def\@evenfoot{}% No footers
-\def\@oddhead{\hbox to\textwidth{% Header for odd pages
- % force page number into right margin
- \hfill\rlap{\hskip\UMIfoliosep -\thepage -}}}%
+\def\@oddfoot{\hfil -\thepage -\hfil}%
+\def\@evenfoot{\hfil -\thepage -\hfil}%
+\def\@oddhead{\hbox to\textwidth{}}% Header for odd pages
\let\@evenhead\@oddhead} % Even pages same as odd pages
% \end{macrocode}
%
@@ -1550,8 +1531,8 @@
\if@twoside
\def\ps@headings{%
\let\@oddfoot\@empty\let\@evenfoot\@empty
- \def\@evenhead{\thepage\hfil\slshape\leftmark}%
- \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+ \def\@evenhead{\hfil\slshape\leftmark}%
+ \def\@oddhead{{\slshape\rightmark}\hfil}%
\let\@mkboth\markboth
\def\chaptermark##1{%
\markboth {\MakeUppercase{%
@@ -1568,7 +1549,7 @@
\else
\def\ps@headings{%
\let\@oddfoot\@empty
- \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+ \def\@oddhead{{\slshape\rightmark}\hfil}%
\let\@mkboth\markboth
\def\chaptermark##1{%
\markright {\MakeUppercase{%
@@ -1720,55 +1701,33 @@
% \begin{macrocode}
\newcommand\@maketitlepage{
\begin{titlepage}
- \renewcommand\baselinestretch{\@singlespacing}
- \ifx\@memberfive\@empty
- \relax
- \else
- \let\@titleskip=\@alttitleskip
- \fi%
+ \renewcommand\baselinestretch{\@singlespacing}
\ColumnSave
- \begin{center}
- \leavevmode\vfil
- \@titlesize{\@title} \\ \@titleskip
- \normalsize By \\ \@titleskip
+ \begin {center}
+ \leavevmode\vfil
+ \@titlesize{\@title} \\ \bigskip
+ \normalsize By \\ \bigskip
\textsc{\@author} \\
- \@authordegrees \\ \@titleskip
- \textsc{\@Thesisname} \\ \@titleskip
+ \@authordegrees \\ \bigskip
+ \textsc{\@Thesisname} \\ \bigskip
Submitted in partial satisfaction of the requirements
- for the degree of \\ \@titleskip
- \textsc{\@degreename} \\ \@titleskip
- in \\ \@titleskip
- \@officialmajor \\ \@titleskip
- in the \\ \@titleskip
- \textsc{Office of Graduate Studies} \\ \@titleskip
+ for the degree of \\ \bigskip
+ \textsc{\@degreename} \\ \bigskip
+ in \\ \bigskip
+ \@officialmajor \\ \bigskip
+ in the \\ \bigskip
+ \textsc{Office of Graduate Studies} \\ \bigskip
of the \\ \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
+ \textsc{University of California} \\ \bigskip
+ \textsc{Davis} \\ \bigskip\bigskip
+ Approved: \\ \vspace{18pt}
+ \rule{3in}{1pt} \\
+ Chair \textrm{\@memberone}\\ \vspace{18pt}
+ \rule{3in}{1pt} \\
+ \textrm{\@membertwo}\\ \vspace{18pt}
+ \rule{3in}{1pt} \\ \medskip
+ \textrm{\@memberthree}\\ \bigskip
+ Committee in Charge \\ \bigskip
\@degreeyear \\
\vfil
\end {center}
@@ -1846,7 +1805,7 @@
\ColumnSave
\par
\begin{center}
- \textsc{\large \abstractname\ of the \@Thesisname}\\ \bigskip
+ \textsc{\large \abstractname}\\ \bigskip
\textbf{\@title} % \textsb?
\end{center}
\ifx\@spacing\@doublespacing\bigskip\smallskip\else\bigskip\fi
diff --git a/Master/texmf-dist/source/latex/ucdavisthesis/ucdavisthesis.ins b/Master/texmf-dist/source/latex/ucdavisthesis/ucdavisthesis.ins
index 79bda718211..9998ff861e3 100644
--- a/Master/texmf-dist/source/latex/ucdavisthesis/ucdavisthesis.ins
+++ b/Master/texmf-dist/source/latex/ucdavisthesis/ucdavisthesis.ins
@@ -1,68 +1,68 @@
-%%
-%% Copyright (C) 2007-2009 by Ryan Scott
-%%
-%% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either
-%% version 1.2 of this license or (at your option) any later
-%% version. The latest version of this license is in:
-%%
-%% http://www.latex-project.org/lppl.txt
-%%
-%% and version 1.2 or later is part of all distributions of
-%% LaTeX version 1999/12/01 or later.
-%%
-\input docstrip.tex
-
-\keepsilent
-\askonceonly
-
-\usedir{tex/latex/ucdavisthesis}
-
-\preamble
-
-This is a generated file.
-
-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
-version 1.2 of this license or (at your option) any later
-version. The latest version of this license is in:
-
-http://www.latex-project.org/lppl.txt
-
-and version 1.2 or later is part of all distributions of
-LaTeX version 1999/12/01 or later.
-
-\endpreamble
-
-\generate{\file{ucdavisthesis.cls}{\from{ucdavisthesis.dtx}{class}}
- \file{ucdthesis10.clo}{\from{ucdavisthesis.dtx}{ucdxxpt,ucd10pt}}
- \file{ucdthesis11.clo}{\from{ucdavisthesis.dtx}{ucdxxpt,ucd11pt}}
- \file{ucdthesis12.clo}{\from{ucdavisthesis.dtx}{ucdxxpt,ucd12pt}}
- \file{ucdthesis13.clo}{\from{ucdavisthesis.dtx}{ucdxxpt,ucd13pt}}
- }
-
-\obeyspaces
-\obeyspaces
-\Msg{****************************************************}
-\Msg{* *}
-\Msg{* To finish the installation you have to move the *}
-\Msg{* following files into a directory searched by *}
-\Msg{* TeX. See the FAQ on CTAN at /help/uk-tex-faq *}
-\Msg{* for more on this. *}
-\Msg{* *}
-\Msg{* ucdavisthesis.cls *}
-\Msg{* ucdthesis10.clo *}
-\Msg{* ucdthesis11.clo *}
-\Msg{* ucdthesis12.clo *}
-\Msg{* ucdthesis13.clo *}
-\Msg{* *}
-\Msg{* To produce the documentation run the file *}
-\Msg{* ucdavisthesis.dtx through LaTeX. *}
-\Msg{* *}
-\Msg{* Happy LaTeXing! *}
-\Msg{* *}
-\Msg{****************************************************}
-
+%%
+%% Copyright (C) 2007-2013 by Ryan Scott
+%%
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.2 of this license or (at your option) any later
+%% version. The latest version of this license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.2 or later is part of all distributions of
+%% LaTeX version 1999/12/01 or later.
+%%
+\input docstrip.tex
+
+\keepsilent
+\askonceonly
+
+\usedir{tex/latex/ucdavisthesis}
+
+\preamble
+
+This is a generated file.
+
+Copyright (C) 2007, 2008, 2009, 2010, 2013 by Ryan Scott
+
+This file may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.2 of this license or (at your option) any later
+version. The latest version of this license is in:
+
+http://www.latex-project.org/lppl.txt
+
+and version 1.2 or later is part of all distributions of
+LaTeX version 1999/12/01 or later.
+
+\endpreamble
+
+\generate{\file{ucdavisthesis.cls}{\from{ucdavisthesis.dtx}{class}}
+ \file{ucdthesis10.clo}{\from{ucdavisthesis.dtx}{ucdxxpt,ucd10pt}}
+ \file{ucdthesis11.clo}{\from{ucdavisthesis.dtx}{ucdxxpt,ucd11pt}}
+ \file{ucdthesis12.clo}{\from{ucdavisthesis.dtx}{ucdxxpt,ucd12pt}}
+ \file{ucdthesis13.clo}{\from{ucdavisthesis.dtx}{ucdxxpt,ucd13pt}}
+ }
+
+\obeyspaces
+\obeyspaces
+\Msg{****************************************************}
+\Msg{* *}
+\Msg{* To finish the installation you have to move the *}
+\Msg{* following files into a directory searched by *}
+\Msg{* TeX. See the FAQ on CTAN at /help/uk-tex-faq *}
+\Msg{* for more on this. *}
+\Msg{* *}
+\Msg{* ucdavisthesis.cls *}
+\Msg{* ucdthesis10.clo *}
+\Msg{* ucdthesis11.clo *}
+\Msg{* ucdthesis12.clo *}
+\Msg{* ucdthesis13.clo *}
+\Msg{* *}
+\Msg{* To produce the documentation run the file *}
+\Msg{* ucdavisthesis.dtx through LaTeX. *}
+\Msg{* *}
+\Msg{* Happy LaTeXing! *}
+\Msg{* *}
+\Msg{****************************************************}
+
\endbatchfile \ No newline at end of file