Template uploaded
This commit is contained in:
parent
a575244f76
commit
89c1afe6ba
|
|
@ -0,0 +1,39 @@
|
|||
\chapter{Acronyms}
|
||||
|
||||
A summary of all acronyms is documented in Table \ref{tab:acro}.
|
||||
|
||||
\begin{longtable}{| l | l |}
|
||||
\caption{A summary of acronyms used in alphabetical order.}\label{tab:acro}\\
|
||||
\hline
|
||||
Acronym & Abbreviation \\
|
||||
\hline
|
||||
African Easterly Wave & AEW \\
|
||||
African Easterly Jet & AEJ \\
|
||||
African Monsoon Multidisciplinary Analysis & AMMA \\
|
||||
Climate Forecasting System Reanalysis & CFSR \\
|
||||
Convective Available Potential Energy & CAPE \\
|
||||
Dry Adiabatic Lapse Rate & DALR \\
|
||||
European Centre for Medium Range Weather Forecasting & ECMWF \\
|
||||
Eddy Kinetic Energy & EKE \\
|
||||
GARP Atlantic Tropical Experiment & GATE \\
|
||||
Global Forecast System & GFS \\
|
||||
Global Precipitation Mission & GPM \\
|
||||
Long Wave (Radiation) & LW \\
|
||||
Mesoscale Convective System & MCS \\
|
||||
National Aeronautical and Space Administration & NASA \\
|
||||
National Center for Atmospheric Research & NCAR \\
|
||||
National Center for Environmental Prediction & NCEP \\
|
||||
National Hurricane Center & NHC \\
|
||||
National Science Foundation & NSF \\
|
||||
Planetary Boundary Layer & PBL \\
|
||||
Potential Vorticity & PV \\
|
||||
Short Wave (Radiation) & SW \\
|
||||
Quasi-Geostrophic & QG \\
|
||||
Rossby Wave & RW \\
|
||||
Tropical Cyclone & TC \\
|
||||
TRMM Multi-Satellite Precipitation Analysis & TMPA \\
|
||||
Tropical Rainfall Measurement Mission & TRMM \\
|
||||
Weather Research and Forecasting Model & WRF \\
|
||||
\hline
|
||||
\end{longtable}
|
||||
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
\chapter{Variables}
|
||||
|
||||
A summary of all variables is documented in Table \ref{tab:vars}.
|
||||
|
||||
\begin{longtable}{| l | l |}
|
||||
\caption{A summary of common meteorological variables and their abbreviations in alphabetical order.}\label{tab:vars}\\
|
||||
\hline
|
||||
Variable & Abbreviation \\
|
||||
\hline
|
||||
Arbitrary variable & $X$ \\
|
||||
Absolute vorticity vector & $\vec{\eta}$ \\
|
||||
Coriolis parameter & $f$ \\
|
||||
Gas constant for dry air & $R$ \\
|
||||
Geopotential & $\Phi$ \\
|
||||
Geopotential height & $Z$ \\
|
||||
Gravitational accelleration & $g$ \\
|
||||
Horizontal wind vector & $\vec{V}$ \\
|
||||
Isobaric vertical motion & $\omega$ \\
|
||||
Latent heat of vaporization & $l_v$ \\
|
||||
Meridional unit vector & $\hat{j}$ \\
|
||||
Meridional wind & $v$ \\
|
||||
Potential temperature & $\theta$ \\
|
||||
Potential vorticity & $P$ \\
|
||||
Pressure & $p$ \\
|
||||
Relative vorticity vector & $\vec{\zeta}$ \\
|
||||
Specific density & $\alpha$ \\
|
||||
Specific heat capacity at constant pressure & $c_p$ \\
|
||||
Temperature & $T$ \\
|
||||
Time & $t$ \\
|
||||
Three-dimensional wind vector & $\vec{U}$ \\
|
||||
Vertical absolute vorticity & $\eta$ \\
|
||||
Vertical unit vector & $\hat{k}$ \\
|
||||
Vertical relative vorticity & $\zeta$ \\
|
||||
Zonal unit vector & $\hat{i}$ \\
|
||||
Zonal wind & $u$ \\
|
||||
\hline
|
||||
\end{longtable}
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
\chapter{INTRODUCTION}
|
||||
\label{chap-one}
|
||||
|
||||
%% Following sections are examples... not required
|
||||
%--
|
||||
\section{Definitions}
|
||||
\label{sec:def}
|
||||
%--
|
||||
|
||||
Define common terms used throughout the dissertation...
|
||||
|
||||
E.g. African Easterly Waves (AEWs) are waves in the atmosphere over Africa of wavelength ...
|
||||
|
||||
%--
|
||||
\section{Motivations}
|
||||
\label{sec:mot}
|
||||
%--
|
||||
|
||||
Motivations for studying topic
|
||||
|
||||
Figure useful to motivations
|
||||
|
||||
\begin{figure}[htp]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{Chapter-1/figs/Damage.png}
|
||||
\caption{Caption...}
|
||||
\label{fig:damage}
|
||||
\end{figure}
|
||||
|
||||
Figure with trim and clip
|
||||
\begin{figure}[htp]
|
||||
\centering
|
||||
\includegraphics[trim={4cm 8.5cm 3cm 0cm},clip,width=\textwidth]{Chapter-1/figs/gfgnge_vs_year.eps}
|
||||
\caption{Caption...}
|
||||
\label{fig:gfgn}
|
||||
\end{figure}
|
||||
|
||||
%--
|
||||
\section{Background}
|
||||
\label{sec:back}
|
||||
%--
|
||||
|
||||
Background literature on topic
|
||||
|
||||
Possible citation in parentheses \citep{kiladis2006three}
|
||||
|
||||
Possible citation in parentheses with text before or after also in parentheses \citep[e.g. ][ Figure 1]{kiladis2006three}
|
||||
|
||||
Citation in text \citet{tomassini2017interaction}
|
||||
|
||||
%----------
|
||||
\section{Open Questions and Theories}
|
||||
\label{sec:que}
|
||||
%----------
|
||||
|
||||
In this section I will present the open questions on the problem I am investigating.
|
||||
|
||||
\subsection{Influence of AEWs on Convection}
|
||||
\label{sec:QTaew-conv}
|
||||
|
||||
Background on theories
|
||||
|
||||
In summary we will attempt to address the following questions with regard to ...:
|
||||
\begin{enumerate}
|
||||
\item Question 1?
|
||||
\item Question 2?
|
||||
\item Question 3?
|
||||
\end{enumerate}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.8 MiB |
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,45 @@
|
|||
\chapter{METHODS}
|
||||
\label{chap:meth}
|
||||
|
||||
%--
|
||||
\section{Data}
|
||||
\label{sec:dat}
|
||||
%--
|
||||
|
||||
Reference to data Table \ref{tab:data}
|
||||
|
||||
\begin{table}[htp]
|
||||
\caption{Caption...}\label{tab:data}
|
||||
\begin{center}
|
||||
\begin{tabular}{| c | c c |}
|
||||
\hline
|
||||
Parameterization & Scheme & WRF Option \\
|
||||
\hline
|
||||
... & ... & ... \\
|
||||
... & ... & ... \\
|
||||
|
||||
\hline
|
||||
\end{tabular}
|
||||
\end{center}
|
||||
\end{table}
|
||||
|
||||
\subsection{Analyses}
|
||||
|
||||
E.g. Statistical analyses
|
||||
|
||||
\subsection{Math}
|
||||
|
||||
Simple one-line equation
|
||||
\begin{equation}
|
||||
\frac{\partial u}{\partial t} +u\frac{\partial u}{\partial x} +v\frac{\partial u}{\partial y} +\omega\frac{\partial u}{\partial p} = fv -\frac{\partial \Phi}{\partial x} + F_x,
|
||||
\label{eqn:momu}
|
||||
\end{equation}
|
||||
|
||||
Multi-line equation
|
||||
\begin{align}
|
||||
\begin{split}
|
||||
\vec{\nabla}\theta \cdot \frac{D}{Dt}\vec{\eta} &= \vec{\nabla}\theta \cdot (\vec{\eta}\cdot\vec{\nabla})\vec{U} + \vec{\nabla}\theta \cdot (\vec{\nabla}\times\vec{\nabla}_p\Phi) + \vec{\nabla}\theta \cdot \vec{\nabla}\times\vec{F} \\
|
||||
&= (\vec{\eta}\cdot\vec{\nabla})\vec{U} \cdot (\vec{\nabla}\theta) + \vec{\nabla}\theta \cdot \vec{\nabla}\times\vec{F}
|
||||
\label{eqn:vort4}
|
||||
\end{split}
|
||||
\end{align}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
\chapter{Results 1}
|
||||
|
||||
bla bla bla ...
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
\chapter{Results 2}
|
||||
\label{chap:res2}
|
||||
|
||||
bla bla bla ...
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
\chapter{Results 3}
|
||||
\label{chap:res3}
|
||||
|
||||
bla bla ...
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
\chapter{CONCLUSIONS}
|
||||
\label{chap:conc}
|
||||
|
||||
% Example headers
|
||||
\section{Summary of Results}
|
||||
\label{sec:summ}
|
||||
|
||||
|
||||
\section{Overarching Conclusions}
|
||||
\label{sec:conc}
|
||||
|
||||
|
||||
\section{Future Work}
|
||||
\label{sec:future}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
CHAPTERS=Chapter-*/Chapter-*.tex Appendix-*/Appendix-*.tex
|
||||
NAME=YourName-thesis
|
||||
AUX=$(NAME).aux front.aux Chapter-*/*.aux Appendix-*/*.aux optional.aux
|
||||
INTERMEDIATES=$(NAME).bbl $(NAME).blg $(NAME).lof $(NAME).lot \
|
||||
$(NAME).log $(NAME).toc
|
||||
|
||||
$(NAME).pdf : $(NAME).tex $(NAME).bib front.tex $(CHAPTERS) ncsuthesis.cls optional.tex
|
||||
pdflatex $(NAME)
|
||||
bibtex $(NAME)
|
||||
pdflatex $(NAME)
|
||||
pdflatex $(NAME)
|
||||
|
||||
clean :
|
||||
rm $(AUX) $(INTERMEDIATES)
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
import os
|
||||
env = Environment(ENV=os.environ)
|
||||
|
||||
fn = "YourName-thesis"
|
||||
chapters = Glob("Chapter-*/Chapter-*.tex") + Glob("Appendix-*/Appendix-*.tex")
|
||||
|
||||
print chapters
|
||||
|
||||
pdfOutput = env.PDF(target=fn+'.pdf',source=fn+'.tex')
|
||||
Depends(pdfOutput,[fn+'.tex', fn+'.bib', 'ncsuthesis.cls'] + chapters)
|
||||
|
|
@ -0,0 +1,170 @@
|
|||
\documentclass[12pt, % font size: 11pt or 12pt
|
||||
phd, % degree: ms or phd
|
||||
onehalfspacing % spacing: onehalfspacing or doublespacing
|
||||
]{ncsuthesis}
|
||||
|
||||
%%----------------------------------------------------------------------------%%
|
||||
%%------------------------------ Import Packages -----------------------------%%
|
||||
%%----------------------------------------------------------------------------%%
|
||||
|
||||
\usepackage{booktabs} % professionally typeset tables
|
||||
\usepackage{amsmath}
|
||||
\usepackage{textcomp} % better copyright sign, among other things
|
||||
\usepackage{xcolor}
|
||||
\usepackage{lipsum} % filler text
|
||||
\usepackage{longtable}
|
||||
%\usepackage{subfig} % composite figures
|
||||
\usepackage{natbib} % ability to use citet,citep
|
||||
%\usepackage{fancyhdr} % creates headers
|
||||
%\pagestyle{fancy}
|
||||
|
||||
|
||||
%Citations should be of the form ``author year'' not ``author, year''
|
||||
\bibpunct{(}{)}{;}{a}{}{,} % changes apalike bst into AMS format
|
||||
|
||||
%%----------------------------------------------------------------------------%%
|
||||
%%---------------------------- Formatting Options ----------------------------%%
|
||||
%%----------------------------------------------------------------------------%%
|
||||
%%
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Disposition format -- any titles, headings, section titles
|
||||
%% These formatting commands affect all headings, titles, headings,
|
||||
%% so sizing commands should not be used here.
|
||||
%% Formatting options to consider are
|
||||
%% + \sffamily - sans serif fonts. Dispositions are often typeset in
|
||||
%% sans serif, so this is a good option.
|
||||
%% + \rmfamily - serif fonts
|
||||
%% + \bfseries - bold face
|
||||
%\dispositionformat{\sffamily\bfseries} % bold and sans serif
|
||||
\dispositionformat{\bfseries} % bold and serif
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Formatting for centered headings - Abstract, Dedication, etc. headings
|
||||
%% This is where one might put a sizing command.
|
||||
%% \MakeUppercase can be used to typeset all headings in uppercase.
|
||||
\headingformat{\large\MakeUppercase} % All letters uppercase
|
||||
%\headingformat{\large} % Not all uppercase
|
||||
%\headingformat{\Large\scshape} % Small Caps, used with serif fonts.
|
||||
|
||||
%% Typographers recommend using a normal inter-word space after
|
||||
%% sentences. TeX's default is to add an wider space, but \frenchspacing
|
||||
%% gives a normal spacing. Comment out the following line if you prefer wider spaces between sentences.
|
||||
\frenchspacing
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Optional packages
|
||||
%% A number of compatible packages to improve the look and feel of
|
||||
%% your document are available in the file optional.tex
|
||||
%% (For example, hyperlinks, fancy chapter headings, and fonts)
|
||||
%% To use these options, uncomment the next line and see optional.tex
|
||||
\include{optional}
|
||||
%solve bug from fancyhdr in optional
|
||||
%http://nw360.blogspot.com/2006/11/latex-headheight-is-too-small.html
|
||||
%\setlength{\headheight}{26.94345pt} % corrected error in Overleaf
|
||||
%\fancyhead[L]{\vspace{1mm}} % only puts chapter title in headers
|
||||
|
||||
%%----------------------------------------------------------------------------%%
|
||||
%%---------------------------- Content Options -------------------------------%%
|
||||
%%----------------------------------------------------------------------------%%
|
||||
%% Size of committee: 3, 4, 5, or 6 -- this number includes the chair
|
||||
\committeesize{5}
|
||||
|
||||
%% Members of committee
|
||||
%% Each of the following member commands takes an optional argument
|
||||
%% to specify their role on the committee.
|
||||
%% For co-chairs, use the commands:
|
||||
%% \cochairI{Doug Dodd}
|
||||
%% \cochairII{Chris Cox}
|
||||
%%
|
||||
\chair{Chair first and last name}
|
||||
\memberI{Member 1 name}
|
||||
\memberII{Member 2 name}
|
||||
\memberIII{Member 3 name} % unnecessary if committeesize=3
|
||||
\memberIV{Member 4 name} % unnecessary if committeesize=3, 4
|
||||
|
||||
%% Student writing thesis, \student{First Middle}{Last}
|
||||
\student{First name and Middle names}{Last Name} % a full middle name
|
||||
|
||||
%% Degree program e.g. Marine, Earth, and Atmospheric Science
|
||||
\program{program name}
|
||||
|
||||
%%!!!!!! To Change Year !!!!!!%%
|
||||
% If year of graduation is not same as current year (common for December graduates
|
||||
% thanks to the Grad Schools odd graduation rules) go into ncsuthesis.cls and change
|
||||
% \the\year in the line:
|
||||
% \newcommand{\ncsu@year}{\the\year}
|
||||
% to the year of graduation. E.g.:
|
||||
% \newcommand{\ncsu@year}{2020}
|
||||
|
||||
%% Thesis Title
|
||||
%% Keep in mind, according to ETD guidelines:
|
||||
%% + Capitalize first letter of important words.
|
||||
%% + Use inverted pyramid shape if title spans more than one line.
|
||||
%%
|
||||
%% Note: To break the title onto multiple lines, use \break instead of \\.
|
||||
%\thesistitle{A North Carolina State University Sample \LaTeX{} Thesis \break
|
||||
%with a Title So Long it Needs a Line Break}
|
||||
\thesistitle{Dissertation title}
|
||||
|
||||
%% Degree year. Necessary if your degree year doesn't equal the current year.
|
||||
%\degreeyear{1995}
|
||||
|
||||
%% While your here make sure to change the PDF characteristics in optional.tex!!!
|
||||
|
||||
%%----------------------------------------------------------------------------%%
|
||||
%%---------------------------- Personal Macros -------------------------------%%
|
||||
%%----------------------------------------------------------------------------%%
|
||||
|
||||
%% A central location to add your favorite macros.
|
||||
|
||||
%% A few examples to get you started.
|
||||
\newcommand{\uv}[1]{\ensuremath{\mathbf{\hat{#1}}}}
|
||||
\newcommand{\bo}{\ensuremath{\mathbf{\Omega}}}
|
||||
\newcommand{\eref}[1]{Eq.~\ref{#1}}
|
||||
\newcommand{\fref}[1]{Fig.~\ref{#1}}
|
||||
\newcommand{\tref}[1]{Table~\ref{#1}}
|
||||
|
||||
%%---------------------------------------------------------------------------%%
|
||||
\begin{document}
|
||||
%%---------------------------------------------------------------------------%%
|
||||
\frontmatter
|
||||
|
||||
\include{front}
|
||||
|
||||
%%---------------------------------------------------------------------------%%
|
||||
\mainmatter
|
||||
|
||||
% Chapters can remove or add
|
||||
\include{Chapter-1/Chapter-1}
|
||||
\include{Chapter-2/Chapter-2}
|
||||
\include{Chapter-3/Chapter-3}
|
||||
\include{Chapter-4/Chapter-4}
|
||||
\include{Chapter-5/Chapter-5}
|
||||
\include{Chapter-6/Chapter-6}
|
||||
|
||||
%%---------------------------------------------------------------------------%%
|
||||
%% Bibliography
|
||||
%% or use BibTeX
|
||||
\bibliography{StudentName-thesis}
|
||||
\bibliographystyle{apalike}
|
||||
|
||||
%%---------------------------------------------------------------------------%%
|
||||
% Appendices
|
||||
%\ensureoddstart
|
||||
\restoregeometry
|
||||
\appendix
|
||||
%\newgeometry{margin=1in,lmargin=1.25in,footskip=\chapterfootskip, includehead, includefoot}
|
||||
|
||||
% Can remove or add
|
||||
\include{Appendix-A/Appendix-A}
|
||||
\include{Appendix-B/Appendix-B}
|
||||
|
||||
\restoregeometry
|
||||
|
||||
%%---------------------------------------------------------------------------%%
|
||||
|
||||
%%---------------------------------------------------------------------------%%
|
||||
\backmatter
|
||||
|
||||
\end{document}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
@Comment{$ biblatex control file $}
|
||||
@Comment{$ biblatex version 2.2 $}
|
||||
Do not modify this file!
|
||||
|
||||
This is an auxiliary file used by the 'biblatex' package.
|
||||
This file may safely be deleted. It will be recreated as
|
||||
required.
|
||||
|
||||
@Control{biblatex-control,
|
||||
options = {2.2:0:0:1:0:0:1:1:0:1:0:0:2:1:2:1:79:},
|
||||
}
|
||||
|
|
@ -0,0 +1,132 @@
|
|||
%
|
||||
% Most common journal abbreviations:
|
||||
% BAMS = Bulletin of the american meteorological society
|
||||
% JAS = Journal of atmospheric science
|
||||
% JAM = Journal of applied meteorology
|
||||
% MAP = Meteorology and atmospheric physics
|
||||
% MWR = Monthly weather review
|
||||
% QJRMS = Quarterly journal of the royal meteorological society
|
||||
% RGEO = Reviews in geophysics
|
||||
% TELLUS = Tellus
|
||||
% JCE = Journal of climate
|
||||
% JCY = Journal of climatology
|
||||
% GRL = Geophysical research letters
|
||||
% JGR = Journal of geophysical research
|
||||
%
|
||||
%
|
||||
% JOURNAL ABBREVIATIONS (delete if not using American Meteorological society guidelines)
|
||||
%
|
||||
|
||||
@STRING{AMS = "Amer.\ Meteor.\ Soc."}
|
||||
@STRING{AGU = "Amer.\ Geophys.\ Union"}
|
||||
@STRING{AIP = "Amer. Inst. Phys."}
|
||||
@STRING{ADGEO = "Adv.\ Geosci."}
|
||||
@STRING{ADMET = "Adv.\ Meteor."}
|
||||
@STRING{AFM = "Agric.\ For.\ Meteor."}
|
||||
@STRING{AM = "Ann.\ Meteor."}
|
||||
@STRING{AN = "Astrophys.\ Norv."} % Astrophysica Norvegica
|
||||
@STRING{AO = "Atmos.-Ocean"} % Atmosphere-Ocean, published by Canadian Meteorological Society (CMOS)
|
||||
@STRING{AR = "Atmos.\ Res."} % Atmospheric Research
|
||||
@STRING{ARFM = "Annu.\ Rev.\ Fluid Mech."}
|
||||
@STRING{AUMET = "Aust.\ Meteor.\ Mag."}
|
||||
@STRING{BAMS = "Bull.\ Amer.\ Meteor.\ Soc."}
|
||||
@STRING{BLM = "Boundary-layer\ Meteor."}
|
||||
@STRING{BWMO = "Bull.\ World\ Meteor.\ Org."}
|
||||
@STRING{CAP = "Contrib.\ Atmos.\ Phys."}
|
||||
@STRING{CC = "Climate Change"} % Climate Change
|
||||
@STRING{CCH = "Climatic Change"} % Climatic Change
|
||||
@STRING{CDYN = "Clim.\ Dynam."}
|
||||
@STRING{CHAOS = "Chaos"}
|
||||
@STRING{COL = "Collier's"}
|
||||
@STRING{CRS = "Cont.\ Shelf Res."}
|
||||
@STRING{DAO = "Dyn.\ Atmos.\ Oceans"}
|
||||
@STRING{ECO = "Ecology"}
|
||||
@STRING{EI = "Earth Interactions"}
|
||||
@STRING{GA = "Geophysica"} % Geophysica, published by Geophysical Society of Finland
|
||||
@STRING{GEOMAG = "Geophys.\ Mag."}
|
||||
@STRING{GN = "Geophys.\ Norv."} % Geophysica Norvegica
|
||||
@STRING{GRL = "Geophys.\ Res.\ Lett."}
|
||||
@STRING{GEOINT = "Geofis.\ Int."} % Geofisica Internacional (Mexican journal -- vols. 3-5 contained proceedings from a hurricane conference
|
||||
@STRING{GEOPUB = "Geofys.\ Publ."}
|
||||
@STRING{GPC = "Global Planet.\ Change"}
|
||||
@STRING{HP = "Health Phys."}
|
||||
@STRING{IAOP = "Izv.\ Atmos.\ Ocean.\ Phys.\ (Engl.\ Transl.)"}
|
||||
@STRING{IJC = "Int.\ J.\ Climatol."}
|
||||
@STRING{JAM = "J.\ Appl.\ Meteor."} % renamed to name below in 2006
|
||||
@STRING{JAMC = "J.\ Appl.\ Meteor.\ Climatol."} % Journal of Applied Meteorology and Climatology (this journal used to be called the Journal of Applied Meteorology before 2006)
|
||||
@STRING{JAS = "J.\ Atmos.\ Sci."}
|
||||
@STRING{JAOT = "J.\ Atmos.\ Oceanic Technol."}
|
||||
@STRING{JCAM = "J.\ Climate Appl.\ Meteor."} % now this is JAMC?
|
||||
@STRING{JCLI = "J.\ Climate"}
|
||||
@STRING{JCR = "J.\ Coastal Res."}
|
||||
@STRING{JES = "J.\ Earth Syst.\ Sci."} % Journal of Earth System Science
|
||||
@STRING{JEM = "J.\ Eng.\ Math."} % Journal of Engineering Mathematics
|
||||
@STRING{JFM = "J.\ Fluid\ Mech."}
|
||||
@STRING{JGR = "J.\ Geophys.\ Res."}
|
||||
@STRING{JHM = "J.\ Hydrometeor."}
|
||||
@STRING{JHE = "J.\ Hydrologic.\ Eng."}
|
||||
@STRING{JMS = "J.\ Mar.\ Syst."}
|
||||
@STRING{JM = "J.\ Meteor."}
|
||||
@STRING{JMR = "J.\ Mar.\ Res."}
|
||||
@STRING{JMSJ = "J.\ Meteor.\ Soc.\ Japan"}
|
||||
@STRING{JPO = "J.\ Phys.\ Oceanogr."}
|
||||
@STRING{JOCEAN = "J.\ Oceanogr."} % Journal of Oceanography
|
||||
@STRING{JOSJ = "J.\ Oceanogr.\ Soc.\ Japan"}
|
||||
@STRING{JSE = "J.\ Struct.\ Eng."} % Journal of Structural Engineering at ASCE
|
||||
@STRING{JTM = "J.\ Tropical Meteor."}
|
||||
@STRING{JWEIA = "J.\ Wind Eng.\ Ind.\ Aerodyn."}
|
||||
@STRING{MA = "Meteor.\ Appl."}
|
||||
@STRING{MAP = "Meteor.\ Atmos.\ Phys."}
|
||||
@STRING{METMON = "Meteor.\ Monogr."}
|
||||
@STRING{METZEIT = "Meteor.\ Z."}
|
||||
@STRING{MWL = "Mar.\ Wea.\ Log"}
|
||||
@STRING{MWR = "Mon.\ Wea.\ Rev."}
|
||||
@STRING{NAT = "Nature"}
|
||||
@STRING{NAG = "Nat.\ Geosci."}
|
||||
@STRING{NHR = "Natural Hazards Rev."}
|
||||
@STRING{NWD = "Natl.\ Weather Dig."}
|
||||
@STRING{OA = "Oceanol. Aeta"}
|
||||
@STRING{OCEAN = "Oceanography"} % a quarterly journal of The Oceanography Society
|
||||
@STRING{PAG = "Pure Appl.\ Geophys."}
|
||||
@STRING{PF = "Phys.\ Fluids"}
|
||||
@STRING{PHYSD = "Physica D"}
|
||||
@STRING{PMG = "Pap.\ Meteor.\ Geophys."} % Papers in Meteorology and Geophysics
|
||||
@STRING{PNAS = "Proc.\ Natl.\ Acad.\ Sci.\ (USA)"}
|
||||
@STRING{PRE = "Phys.\ Rev.\ E"}
|
||||
@STRING{PRSA = "Proc.\ Roy.\ Soc.\ A."}
|
||||
@STRING{PT = "Phys.\ Today"}
|
||||
@STRING{PTRS = "Philos.\ Trans.\ Roy.\ Soc.\ London\ A"}
|
||||
@STRING{QJRMS = "Quart.\ J.\ Roy.\ Meteor.\ Soc."}
|
||||
@STRING{RGEO = "Rev. Geophys."}
|
||||
@STRING{SCI = "Science"}
|
||||
@STRING{SOLA = "SOLA"} % Scientific Online Letters on the Atmosphere
|
||||
@STRING{TAGU = "Eos, Trans.\ Amer.\ Geophys.\ Union"}
|
||||
@STRING{TCD = "Cryo.\ Disc."}
|
||||
@STRING{TELLUS = "Tellus"}
|
||||
@STRING{TCFD = "Theor.\ Comput.\ Fluid Dyn."}
|
||||
@STRING{WEA = "Weather"}
|
||||
@STRING{WW = "Weatherwise"}
|
||||
@STRING{WF = "Wea.\ Forecasting"}
|
||||
@STRING{WMOB = "WMO Bull."}
|
||||
|
||||
|
||||
@article {kiladis2006three,
|
||||
title= {{Three-dimensional structure and dynamics of African easterly waves. Part I: Observations}},
|
||||
author= {Kiladis, George N and Thorncroft, Chris D and Hall, Nicholas MJ},
|
||||
journal= JAS,
|
||||
volume= {63},
|
||||
number= {9},
|
||||
pages= {2212--2230},
|
||||
year= {2006}
|
||||
}
|
||||
|
||||
@article {tomassini2017interaction,
|
||||
title= {{The interaction between moist diabatic processes and the atmospheric circulation in African Easterly Wave propagation}},
|
||||
author= {Tomassini, Lorenzo and Parker, Douglas J and Stirling, Alison and Bain, Caroline and Senior, Catherine and Milton, Sean},
|
||||
journal= QJRMS,
|
||||
volume= {143},
|
||||
number= {709},
|
||||
pages= {3207--3227},
|
||||
year= {2017},
|
||||
publisher= {Wiley Online Library}
|
||||
}
|
||||
|
|
@ -0,0 +1,91 @@
|
|||
<?xml version="1.0" standalone="yes"?>
|
||||
<!-- logreq request file -->
|
||||
<!-- logreq version 1.0 / dtd version 1.0 -->
|
||||
<!-- Do not edit this file! -->
|
||||
<!DOCTYPE requests [
|
||||
<!ELEMENT requests (internal | external)*>
|
||||
<!ELEMENT internal (generic, (provides | requires)*)>
|
||||
<!ELEMENT external (generic, cmdline?, input?, output?, (provides | requires)*)>
|
||||
<!ELEMENT cmdline (binary, (option | infile | outfile)*)>
|
||||
<!ELEMENT input (file)+>
|
||||
<!ELEMENT output (file)+>
|
||||
<!ELEMENT provides (file)+>
|
||||
<!ELEMENT requires (file)+>
|
||||
<!ELEMENT generic (#PCDATA)>
|
||||
<!ELEMENT binary (#PCDATA)>
|
||||
<!ELEMENT option (#PCDATA)>
|
||||
<!ELEMENT infile (#PCDATA)>
|
||||
<!ELEMENT outfile (#PCDATA)>
|
||||
<!ELEMENT file (#PCDATA)>
|
||||
<!ATTLIST requests
|
||||
version CDATA #REQUIRED
|
||||
>
|
||||
<!ATTLIST internal
|
||||
package CDATA #REQUIRED
|
||||
priority (9) #REQUIRED
|
||||
active (0 | 1) #REQUIRED
|
||||
>
|
||||
<!ATTLIST external
|
||||
package CDATA #REQUIRED
|
||||
priority (1 | 2 | 3 | 4 | 5 | 6 | 7 | 8) #REQUIRED
|
||||
active (0 | 1) #REQUIRED
|
||||
>
|
||||
<!ATTLIST provides
|
||||
type (static | dynamic | editable) #REQUIRED
|
||||
>
|
||||
<!ATTLIST requires
|
||||
type (static | dynamic | editable) #REQUIRED
|
||||
>
|
||||
<!ATTLIST file
|
||||
type CDATA #IMPLIED
|
||||
>
|
||||
]>
|
||||
<requests version="1.0">
|
||||
<internal package="biblatex" priority="9" active="0">
|
||||
<generic>latex</generic>
|
||||
<provides type="dynamic">
|
||||
<file>JamesRussell-thesis.aux</file>
|
||||
<file>JamesRussell-thesis-blx.bib</file>
|
||||
</provides>
|
||||
<requires type="dynamic">
|
||||
<file>JamesRussell-thesis.bbl</file>
|
||||
</requires>
|
||||
<requires type="static">
|
||||
<file>blx-compat.def</file>
|
||||
<file>biblatex.def</file>
|
||||
<file>blx-natbib.def</file>
|
||||
<file>alphabetic.bbx</file>
|
||||
<file>standard.bbx</file>
|
||||
<file>alphabetic.cbx</file>
|
||||
<file>biblatex.cfg</file>
|
||||
<file>english.lbx</file>
|
||||
</requires>
|
||||
</internal>
|
||||
<external package="biblatex" priority="5" active="0">
|
||||
<generic>bibtex</generic>
|
||||
<cmdline>
|
||||
<binary>bibtex</binary>
|
||||
<option>-min-crossrefs 2</option>
|
||||
<infile>JamesRussell-thesis</infile>
|
||||
</cmdline>
|
||||
<input>
|
||||
<file>JamesRussell-thesis.aux</file>
|
||||
</input>
|
||||
<output>
|
||||
<file>JamesRussell-thesis.bbl</file>
|
||||
</output>
|
||||
<provides type="dynamic">
|
||||
<file>JamesRussell-thesis.bbl</file>
|
||||
</provides>
|
||||
<requires type="dynamic">
|
||||
<file>JamesRussell-thesis.aux</file>
|
||||
<file>JamesRussell-thesis-blx.bib</file>
|
||||
</requires>
|
||||
<requires type="editable">
|
||||
<file>JamesRussell-thesis.bib</file>
|
||||
</requires>
|
||||
<requires type="static">
|
||||
<file>ametsoc2014.bst</file>
|
||||
</requires>
|
||||
</external>
|
||||
</requests>
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,142 @@
|
|||
%% LaTeX2e file `changepage.sty'
|
||||
%% generated by the `filecontents' environment
|
||||
%% from source `changepage' on 2009/10/20.
|
||||
%%
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{changepage}[2009/10/20 v1.0c check page and change page layout]
|
||||
|
||||
% Don't use this with memoir
|
||||
\newcommand*{\cp@whoopsusingmemoir}{}
|
||||
\@ifclassloaded{memoir}{\def\cp@whoopsusingmemoir{\endinput}}
|
||||
\cp@whoopsusingmemoir
|
||||
|
||||
% New \verb|\if| for the strict option
|
||||
\newif\ifstrictpagecheck
|
||||
\strictpagecheckfalse
|
||||
|
||||
% User commands for switching strict page checking on/off
|
||||
\newcommand*{\strictpagecheck}{\strictpagechecktrue}
|
||||
\newcommand*{\easypagecheck}{\strictpagecheckfalse}
|
||||
|
||||
% Declare and process options
|
||||
\DeclareOption{strict}{\strictpagechecktrue}
|
||||
\ProcessOptions\relax
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% New commands for strict checking of odd/even page.
|
||||
%% Works by writing a label and then checking its pageref.
|
||||
|
||||
\newif\ifoddpage
|
||||
\newcounter{cp@cntr}
|
||||
\newcount\cp@tempcnt % instead of \verb|\@memcnta|
|
||||
\newcommand{\cplabel}{^_}
|
||||
|
||||
\gdef\thepmemc@@page{\the\c@page}
|
||||
|
||||
\long\def\pmemprotected@write#1#2#3{% modified \verb|\protected@write|
|
||||
\begingroup
|
||||
\let\thepmemc@@page\relax
|
||||
#2%
|
||||
\let\protect\@unexpandable@protect
|
||||
\edef\reserved@a{\write#1{#3}}%
|
||||
\reserved@a
|
||||
\endgroup
|
||||
\if@nobreak\ifvmode\nobreak\fi\fi}
|
||||
|
||||
\newcommand*{\pmemlabel}[1]{\@bsphack
|
||||
\pmemprotected@write\@auxout{}%
|
||||
{\string\newpmemlabel{#1}{\thepmemc@@page}}%
|
||||
\@esphack}
|
||||
|
||||
\newcommand*{\newpmemlabel}[2]{{\global\@namedef{m@#1}{#2}}}
|
||||
\newcommand*{\pmemlabelref}[1]{%
|
||||
\expandafter\ifx\csname m@#1\endcsname\relax
|
||||
0% % 0 if there is no label yet in the aux file
|
||||
\else
|
||||
\csname m@#1\endcsname
|
||||
\fi}
|
||||
|
||||
\DeclareRobustCommand{\checkoddpage}{%
|
||||
\oddpagefalse%
|
||||
\ifstrictpagecheck%
|
||||
\stepcounter{cp@cntr}\pmemlabel{\cplabel\thecp@cntr}%
|
||||
\cp@tempcnt=\pmemlabelref{\cplabel\thecp@cntr}\relax
|
||||
\ifodd\cp@tempcnt\oddpagetrue\fi
|
||||
\else
|
||||
\ifodd\c@page\oddpagetrue\fi
|
||||
\fi}
|
||||
|
||||
% End newcommands for strict checking of odd/even page.
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
% Copy of some of the code from the ifmtarg package to save requiring ifmtarg
|
||||
\begingroup
|
||||
\catcode`\Q=3
|
||||
\long\gdef\@ifmtarg#1{\@xifmtarg#1QQ\@secondoftwo\@firstoftwo\@nil}
|
||||
\long\gdef\@xifmtarg#1#2Q#3#4#5\@nil{#4}
|
||||
\endgroup
|
||||
|
||||
% Set the page output parameters
|
||||
\DeclareRobustCommand{\ch@ngetext}{%
|
||||
\setlength{\@colht}{\textheight}\setlength{\@colroom}{\textheight}%
|
||||
\setlength{\vsize}{\textheight}\setlength{\columnwidth}{\textwidth}%
|
||||
\if@twocolumn%
|
||||
\advance\columnwidth-\columnsep \divide\columnwidth\tw@%
|
||||
\@firstcolumntrue%
|
||||
\fi%
|
||||
\setlength{\hsize}{\columnwidth}%
|
||||
\setlength{\linewidth}{\hsize}}
|
||||
|
||||
\DeclareRobustCommand{\changetext}[5]{%
|
||||
\@ifmtarg{#1}{}{\addtolength{\textheight}{#1}}%
|
||||
\@ifmtarg{#2}{}{\addtolength{\textwidth}{#2}}%
|
||||
\@ifmtarg{#3}{}{\addtolength{\evensidemargin}{#3}}%
|
||||
\@ifmtarg{#4}{}{\addtolength{\oddsidemargin}{#4}}%
|
||||
\@ifmtarg{#5}{}{\addtolength{\columnsep}{#5}}%
|
||||
\ch@ngetext}
|
||||
|
||||
\DeclareRobustCommand{\changepage}[9]{%
|
||||
\@ifmtarg{#1}{}{\addtolength{\textheight}{#1}}%
|
||||
\@ifmtarg{#2}{}{\addtolength{\textwidth}{#2}}%
|
||||
\@ifmtarg{#3}{}{\addtolength{\evensidemargin}{#3}}%
|
||||
\@ifmtarg{#4}{}{\addtolength{\oddsidemargin}{#4}}%
|
||||
\@ifmtarg{#5}{}{\addtolength{\columnsep}{#5}}%
|
||||
\ch@ngetext%
|
||||
\@ifmtarg{#6}{}{\addtolength{\topmargin}{#6}}%
|
||||
\@ifmtarg{#7}{}{\addtolength{\headheight}{#7}}%
|
||||
\@ifmtarg{#8}{}{\addtolength{\headsep}{#8}}%
|
||||
\@ifmtarg{#9}{}{\addtolength{\footskip}{#9}}}
|
||||
|
||||
\newenvironment{adjustwidth}[2]{%
|
||||
\begin{list}{}{%
|
||||
\topsep\z@%
|
||||
\listparindent\parindent%
|
||||
\parsep\parskip%
|
||||
\@ifmtarg{#1}{\setlength{\leftmargin}{\z@}}%
|
||||
{\setlength{\leftmargin}{#1}}%
|
||||
\@ifmtarg{#2}{\setlength{\rightmargin}{\z@}}%
|
||||
{\setlength{\rightmargin}{#2}}%
|
||||
}
|
||||
\item[]}{\end{list}}
|
||||
|
||||
\newenvironment{adjustwidth*}[2]{%
|
||||
\begin{list}{}{%
|
||||
\topsep\z@%
|
||||
\listparindent\parindent%
|
||||
\parsep\parskip%
|
||||
\checkoddpage
|
||||
\ifoddpage% odd numbered page
|
||||
\@ifmtarg{#1}{\setlength{\leftmargin}{\z@}}%
|
||||
{\setlength{\leftmargin}{#1}}%
|
||||
\@ifmtarg{#2}{\setlength{\rightmargin}{\z@}}%
|
||||
{\setlength{\rightmargin}{#2}}%
|
||||
\else% even numbered page
|
||||
\@ifmtarg{#2}{\setlength{\leftmargin}{\z@}}%
|
||||
{\setlength{\leftmargin}{#2}}%
|
||||
\@ifmtarg{#1}{\setlength{\rightmargin}{\z@}}%
|
||||
{\setlength{\rightmargin}{#1}}%
|
||||
\fi}
|
||||
\item[]}{\end{list}}
|
||||
|
||||
\endinput
|
||||
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
%% ------------------------------ Abstract ---------------------------------- %%
|
||||
\begin{abstract}
|
||||
|
||||
Abstract text ...
|
||||
|
||||
\end{abstract}
|
||||
|
||||
|
||||
%% ---------------------------- Copyright page ------------------------------ %%
|
||||
%% Comment the next line if you don't want the copyright page included.
|
||||
\makecopyrightpage
|
||||
|
||||
%% -------------------------------- Title page ------------------------------ %%
|
||||
\maketitlepage
|
||||
|
||||
%% -------------------------------- Dedication ------------------------------ %%
|
||||
%\begin{dedication}
|
||||
% \centering To my parents.
|
||||
%\end{dedication}
|
||||
|
||||
%% -------------------------------- Biography ------------------------------- %%
|
||||
\begin{biography}
|
||||
The author was born in a small town \ldots
|
||||
\end{biography}
|
||||
|
||||
%% ----------------------------- Acknowledgements --------------------------- %%
|
||||
%\begin{acknowledgements}
|
||||
%Thanks to family, advisor, committee, office friends, etc. ...
|
||||
%\end{acknowledgements}
|
||||
|
||||
|
||||
\thesistableofcontents
|
||||
|
||||
\thesislistoftables
|
||||
|
||||
\thesislistoffigures
|
||||
|
|
@ -0,0 +1,713 @@
|
|||
%%
|
||||
%% This is file `ncsuthesis.cls',
|
||||
%% generated with the docstrip utility.
|
||||
%%
|
||||
%% The original source files were:
|
||||
%%
|
||||
%% ncsuthesis.dtx (with options: `class')
|
||||
%% --------------------------------------------------------------------
|
||||
%% ncsuthesis --- A thesis class conforming to NC State ETD guidelines.
|
||||
%% E-mail: jmhykes@ncsu.edu
|
||||
%% Released under the LaTeX Project Public License v1.3c or later
|
||||
%% See http://www.latex-project.org/lppl.txt
|
||||
%% --------------------------------------------------------------------
|
||||
%%
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesClass{ncsuthesis}[2012/01/26 v0.4 NC State ETD conformant thesis class]
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% ------------------------------ Thesis type ------------------------------- %%
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
\newcommand{\ncsu@thesistype}{phd}
|
||||
\DeclareOption{phd}{\renewcommand{\ncsu@thesistype}{phd}}
|
||||
\DeclareOption{ms}{\renewcommand{\ncsu@thesistype}{ms}}
|
||||
|
||||
%% Spacing options
|
||||
\newcommand{\ncsu@defaultspacing}{\onehalfspacing}
|
||||
\DeclareOption{singlespacing}{
|
||||
\renewcommand{\ncsu@defaultspacing}{\singlespacing}}
|
||||
\DeclareOption{onehalfspacing}{
|
||||
\renewcommand{\ncsu@defaultspacing}{\onehalfspacing}}
|
||||
\DeclareOption{doublespacing}{
|
||||
\renewcommand{\ncsu@defaultspacing}{\doublespacing}}
|
||||
|
||||
\newenvironment{lscape}{\begin{lscapenum}}{\end{lscapenum}}
|
||||
\DeclareOption{hardcopy}{
|
||||
\renewenvironment{lscape}{\begin{lscapenotnum}}{\end{lscapenotnum}}
|
||||
}
|
||||
|
||||
\DeclareOption{draft}{\PassOptionsToClass{\CurrentOption}{book}}
|
||||
\DeclareOption{10pt}{\PassOptionsToClass{\CurrentOption}{book}}
|
||||
\DeclareOption{11pt}{\PassOptionsToClass{\CurrentOption}{book}}
|
||||
\DeclareOption{12pt}{\PassOptionsToClass{\CurrentOption}{book}}
|
||||
|
||||
\DeclareOption*{\PackageWarning{ncsuthesis}{Unknown option `\CurrentOption'. Ignoring}}
|
||||
\ExecuteOptions{phd,onehalfspacing} % the default option is <phd, onehalfspacing>
|
||||
\ProcessOptions
|
||||
\LoadClass[openany,oneside,titlepage,letterpaper]{book}
|
||||
|
||||
\RequirePackage{setspace}
|
||||
\RequirePackage{hyphenat}
|
||||
\RequirePackage{nolbreaks}
|
||||
\RequirePackage{ifthen}
|
||||
\RequirePackage{sectsty}
|
||||
\RequirePackage{tocloft}
|
||||
\RequirePackage{graphicx}
|
||||
\RequirePackage[nottoc]{tocbibind} % includes lof, lot, refs in toc
|
||||
\RequirePackage{calc}
|
||||
|
||||
%%----------------------------------------------------------------------------%%
|
||||
%%---------------------------- Formatting Options ----------------------------%%
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Capital letter height
|
||||
\newlength{\ncsu@capitalheight}
|
||||
\settoheight{\ncsu@capitalheight}{D}
|
||||
|
||||
%% Line height
|
||||
\newlength{\ncsu@lineheight}
|
||||
\setlength{\ncsu@lineheight}{2.0ex}
|
||||
|
||||
%% Leading height: The leading changes thoughout the document, so this
|
||||
%% length must be updated
|
||||
\newlength{\ncsu@leading}
|
||||
|
||||
%% We must add two double spaces plus one capital-height (for the page number)
|
||||
%% to footskip. Footskip is measured from the top of the bottom margin.
|
||||
%% (See geometry package documentation, note that includefoot option is used.)
|
||||
\ncsu@defaultspacing
|
||||
% \newlength{\ncsu@footskip}
|
||||
% \setlength{\ncsu@footskip}{\ncsu@capitalheight}
|
||||
% \addtolength{\ncsu@footskip}{2\baselineskip}
|
||||
% \addtolength{\ncsu@footskip}{0.5in} % A little extra space to ensure there
|
||||
% % are 2 full double spaced lines
|
||||
% \RequirePackage[includefoot,
|
||||
% tmargin=1in,
|
||||
% bmargin=0.5in,
|
||||
% rmargin=1in,
|
||||
% lmargin=1.25in,
|
||||
% footskip=\ncsu@footskip]{geometry}
|
||||
|
||||
% January 2023 Update - Just set all margins to 1in
|
||||
\usepackage[margin=1in]{geometry}
|
||||
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Disposition format -- any titles, headings, section titles
|
||||
\newcommand{\ncsu@dispositionformat}{}
|
||||
\allsectionsfont{\ncsu@dispositionformat}
|
||||
\providecommand{\dispositionformat}[1]{
|
||||
\renewcommand{\ncsu@dispositionformat}{#1}
|
||||
\allsectionsfont{\ncsu@dispositionformat}
|
||||
}
|
||||
|
||||
%% Heading/Chapter/Section format
|
||||
\newcommand{\ncsu@headingformat}{\ncsu@dispositionformat}
|
||||
\providecommand{\headingformat}[1]{
|
||||
\renewcommand{\ncsu@headingformat}{\ncsu@dispositionformat #1}
|
||||
}
|
||||
|
||||
%% \chapter*-to-first line space
|
||||
%% This applies to preliminary headings, and ToC, LoF, LoT
|
||||
\newlength{\ncsu@afterschapsep}
|
||||
\setlength{\ncsu@afterschapsep}{3\ncsu@lineheight}
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Headers/footers - page number
|
||||
\pagestyle{plain}
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Vertical space around tables and figures, triple spacing
|
||||
\setlength{\textfloatsep}{3\ncsu@lineheight}
|
||||
\setlength{\intextsep}{3\ncsu@lineheight}
|
||||
|
||||
%%----------------------------------------------------------------------------%%
|
||||
%%--------------------------- Content Options -------------------------------%%
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Author name
|
||||
\newcommand{\ncsu@authorfirstmiddle}{First Middle}
|
||||
\newcommand{\ncsu@authorlast}{Last}
|
||||
|
||||
%% Command to test for period after middle name
|
||||
\newboolean{@ncsu@needsperiod}
|
||||
\newcommand{\ncsu@testlastchar}[2]{%
|
||||
\ifthenelse{\equal{#2}{\relax}}{
|
||||
\ifthenelse{\equal{#1}{.}}{%
|
||||
\setboolean{@ncsu@needsperiod}{false}
|
||||
}{% #1 != .
|
||||
\setboolean{@ncsu@needsperiod}{true}
|
||||
}
|
||||
\let\next=\relax
|
||||
}
|
||||
{% #2 != relax
|
||||
\let\next=\ncsu@testlastchar
|
||||
}
|
||||
\next#2
|
||||
}
|
||||
|
||||
\providecommand{\student}[2]{
|
||||
\renewcommand{\ncsu@authorfirstmiddle}{#1}
|
||||
\renewcommand{\ncsu@authorlast}{#2}
|
||||
\ncsu@testlastchar#1\relax
|
||||
\author{\ncsu@authorfirstmiddle{} \ncsu@authorlast}
|
||||
}
|
||||
|
||||
%% Degree year - in case the degree year doesn't match the current year.
|
||||
\newcommand{\ncsu@year}{\the\year}
|
||||
\providecommand{\degreeyear}[1]{
|
||||
\renewcommand{\ncsu@year}{#1}
|
||||
}
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Thesis Title
|
||||
\newcommand{\ncsu@thesistitle}{My Thesis Title}
|
||||
\providecommand{\thesistitle}[1]{\renewcommand{\ncsu@thesistitle}{#1}}
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% --------------------- Chapter Commands ---------------------------------- %%
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Redefine the \chapter* driver \@makeschapterhead. This is used for the
|
||||
%% preliminary headings.
|
||||
%% The spacing between the title baseline and the top of capital letters on
|
||||
%% the first line is specified by \ncsu@afterschapsep. However, this vertical
|
||||
%% height built by two separate lengths:
|
||||
%% 1. the space between the baseline of the title and the top of the
|
||||
%% first line (including leading above the line).
|
||||
%% (\ncsu@afterschapbeforeleadingsep)
|
||||
%% 2. From the top of the first line leading to the top of
|
||||
%% capital letters on the first line. (\ncsu@leading)
|
||||
\newlength{\ncsu@afterschapbeforeleadingsep}
|
||||
\AtBeginDocument{% at begin doc is necessary since fncychap
|
||||
% redefines \@makeschapterhead
|
||||
\renewcommand{\@makeschapterhead}[1]{%
|
||||
% Measure the leading here (which depends on the current line spacing),
|
||||
% and adjust the spacing accordingly between the baseline of the
|
||||
% heading and the top of capital letters on the first line.
|
||||
\setlength{\ncsu@leading}{\baselineskip-\ncsu@capitalheight}%
|
||||
\setlength{\ncsu@afterschapbeforeleadingsep}%
|
||||
{\ncsu@afterschapsep-\ncsu@leading}%
|
||||
{\noindent\centering%
|
||||
{\ncsu@headingformat #1}%
|
||||
\par\nobreak%
|
||||
\vspace{\ncsu@afterschapbeforeleadingsep}}%
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Abstract page commands
|
||||
%% - hyphnat package \nohyphens prevents title from being hyphenated.
|
||||
%% - \nolbreaks removes any line breaks in title (but you must use \linebreak
|
||||
%% instead of \\
|
||||
\newcommand{\abstractname}{Abstract}
|
||||
\newenvironment{abstract}{%
|
||||
\singlespacing
|
||||
\titlepage
|
||||
\chapter*{\abstractname}
|
||||
\MakeUppercase{\ncsu@authorlast{}, \ncsu@authorfirstmiddle{}}%
|
||||
\ifthenelse{\boolean{@ncsu@needsperiod}}{\@. }{~}%
|
||||
\nohyphens{\nolbreaks{\ncsu@thesistitle}.
|
||||
(Under the direction of
|
||||
\ifthenelse{\equal{\ncsu@chairtype}{chair}}%
|
||||
{\ncsu@chair}{\ncsu@cochairI\ and \ncsu@cochairII}).}\\
|
||||
|
||||
\ncsu@defaultspacing
|
||||
\thispagestyle{empty}
|
||||
\pagestyle{empty}
|
||||
}%
|
||||
{\endtitlepage \pagestyle{plain}}
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Abstract page commands
|
||||
\newcommand{\makecopyrightpage}{
|
||||
\begin{titlepage}
|
||||
\centering
|
||||
\quad
|
||||
\vspace{0.35\textheight}
|
||||
|
||||
\copyright{} Copyright \ncsu@year{} by \@author \\[1em]
|
||||
All Rights Reserved
|
||||
|
||||
\vfill
|
||||
\end{titlepage}
|
||||
}
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Title page commands
|
||||
|
||||
\newcommand{\ncsu@committeesize}{4}
|
||||
\providecommand{\committeesize}[1]{\renewcommand{\ncsu@committeesize}{#1}}
|
||||
|
||||
%% To allow for Chair vs Co-chairs:
|
||||
\newcommand{\ncsu@chairtype}{}
|
||||
|
||||
%% For each committee member, we have their name and title.
|
||||
%% By default, their title is empty. We use an optional argument
|
||||
%% to set the title of committee members or to set the chair's
|
||||
%% title to something other than `Chair of Advisory Committee'.
|
||||
\newcommand{\ncsu@chair}{Advisor Q. Chair}
|
||||
\newcommand{\ncsu@chairtitle}{Chair of Advisory Committee}
|
||||
\providecommand{\chair}[2][]{
|
||||
\renewcommand{\ncsu@chair}{#2}
|
||||
% Checking if optional title argument is present.
|
||||
\ifthenelse{\equal{#1}{}}{}{\renewcommand{\ncsu@chairtitle}{#1}}
|
||||
% Declare that we have a chair:
|
||||
\renewcommand{\ncsu@chairtype}{chair}
|
||||
}
|
||||
|
||||
\newcommand{\ncsu@cochairI}{Co-chair 1 of Committee}
|
||||
\newcommand{\ncsu@cochairItitle}{Co-chair of Advisory Committee}
|
||||
\providecommand{\cochairI}[2][]{
|
||||
\renewcommand{\ncsu@cochairI}{#2}
|
||||
\ifthenelse{\equal{#1}{}}{}{\renewcommand{\ncsu@cochairItitle}{#1}}
|
||||
% Declare that we have co-chairs.
|
||||
\renewcommand{\ncsu@chairtype}{cochair}
|
||||
}
|
||||
|
||||
\newcommand{\ncsu@cochairII}{Co-chair 2 of Committee}
|
||||
\newcommand{\ncsu@cochairIItitle}{Co-chair of Advisory Committee}
|
||||
\providecommand{\cochairII}[2][]{
|
||||
\renewcommand{\ncsu@cochairII}{#2}
|
||||
\ifthenelse{\equal{#1}{}}{}{\renewcommand{\ncsu@cochairIItitle}{#1}}
|
||||
\renewcommand{\ncsu@chairtype}{cochair}
|
||||
}
|
||||
|
||||
\newcommand{\ncsu@memberI}{Member 1 of Committee}
|
||||
\newcommand{\ncsu@memberItitle}{}
|
||||
\providecommand{\memberI}[2][]{
|
||||
\renewcommand{\ncsu@memberI}{#2}
|
||||
\ifthenelse{\equal{#1}{}}{}{\renewcommand{\ncsu@memberItitle}{#1}}
|
||||
}
|
||||
|
||||
\newcommand{\ncsu@memberII}{Member 2 of Committee}
|
||||
\newcommand{\ncsu@memberIItitle}{}
|
||||
\providecommand{\memberII}[2][]{
|
||||
\renewcommand{\ncsu@memberII}{#2}
|
||||
\ifthenelse{\equal{#1}{}}{}{\renewcommand{\ncsu@memberIItitle}{#1}}
|
||||
}
|
||||
|
||||
\newcommand{\ncsu@memberIII}{Member 3 of Committee}
|
||||
\newcommand{\ncsu@memberIIItitle}{}
|
||||
\providecommand{\memberIII}[2][]{
|
||||
\renewcommand{\ncsu@memberIII}{#2}
|
||||
\ifthenelse{\equal{#1}{}}{}{\renewcommand{\ncsu@memberIIItitle}{#1}}
|
||||
}
|
||||
|
||||
\newcommand{\ncsu@memberIV}{Member 4 of Committee}
|
||||
\newcommand{\ncsu@memberIVtitle}{}
|
||||
\providecommand{\memberIV}[2][]{
|
||||
\renewcommand{\ncsu@memberIV}{#2}
|
||||
\ifthenelse{\equal{#1}{}}{}{\renewcommand{\ncsu@memberIVtitle}{#1}}
|
||||
}
|
||||
|
||||
\newcommand{\ncsu@memberV}{Member 5 of Committee}
|
||||
\newcommand{\ncsu@memberVtitle}{}
|
||||
\providecommand{\memberV}[2][]{
|
||||
\renewcommand{\ncsu@memberV}{#2}
|
||||
\ifthenelse{\equal{#1}{}}{}{\renewcommand{\ncsu@memberVtitle}{#1}}
|
||||
}
|
||||
|
||||
\newcommand{\ncsu@titlepageparagraph}{
|
||||
\ifthenelse{\equal{\ncsu@thesistype}{phd}}{
|
||||
A dissertation submitted to the Graduate Faculty of\\
|
||||
North Carolina State University\\
|
||||
in partial fulfillment of the\\
|
||||
requirements for the Degree of\\
|
||||
Doctor of Philosophy
|
||||
}{} % end ifthenels phd
|
||||
\ifthenelse{\equal{\ncsu@thesistype}{ms}}{
|
||||
A thesis submitted to the Graduate Faculty of\\
|
||||
North Carolina State University\\
|
||||
in partial fulfillment of the\\
|
||||
requirements for the Degree of\\
|
||||
Master of Science
|
||||
}{} % end ifthenels phd
|
||||
}
|
||||
|
||||
\newcommand{\ncsu@program}{Degree Program}
|
||||
\providecommand{\program}[1]{\renewcommand{\ncsu@program}{#1}}
|
||||
|
||||
\newcommand{\ncsu@citystate}{Raleigh, North Carolina}
|
||||
|
||||
\newcommand{\ncsu@signatureline}[2][]{
|
||||
\begin{minipage}[t]{0.4\textwidth}
|
||||
\centering
|
||||
\hrule
|
||||
\vspace{0.5ex}
|
||||
#2\\ #1
|
||||
\end{minipage}
|
||||
}
|
||||
|
||||
\newcommand{\ncsu@committeesignatures}{
|
||||
\ifthenelse{\equal{\ncsu@chairtype}{chair}}{
|
||||
\ifthenelse{\ncsu@committeesize=3}{
|
||||
\begin{tabular}[t]{c@{\hspace{0.5in}}c}
|
||||
\ncsu@signatureline[\ncsu@memberItitle]{\ncsu@memberI} &
|
||||
\ncsu@signatureline[\ncsu@memberIItitle]{\ncsu@memberII} \\[6em]
|
||||
\multicolumn{2}{c}{\ncsu@signatureline[\ncsu@chairtitle]{\ncsu@chair}}
|
||||
\end{tabular}
|
||||
}{} % end ifthenelse = 3
|
||||
\ifthenelse{\ncsu@committeesize=4}{
|
||||
\begin{tabular}[t]{c@{\hspace{0.5in}}c}
|
||||
\ncsu@signatureline[\ncsu@memberItitle]{\ncsu@memberI} &
|
||||
\ncsu@signatureline[\ncsu@memberIItitle]{\ncsu@memberII} \\[6em]
|
||||
\ncsu@signatureline[\ncsu@memberIIItitle]{\ncsu@memberIII} &
|
||||
\ncsu@signatureline[\ncsu@chairtitle]{\ncsu@chair} \\
|
||||
\end{tabular}
|
||||
}{} % end ifthenelse = 4
|
||||
\ifthenelse{\ncsu@committeesize=5}{
|
||||
\begin{tabular}[t]{c@{\hspace{0.5in}}c}
|
||||
\ncsu@signatureline[\ncsu@memberItitle]{\ncsu@memberI} &
|
||||
\ncsu@signatureline[\ncsu@memberIItitle]{\ncsu@memberII} \\[5em]
|
||||
\ncsu@signatureline[\ncsu@memberIIItitle]{\ncsu@memberIII} &
|
||||
\ncsu@signatureline[\ncsu@memberIVtitle]{\ncsu@memberIV} \\[5em]
|
||||
\multicolumn{2}{c}{\ncsu@signatureline[\ncsu@chairtitle]{\ncsu@chair}}
|
||||
\end{tabular}
|
||||
}{} % end ifthenelse = 5
|
||||
\ifthenelse{\ncsu@committeesize=6}{
|
||||
\begin{tabular}[t]{c@{\hspace{0.5in}}c}
|
||||
\ncsu@signatureline[\ncsu@memberItitle]{\ncsu@memberI} &
|
||||
\ncsu@signatureline[\ncsu@memberIItitle]{\ncsu@memberII} \\[5em]
|
||||
\ncsu@signatureline[\ncsu@memberIIItitle]{\ncsu@memberIII} &
|
||||
\ncsu@signatureline[\ncsu@memberIVtitle]{\ncsu@memberIV} \\[5em]
|
||||
\ncsu@signatureline[\ncsu@memberVtitle]{\ncsu@memberV} &
|
||||
\ncsu@signatureline[\ncsu@chairtitle]{\ncsu@chair} \\
|
||||
\end{tabular}
|
||||
}{} % end ifthenelse = 6
|
||||
}{} % end ifthenelse type = chair
|
||||
\ifthenelse{\equal{\ncsu@chairtype}{cochair}}{
|
||||
% co-chairs; if number is odd, put co-chairs on top line.
|
||||
\ifthenelse{\ncsu@committeesize=3}{
|
||||
\begin{tabular}[t]{c@{\hspace{0.5in}}c}
|
||||
\ncsu@signatureline[\ncsu@cochairItitle]{\ncsu@cochairI} &
|
||||
\ncsu@signatureline[\ncsu@cochairIItitle]{\ncsu@cochairII} \\[6em]
|
||||
\multicolumn{2}{c}%
|
||||
{\ncsu@signatureline[\ncsu@memberItitle]{\ncsu@memberI}}
|
||||
\end{tabular}
|
||||
}{} % end ifthenelse = 3
|
||||
\ifthenelse{\ncsu@committeesize=4}{
|
||||
\begin{tabular}[t]{c@{\hspace{0.5in}}c}
|
||||
\ncsu@signatureline[\ncsu@memberItitle]{\ncsu@memberI} &
|
||||
\ncsu@signatureline[\ncsu@memberIItitle]{\ncsu@memberII} \\[6em]
|
||||
\ncsu@signatureline[\ncsu@cochairItitle]{\ncsu@cochairI} &
|
||||
\ncsu@signatureline[\ncsu@cochairIItitle]{\ncsu@cochairII}
|
||||
\end{tabular}
|
||||
}{} % end ifthenelse = 4
|
||||
\ifthenelse{\ncsu@committeesize=5}{
|
||||
\begin{tabular}[t]{c@{\hspace{0.5in}}c}
|
||||
\ncsu@signatureline[\ncsu@cochairItitle]{\ncsu@cochairI} &
|
||||
\ncsu@signatureline[\ncsu@cochairIItitle]{\ncsu@cochairII} \\[5em]
|
||||
\ncsu@signatureline[\ncsu@memberItitle]{\ncsu@memberI} &
|
||||
\ncsu@signatureline[\ncsu@memberIItitle]{\ncsu@memberII} \\[5em]
|
||||
\multicolumn{2}{c}%
|
||||
{\ncsu@signatureline[\ncsu@memberIIItitle]{\ncsu@memberIII}}
|
||||
\end{tabular}
|
||||
}{} % end ifthenelse = 5
|
||||
\ifthenelse{\ncsu@committeesize=6}{
|
||||
\begin{tabular}[t]{c@{\hspace{0.5in}}c}
|
||||
\ncsu@signatureline[\ncsu@memberItitle]{\ncsu@memberI} &
|
||||
\ncsu@signatureline[\ncsu@memberIItitle]{\ncsu@memberII} \\[5em]
|
||||
\ncsu@signatureline[\ncsu@memberIIItitle]{\ncsu@memberIII} &
|
||||
\ncsu@signatureline[\ncsu@memberIVtitle]{\ncsu@memberIV} \\[5em]
|
||||
\ncsu@signatureline[\ncsu@cochairItitle]{\ncsu@cochairI} &
|
||||
\ncsu@signatureline[\ncsu@cochairIItitle]{\ncsu@cochairII} \\
|
||||
\end{tabular}
|
||||
}{} % end ifthenelse = 6
|
||||
}{} % end ifthenelse type = cochair
|
||||
}
|
||||
|
||||
\newcommand{\maketitlepage}{
|
||||
\thispagestyle{empty}
|
||||
\clearpage
|
||||
\singlespacing
|
||||
\begin{center}
|
||||
\vfill
|
||||
\ncsu@thesistitle
|
||||
\vfill
|
||||
by \\
|
||||
\@author
|
||||
\vfill
|
||||
\ncsu@titlepageparagraph
|
||||
\vfill
|
||||
\ncsu@program\\[4\ncsu@lineheight]
|
||||
\ncsu@citystate\\[0\ncsu@lineheight]
|
||||
\ncsu@year
|
||||
\vfill
|
||||
APPROVED BY:
|
||||
\vfill
|
||||
\ncsu@committeesignatures
|
||||
\end{center}
|
||||
\clearpage
|
||||
\ncsu@defaultspacing
|
||||
}
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% ------------ Dedication, biography, and acknowledgements ----------------- %%
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Template
|
||||
\newcommand{\ncsu@dedbioack}[1]{%
|
||||
\chapter*{#1}%
|
||||
}
|
||||
|
||||
%% Dedication
|
||||
\newcommand{\dedicationtitle}{Dedication}
|
||||
\newenvironment{dedication}
|
||||
{\ncsu@dedbioack{\dedicationtitle}}
|
||||
{\clearpage}
|
||||
|
||||
%% Biography
|
||||
\newcommand{\biographytitle}{Biography}
|
||||
\newenvironment{biography}
|
||||
{\ncsu@dedbioack{\biographytitle}}
|
||||
{\clearpage}
|
||||
|
||||
%% Acknowledgements
|
||||
\newcommand{\acknowledgementstitle}{Acknowledgements}
|
||||
\newenvironment{acknowledgements}
|
||||
{\ncsu@dedbioack{\acknowledgementstitle}}
|
||||
{\clearpage}
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% ------------------------- Table of Contents ----------------------------- %%
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
\renewcommand{\contentsname}{Table of Contents}
|
||||
\settowidth{\cftchapnumwidth}{\textbf{Chapter 00}}
|
||||
\renewcommand{\cftchappresnum}{Chapter }
|
||||
\renewcommand{\cftchapleader}{\cftdotfill{\cftsecdotsep}}
|
||||
\newcommand{\thesistableofcontents}{%
|
||||
\singlespacing%
|
||||
\setlength{\cftbeforetoctitleskip}{-\baselineskip}
|
||||
\setlength{\ncsu@leading}{\baselineskip-\ncsu@capitalheight}%
|
||||
\setlength{\cftaftertoctitleskip}%
|
||||
{\ncsu@afterschapsep-\cftbeforechapskip-\ncsu@leading}%
|
||||
\tableofcontents%
|
||||
\clearpage%
|
||||
\ncsu@defaultspacing%
|
||||
}
|
||||
%% tocloft typesets ToC title, so we must give it our heading formats
|
||||
%\renewcommand{\cfttoctitlefont}{\hfill\ncsu@headingformat}
|
||||
%\renewcommand{\cftaftertoctitle}{\hfill}
|
||||
\renewcommand{\cfttoctitlefont}{\hspace*{\fill}\ncsu@headingformat}
|
||||
\renewcommand{\cftaftertoctitle}{\hspace*{\fill}}
|
||||
|
||||
\renewcommand{\listfigurename}{List of Figures}
|
||||
\settowidth{\cftfignumwidth}{Figure 00.00}
|
||||
\renewcommand{\cftfigpresnum}{Figure }
|
||||
\newcommand{\thesislistoffigures}{%
|
||||
\singlespacing%
|
||||
\setlength{\cftbeforeloftitleskip}{-\baselineskip}
|
||||
\setlength{\ncsu@leading}{\baselineskip-\ncsu@capitalheight}%
|
||||
\setlength{\cftafterloftitleskip}%
|
||||
{\ncsu@afterschapsep-\cftbeforechapskip-\ncsu@leading}%
|
||||
\listoffigures%
|
||||
\clearpage%
|
||||
\ncsu@defaultspacing%
|
||||
}
|
||||
\renewcommand{\cftloftitlefont}{\hfill\ncsu@headingformat}
|
||||
\renewcommand{\cftafterloftitle}{\hfill}
|
||||
|
||||
\renewcommand{\listtablename}{List of Tables}
|
||||
\settowidth{\cfttabnumwidth}{Table 00.00}
|
||||
\renewcommand{\cfttabpresnum}{Table }
|
||||
\newcommand{\thesislistoftables}{%
|
||||
\singlespacing%
|
||||
\setlength{\cftbeforelottitleskip}{-\baselineskip}
|
||||
\setlength{\ncsu@leading}{\baselineskip-\ncsu@capitalheight}%
|
||||
\setlength{\cftafterlottitleskip}%
|
||||
{\ncsu@afterschapsep-\cftbeforechapskip-\ncsu@leading}%
|
||||
\listoftables%
|
||||
\clearpage%
|
||||
\ncsu@defaultspacing%
|
||||
}
|
||||
\renewcommand{\cftlottitlefont}{\hfill\ncsu@headingformat}
|
||||
\renewcommand{\cftafterlottitle}{\hfill}
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% ------------------------- Landscape Pages ------------------------------- %%
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Loading pdflscape package for page rotation
|
||||
\RequirePackage{pdflscape}
|
||||
%% Loading fancyhdr package to change page numbering
|
||||
\RequirePackage{fancyhdr}
|
||||
%% Loading sideways for sideways environment
|
||||
\RequirePackage{rotating}
|
||||
|
||||
\newlength{\portraittextheight}
|
||||
\setlength{\portraittextheight}{\textheight}
|
||||
\addtolength{\portraittextheight}{\footskip}
|
||||
\newlength{\portraittextwidth}
|
||||
\setlength{\portraittextwidth}{\textwidth}
|
||||
|
||||
\RequirePackage{afterpage}
|
||||
\RequirePackage{changepage}
|
||||
|
||||
%% Rotate page and page number
|
||||
\newenvironment{lscapenum}
|
||||
{
|
||||
%% The standard landscape environment does not rotate the margins and
|
||||
%% page number. However, we want the margins (mostly) rotated as well
|
||||
%% as the page number. To change the margins, we use the \changepage
|
||||
%% command from the \changepage package. Since the \textheight and
|
||||
%% \textwidth dimensions get switched, we need to reduce the rotated
|
||||
%% \textheight by \ncsu@footskip and increase the \textwidth by the
|
||||
%% same measure.
|
||||
%%
|
||||
%% The syntax of the \changepage command is
|
||||
%% \changepage{textheight}{textwidth}{evensidemargin}{oddsidemargin}{columnsep}
|
||||
%% {topmargin}{headheight}{headsep}{footskip}
|
||||
\clearpage
|
||||
\changepage{\ncsu@footskip}{-\ncsu@footskip}{}{}{}{}{}{}{}
|
||||
\begin{landscape}
|
||||
\pagestyle{fancy}
|
||||
\fancyhead{} % clear all header fields
|
||||
\fancyfoot{} % clear all footer fields
|
||||
\renewcommand{\headrulewidth}{0pt}
|
||||
\rfoot{
|
||||
%% Since the header and footer are unrotated, we must manually
|
||||
%% place the page number. The picture environment is included in
|
||||
%% standard LaTeX.
|
||||
\setlength{\unitlength}{\portraittextheight}
|
||||
\begin{picture}(0,0)
|
||||
\put(0.055,0.557){\begin{sideways}\thepage\end{sideways}} % page number
|
||||
\end{picture}
|
||||
}
|
||||
|
||||
}
|
||||
{
|
||||
\end{landscape}
|
||||
%% The \textheight is too large leaving landscape environment
|
||||
%% since we invoked the \changepage. We manually reduce it.
|
||||
\addtolength{\textheight}{-\ncsu@footskip}
|
||||
|
||||
%% \textheight controls 3 other variables, which must be updated.
|
||||
%% See \endlandscape definition in lscape.sty
|
||||
\global\@colht=\textheight
|
||||
\global\vsize=\textheight
|
||||
\global\@colroom=\textheight
|
||||
|
||||
\pagestyle{plain}
|
||||
}
|
||||
|
||||
%% Rotate page but NOT page number
|
||||
\newenvironment{lscapenotnum}
|
||||
{
|
||||
\begin{landscape}
|
||||
}
|
||||
{
|
||||
\end{landscape}
|
||||
}
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% --------------------------- Captions ------------------------------- %%
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Adding space to start of caption
|
||||
%% save
|
||||
\RequirePackage{caption}
|
||||
\DeclareCaptionLabelSeparator{colon}{:\hspace{0.8em}}
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% ------------------------- References ------------------------------------ %%
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
\renewcommand{\bibname}{References}
|
||||
%% natbib redefines \thebibliography, so we add our own requirements
|
||||
%% at \begin{document} time.
|
||||
\AtBeginDocument{
|
||||
\let\ncsu@thebibliography\thebibliography
|
||||
\let\endncsu@thebibliography\endthebibliography
|
||||
\renewenvironment{thebibliography}[1]
|
||||
{
|
||||
\singlespacing
|
||||
\begin{ncsu@thebibliography}{#1}
|
||||
}
|
||||
{
|
||||
\end{ncsu@thebibliography}
|
||||
\ncsu@defaultspacing
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% ------------------------- The Appendices -------------------------------- %%
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
|
||||
\newlength{\appendixwidth}
|
||||
\settowidth{\appendixwidth}{APPENDIX A}
|
||||
\addtolength{\appendixwidth}{1em}
|
||||
\providecommand{\appendixheader}[1]{
|
||||
\renewcommand{\ncsu@appendixheader}{#1}
|
||||
}
|
||||
|
||||
%% Count the total number of appendices
|
||||
\RequirePackage{totcount}
|
||||
\regtotcounter{chapter} % chapter counter is used for appendices
|
||||
|
||||
\AtBeginDocument{%
|
||||
%% Since ETD requirements are different than LaTeX's normal formatting of
|
||||
%% the Table of Content's Appendix listings,
|
||||
%% we change the indentation of chapters, sections, and subsections in
|
||||
%% the appendix part of the table of contents, but no deeper divisions,
|
||||
%% so we must cap the tocdepth at 2:
|
||||
\newcounter{ncsu@appendixtocdepth}
|
||||
\ifthenelse{\c@tocdepth > 2}
|
||||
{\setcounter{ncsu@appendixtocdepth}{2}}
|
||||
{\setcounter{ncsu@appendixtocdepth}{\c@tocdepth}}
|
||||
|
||||
\let\ncsu@appendix\appendix
|
||||
\renewcommand{\appendix}{
|
||||
\ifthenelse{\isundefined{\ncsu@appendixheader}}
|
||||
% Appendix title page heading not defined, define it
|
||||
{
|
||||
\ifthenelse{\totvalue{chapter} = 1 }%
|
||||
%% number of appendices = 1
|
||||
{\newcommand{\ncsu@appendixheader}{APPENDIX}}
|
||||
%% number of appendices > 1
|
||||
{\newcommand{\ncsu@appendixheader}{APPENDICES}}
|
||||
}
|
||||
% Appendix title page heading already defined, do nothing
|
||||
{}
|
||||
|
||||
\chapter*{\ncsu@appendixheader} %% insert 'Appendix' titlepage
|
||||
\addcontentsline{toc}{chapter}{\ncsu@appendixheader}
|
||||
%% Adding "Appendix" before letter in TOC
|
||||
%% We must change the width of the box which the appendix letter is set in
|
||||
%% and add the "Appendix " before the letter. See tocloft documentation.
|
||||
\addtocontents{toc}{
|
||||
\protect\renewcommand{\protect\cftchappresnum}{Appendix }
|
||||
\protect\renewcommand{\protect\cftchapnumwidth}{\protect\appendixwidth}
|
||||
\protect\renewcommand{\protect\cftchapfont}{\protect\cftsecfont}
|
||||
\protect\setlength{\protect\cftbeforechapskip}{\protect\cftbeforesecskip}
|
||||
\protect\setlength{\protect\cftchapindent}{\protect\cftsecindent}
|
||||
\protect\renewcommand{\protect\cftchappagefont}{\protect\cftchapfont}
|
||||
\protect\setlength{\protect\cftsecindent}{\protect\cftsubsecindent}
|
||||
\protect\addtolength{\protect\cftsubsecindent}{\cftsecnumwidth}
|
||||
\protect\setcounter{tocdepth}{\c@ncsu@appendixtocdepth}
|
||||
}
|
||||
\clearpage
|
||||
\ncsu@appendix %% call internal \appendix macro
|
||||
} % \renewcommand{appendix}
|
||||
} % \AtBeginDocument
|
||||
|
||||
\ncsu@defaultspacing
|
||||
%%
|
||||
%% Copyright (C) 2009-2012 by Josh Hykes <jmhykes@ncsu.edu> and others
|
||||
%%
|
||||
%% This work may be distributed and/or modified under the
|
||||
%% conditions of the LaTeX Project Public License (LPPL), either
|
||||
%% version 1.3c of this license or (at your option) any later
|
||||
%% version. The latest version of this license is in the file:
|
||||
%%
|
||||
%% http://www.latex-project.org/lppl.txt
|
||||
%%
|
||||
%% This work is "maintained" (as per LPPL maintenance status).
|
||||
%%
|
||||
%% This work consists of the file ncsuthesis.dtx
|
||||
%% and the derived files ncsuthesis.ins,
|
||||
%% ncsuthesis.pdf and
|
||||
%% ncsuthesis.cls.
|
||||
%%
|
||||
%%
|
||||
%% End of file `ncsuthesis.cls'.
|
||||
|
|
@ -0,0 +1,76 @@
|
|||
%% Optional Packages to consider. These packages are compatible with
|
||||
%% ncsuthesis.
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Fancy chapter headings
|
||||
%% available options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne
|
||||
%\usepackage[Sonny]{fncychap}
|
||||
\usepackage[Rejne]{fncychap}
|
||||
|
||||
%%----------------------------------------------------------------------------%%
|
||||
%% Hyperref package creates PDF metadata and hyperlinks in Table of Contents
|
||||
%% and citations. Based on feedback from the NCSU thesis editor,
|
||||
%% the links are not visually distinct from normal text (i.e. no change
|
||||
%% in color or extra boxes).
|
||||
\usepackage[
|
||||
pdfauthor={Change author in optional.tex},
|
||||
pdftitle={Change title in optional.tex},
|
||||
pdfcreator={pdftex},
|
||||
pdfsubject={NC State ETD Dissertation},
|
||||
pdfkeywords={change key words in optional.tex},
|
||||
colorlinks=true,
|
||||
linkcolor=black,
|
||||
citecolor=black,
|
||||
filecolor=black,
|
||||
urlcolor=black,
|
||||
]{hyperref}
|
||||
|
||||
|
||||
%% -------------------------------------------------------------------------- %%
|
||||
%% Microtype - If you use pdfTeX to compile your thesis, you can use
|
||||
%% the microtype package to access advanced typographic
|
||||
%% features. By default, using the microtype package enables
|
||||
%% character protrusion (placing glyphs a hair past the right
|
||||
%% margin to make a visually straighter edge)
|
||||
%% and font expansion (adjusting font width slightly to get
|
||||
%% more favorable justification).
|
||||
%% Using microtype should decrease the number of lines
|
||||
%% ending in hyphens.
|
||||
\usepackage{microtype}
|
||||
|
||||
|
||||
%%----------------------------------------------------------------------------%%
|
||||
%% Fonts
|
||||
|
||||
%% ETD guidelines don't specify the font. You can enable the fonts
|
||||
%% by uncommenting the appropriate lines. Using the default Computer
|
||||
%% Modern fonts is *not* required. A few common choices are below.
|
||||
%% See http://www.tug.dk/FontCatalogue/ for more options.
|
||||
|
||||
%% Serif Fonts -------------------------------------------------
|
||||
%% The four serif fonts listed here (Utopia, Palatino, Kerkis,
|
||||
%% and Times) all have math support.
|
||||
|
||||
|
||||
%% Utopia
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[adobe-utopia]{mathdesign}
|
||||
|
||||
%% Palatino
|
||||
%\usepackage[T1]{fontenc}
|
||||
%\usepackage[sc]{mathpazo}
|
||||
%\linespread{1.05}
|
||||
|
||||
%% Kerkis
|
||||
%\usepackage[T1]{fontenc}
|
||||
%\usepackage{kmath,kerkis}
|
||||
|
||||
%% Times
|
||||
%\usepackage[T1]{fontenc}
|
||||
%\usepackage{mathptmx}
|
||||
|
||||
|
||||
%% Sans serif fonts -------------------------
|
||||
|
||||
%\usepackage[scaled]{helvet} % Helvetica
|
||||
%\usepackage[scaled]{berasans} % Bera Sans
|
||||
|
|
@ -0,0 +1,156 @@
|
|||
%%
|
||||
%% This is file `totcount.sty',
|
||||
%% generated with the docstrip utility.
|
||||
%%
|
||||
%% The original source files were:
|
||||
%%
|
||||
%% totcount.dtx (with options: `sty')
|
||||
%%
|
||||
%% The TotCount package, version 1.0, 2009/04/14
|
||||
%%
|
||||
%% Copyright (c) [2009] Vasileios Koutavas (Vasileios.Koutavas@cs.tcd.ie)
|
||||
%%
|
||||
%% This program may be re-distributed and/or modified under the terms of the
|
||||
%% LaTeX Project Public License version 1.3c, or any later version.
|
||||
%% The latest version of this license is in
|
||||
%% CTAN:macros/latex/base/lppl.txt
|
||||
%%
|
||||
\def\totcfileversion{1.1}
|
||||
\def\totcfiledate{2009/07/09}
|
||||
\def\totcdocdate{9 Jul 2009}
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{totcount}
|
||||
[\totcfiledate \space v\totcfileversion \space package for getting%
|
||||
the total value of LaTeX counters]
|
||||
%%
|
||||
%% Import of the \xpackage{keyval} package \cite{keyval}:
|
||||
\RequirePackage{keyval}
|
||||
%%
|
||||
%% Creates a new counter and registers it as a total counter. This is the
|
||||
%% top-level dispatch of the macro, depending on whether there is an optional
|
||||
%% argument or not.
|
||||
\def\newtotcounter{%
|
||||
\@ifnextchar[\newtotcounter@newaux\newtotcounter@mainaux}
|
||||
%%
|
||||
%% This is the version of the |\newtotcounter| macro that uses a separate
|
||||
%% auxiliary file. It first creates the counter (second argument) and then
|
||||
%% calls the macro |\regtotcounter|.
|
||||
\def\newtotcounter@newaux[#1]#2{%
|
||||
\newcounter{#2}%
|
||||
\regtotcounter[#1]{#2}%
|
||||
}
|
||||
%%
|
||||
%% This is the version of the |\newtotcounter| macro that uses the main
|
||||
%% auxiliary file. It first creates the counter (argument) and then calls
|
||||
%% the macro |\regtotcounter|.
|
||||
\def\newtotcounter@mainaux#1{%
|
||||
\newcounter{#1}%
|
||||
%% Register the counter:
|
||||
\regtotcounter{#1}%
|
||||
}
|
||||
%%
|
||||
%% Registers a counter as a total counter. This is the top-level dispatch of
|
||||
%% the macro, depending on whether there is an optional argument or not.
|
||||
\def\regtotcounter{%
|
||||
\@ifnextchar[\regtotcounter@newaux\regtotcounter@mainaux}
|
||||
%%
|
||||
%% The following is the definition of the |auxfile| key for specifying an
|
||||
%% alternative auxiliary file when calling the macro |\regtotcounter| (see
|
||||
%% \cite{keyval}).
|
||||
\define@key{totcounter}{auxfile}{\def\this@auxfile{#1}}
|
||||
%%
|
||||
%% This is the version of the |\regtotcounter| macro that uses a separate
|
||||
%% auxiliary file. The auxiliary file is passed as a first argument in the
|
||||
%% form of a key--value pair |[auxfile=|\meta{file}|]|, and the counter to be
|
||||
%% registered is passed as the second argument.
|
||||
%% \begin{macrocode}
|
||||
\def\regtotcounter@newaux[#1]#2{%
|
||||
\setkeys{totcounter}{#1}%
|
||||
%% Try to load the contents of the file:
|
||||
\InputIfFileExists{\this@auxfile}{}{}%
|
||||
%% Make sure that the auxiliary file is open; \LaTeX\ will close it at the end:
|
||||
\expandafter\ifx\csname \this@auxfile @open\endcsname\relax%
|
||||
\expandafter\gdef\csname \this@auxfile @open\endcsname{}%
|
||||
\expandafter\newwrite\csname \this@auxfile @stream\endcsname%
|
||||
\immediate\expandafter\openout%
|
||||
\csname \this@auxfile @stream\endcsname=\this@auxfile%
|
||||
\fi%
|
||||
%% Create a new counter holding the total number of the actual counter:
|
||||
\expandafter\ifx\csname c@#2@totc\endcsname\relax%
|
||||
\newcounter{#2@totc}%
|
||||
\setcounter{#2@totc}{-1}%
|
||||
\fi%
|
||||
%% At the end of the document write code in the auxiliary file to update the
|
||||
%% total counter with the value of the actual counter:
|
||||
\AtEndDocument{%
|
||||
\def\sp{ }%
|
||||
\immediate\expandafter\write%
|
||||
\csname \this@auxfile @stream\endcsname{%
|
||||
\string\expandafter\string\ifx%
|
||||
\string\csname\sp c@#2@totc\string\endcsname\string\relax%
|
||||
\string\newcounter{#2@totc}%
|
||||
\string\fi%
|
||||
\string\setcounter{#2@totc}{\number\value{#2}}%
|
||||
}%
|
||||
}%
|
||||
}
|
||||
%%
|
||||
%% This is the version of the |\regtotcounter| macro that uses the main
|
||||
%% auxiliary file. The counter to be registered is passed as the second
|
||||
%% argument.
|
||||
\def\regtotcounter@mainaux#1{%
|
||||
%% Create a new counter holding the total number of the actual counter:
|
||||
\expandafter\ifx\csname c@#1@totc\endcsname\relax%
|
||||
\newcounter{#1@totc}%
|
||||
\setcounter{#1@totc}{-1}%
|
||||
\fi%
|
||||
%% At the end of the document write code in the auxiliary file to update the
|
||||
%% total counter with the value of the actual counter:
|
||||
\AtEndDocument{%
|
||||
\def\sp{ }%
|
||||
\immediate\write\@mainaux{%
|
||||
\string\expandafter\string\ifx%
|
||||
\string\csname\sp c@#1@totc\string\endcsname\string\relax%
|
||||
\string\newcounter{\string #1@totc}%
|
||||
\string\fi%
|
||||
\string\setcounter{\string #1@totc}{\number\value{#1}}%
|
||||
}%
|
||||
}%
|
||||
}
|
||||
%%
|
||||
%% Prints the total value of a registered total counter that is passed as
|
||||
%% argument. If the total value is yet to be computed (at the first time
|
||||
%% \LaTeX\ runs on the document) then its value is |-1| and the output of the
|
||||
%% command is $??$.
|
||||
\newcommand\total[1]{%
|
||||
\def\tmp@val{\value{#1@totc}}%
|
||||
\ifnum\tmp@val=-1%
|
||||
\message{Rerun to get correct total counts}%
|
||||
$??$%
|
||||
\else%
|
||||
\number\value{#1@totc}%
|
||||
\fi%
|
||||
}
|
||||
%%
|
||||
%% Returns the numeric total value of a registered total counter that is
|
||||
%% passed as argument. Note that if the counter's value is not yet computed
|
||||
%% (at the first time \LaTeX\ runs on the document) this macro returns |-1|.
|
||||
\newcommand\totvalue[1]{\value{#1@totc}}
|
||||
%%
|
||||
%% Inputs an auxiliary file that should contain total-counter
|
||||
%% definitions. It outputs a warning message in the terminal if the file
|
||||
%% doesn't exist. This command should be used \emph{instead} of registering a
|
||||
%% counter.
|
||||
\newcommand\usetotcountfile[1]{%
|
||||
\InputIfFileExists{#1}{%
|
||||
\message{TotCount inputs file '#1'}%
|
||||
}{%
|
||||
\message{TotCount Warning: File '#1' does not exist!}%
|
||||
\message{\space\space\space\space\space\space\space\space\space%
|
||||
\space\space\space\space\space\space\space\space\space%
|
||||
Ignoring \string\usetotcountfile{#1}.}%
|
||||
}%
|
||||
}
|
||||
\endinput
|
||||
%%
|
||||
%% End of file `totcount.sty'.
|
||||
Loading…
Reference in New Issue