%% various style tweaks %% a few minor resizings \parindent 2em \topmargin 0.35in \headheight \baselineskip \headsep = \baselineskip % uncomment this--looks better for bottom margin \addtolength{\textheight}{10pt} \addtolength{\textwidth}{-5pt} \newcounter{notes} \newenvironment{Notes}% {\begin{list}{{(\roman{notes})\hfill}}{\usecounter{notes}% \setlength{\itemindent}{\parindent}% \setlength{\labelwidth}{\parindent}% \setlength{\labelsep}{0pt}% \setlength{\leftmargin}{0pt}% \setlength{\listparindent}{\parindent}}}% {\end{list}} \renewenvironment{acknowledgements} {\begin{alwayssingle} \chapter*{\acknowledgename} \markboth{\acknowledgename}{\acknowledgename} \addcontentsline{toc}{chapter}{\acknowledgename} } {\end{alwayssingle}} \usepackage{fancyhdr} %% One-sided style %\lhead{\fancyplain{}{\scshape \leftmark}} %\rhead{\fancyplain{\thepage}{\thepage}} \pagestyle{fancyplain} %% Two-sided style - use in the document itself \lhead[\fancyplain{\thepage}{\thepage}]{\fancyplain{}{\scshape\rightmark}} \rhead[\fancyplain{}{\scshape\leftmark}]{\fancyplain{\thepage}{\thepage}} \chead{} \cfoot{} \lfoot{} \rfoot{} \newcommand{\blankpage}{\thispagestyle{empty}\cleardoublepage} \newcommand{\twosidebreak}{% \if@twoside\raggedbottom\newpage\flushbottom\fi} %% Redefine these environments so that they do not uppercase the headings \def\chaptermark#1{% \markboth{\@chapapp\ \thechapter.~~ #1}{}} \def\sectionmark#1{% \markright{Section \thesection.~~ #1}} \def\tableofcontents{\@restonecolfalse \if@twocolumn\@restonecoltrue\onecolumn\fi \chapter*{\contentsname \@mkboth{{\contentsname}}{{\contentsname}}}% {\ssp\@starttoc{toc}}\if@restonecol\twocolumn\fi} \def\listoffigures{\@restonecolfalse \if@twocolumn\@restonecoltrue\onecolumn\fi \chapter*{\listfigurename\@mkboth{{\listfigurename}}% {{\listfigurename}}} \addcontentsline{toc}{chapter}{\listfigurename} {\ssp\@starttoc{lof}}\if@restonecol \twocolumn\fi} %% Remove the indent in the list of figures \def\l@figure{\@dottedtocline{1}{0em}{2.3em}} %% Make Chapter # font as big as the chapter heading font \def\@makechapterhead#1{% \vspace*{50\p@}% {\parindent \z@ \raggedright \normalfont \ifnum \c@secnumdepth >\m@ne \Huge\bfseries \@chapapp\space \thechapter \par\nobreak \vskip 20\p@ \fi \interlinepenalty\@M \Huge \bfseries #1\par\nobreak \vskip 40\p@ }} \newcommand{\longpage}{\enlargethispage{\baselineskip}} \newcommand{\shortpage}{\enlargethispage{-\baselineskip}} %% Alteration to approval page (KLS Feb 2010) \def\approvalpage{ \begin{alwayssingle} \thispagestyle{empty} \null\vfill \begin{center} \fmfont The dissertation of {\@author},\\ titled {\@title},\\ is approved: \\ \vspace{.25in} \vspace{\@approvalspace} $\:\overline{~~~~ \mbox{\rule{0in}{0.16in}\small Chair% \hspace{3.15in} Date }}\:$ \\ \vspace{\@approvalspace} $\:\overline{~~~~ \mbox{\rule{0in}{0.16in}\small ~\hspace{3.5in} Date }}\:$ \\ \vspace{\@approvalspace} $\:\overline{~~~~ \mbox{\rule{0in}{0.16in}\small ~\hspace{3.5in} Date }}\:$ \\ \vspace{\@approvalspace} \ifnum \@numberofmembers > 3 $\:\overline{~~~~ \mbox{\rule{0in}{0.16in}\small ~\hspace{3.5in} Date }}\:$ \\ \vspace{\@approvalspace} \fi \ifnum \@numberofmembers > 4 $\:\overline{~~~~ \mbox{\rule{0in}{0.16in}\small ~\hspace{3.5in} Date }}\:$ \\ \vspace{\@approvalspace} \fi \ifnum \@numberofmembers > 5 $\:\overline{~~~~ \mbox{\rule{0in}{0.16in}\small ~\hspace{3.5in} Date }}\:$ \\ \vspace{\@approvalspace} \fi {\fmfont University of California, {\@campus}} \\ \vspace{-.25in} \vspace{\@approvalspace} {\fmfont \@degreesemester \ \@degreeyear} \end{center} \vfill\null \end{alwayssingle} } %% Alteration to title page to remove caps (KLS Feb 2010) \def\maketitle{ {\ssp \begin{alwayssingle} \let\footnotesize\small \let\footnoterule\relax \thispagestyle{empty} \setcounter{page}{1} \null\vfil \begin{center} \fmfont {\bfseries {\@title} \par} \bigskip \medskip by \par \bigskip \medskip {\@author} \par \vspace{6ex} {\@prevdegrees} \par \vspace{6ex} A dissertation submitted in partial satisfaction of the \par \smallskip requirements for the degree of \par \smallskip {\@degree} \par \bigskip \medskip in \par \bigskip \medskip {\@field}\par \bigskip \medskip in the \par \bigskip \medskip Graduate Division \par \smallskip of the \par \smallskip University of California, {\expandafter\expandafter{\@campus}} \end{center} { \vspace{6ex} \begin{center} \fmsmallfont Committee in charge: \\ {\@chair}, Chair \\ {\@othermembers} \\ \vspace{4ex} {\@degreesemester \ \@degreeyear} \end{center} } \vfil\null \end{alwayssingle} \setcounter{footnote}{0} }} %% set margins (ARW Feb 2010) \oddsidemargin 0in % note that \oddsidemargin = \evensidemargin \evensidemargin 0in \marginparwidth 0pt \textwidth 6.5in % width of main text box \headwidth 6.5in \topmargin 0in % margin at top of page above all printing + 1 inch. \textheight 8.4in % height of main text box %% make body single-spaced (KLS Feb 2010) \ssp %% make bibliography single-spaced (ARW Mar 2010) \let\oldthebibliography=\thebibliography \let\endoldthebibliography=\endthebibliography \renewenvironment{thebibliography}[1]{% \begin{oldthebibliography}{#1}% \setlength{\parskip}{0ex}% \setlength{\itemsep}{0ex}% }% {% \end{oldthebibliography}% }