├── acknowledgments └── acknowledgments.tex ├── abstract └── abstract.tex ├── PhD_Thesis.pdf ├── moderncv-2015.pdf ├── intro_chapter ├── intro_chapter.tex └── intro_chapter.bib ├── unused_files ├── rjvheadshot.jpg ├── thesis.R ├── chapter0.tex ├── thesis.bib ├── chapter1.tex ├── root.tex ├── OLD_FORMAT.tex ├── jhu10.clo ├── jhu11.clo ├── jhu12.clo └── thesis.cls ├── rnw_chapter ├── figure │ └── some_fig-1.pdf ├── makefile ├── rnw_chapter.bib ├── rnw_chapter.tex └── rnw_chapter.Rnw ├── sRGB_IEC61966-2-1_black_scaled.icc ├── conclusion_chapter ├── conclusion_chapter.tex └── conclusion_chapter.bib ├── .gitignore ├── committee └── committee.tex ├── makefile ├── README.md ├── main.tex └── RJournal_nogeom.sty /acknowledgments/acknowledgments.tex: -------------------------------------------------------------------------------- 1 | \chapter*{Acknowledgments} 2 | 3 | Thanks! -------------------------------------------------------------------------------- /abstract/abstract.tex: -------------------------------------------------------------------------------- 1 | \chapter*{Abstract} 2 | 3 | My thesis is about bla bla 4 | -------------------------------------------------------------------------------- /PhD_Thesis.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weitzner/jhu-thesis-template/HEAD/PhD_Thesis.pdf -------------------------------------------------------------------------------- /moderncv-2015.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weitzner/jhu-thesis-template/HEAD/moderncv-2015.pdf -------------------------------------------------------------------------------- /intro_chapter/intro_chapter.tex: -------------------------------------------------------------------------------- 1 | \chapter{Introduction} 2 | \label{chap:intro} 3 | 4 | Introduce your thesis \citep{A} 5 | -------------------------------------------------------------------------------- /unused_files/rjvheadshot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weitzner/jhu-thesis-template/HEAD/unused_files/rjvheadshot.jpg -------------------------------------------------------------------------------- /rnw_chapter/figure/some_fig-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weitzner/jhu-thesis-template/HEAD/rnw_chapter/figure/some_fig-1.pdf -------------------------------------------------------------------------------- /sRGB_IEC61966-2-1_black_scaled.icc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weitzner/jhu-thesis-template/HEAD/sRGB_IEC61966-2-1_black_scaled.icc -------------------------------------------------------------------------------- /conclusion_chapter/conclusion_chapter.tex: -------------------------------------------------------------------------------- 1 | \chapter{Discussion and Conclusion} 2 | \label{chap:conclusion} 3 | 4 | Discuss and conclude your thesis \citep{C} 5 | -------------------------------------------------------------------------------- /unused_files/thesis.R: -------------------------------------------------------------------------------- 1 | rm( list = ls() ) 2 | library('bibtex') 3 | bib_files = list.files(pattern = "[.]bib$") 4 | drop_files = "thesis.bib" 5 | bib_files = setdiff(bib_files, drop_files) 6 | 7 | -------------------------------------------------------------------------------- /rnw_chapter/makefile: -------------------------------------------------------------------------------- 1 | name=rnw_chapter 2 | ${name}.tex: ${name}.Rnw 3 | if [ -e ${name}.aux ]; \ 4 | then \ 5 | rm ${name}.aux; \ 6 | fi; 7 | Rscript -e "library(knitr); knit('${name}.Rnw')" 8 | 9 | clean: 10 | rm ${name}.tex 11 | 12 | open: 13 | open ${name}.tex 14 | -------------------------------------------------------------------------------- /unused_files/chapter0.tex: -------------------------------------------------------------------------------- 1 | %% FRONTMATTER 2 | \begin{frontmatter} 3 | 4 | % generate title 5 | \maketitle 6 | 7 | \begin{abstract} 8 | 9 | Abstract goes here. 10 | 11 | \vspace{1cm} 12 | 13 | \noindent Primary Reader: Some Person\\ 14 | Secondary Reader: Someone Else 15 | 16 | \end{abstract} 17 | 18 | \begin{acknowledgment} 19 | 20 | Thanks! 21 | 22 | \end{acknowledgment} 23 | 24 | \begin{dedication} 25 | 26 | This thesis is dedicated to \ldots 27 | 28 | \end{dedication} 29 | 30 | % generate table of contents 31 | \tableofcontents 32 | 33 | % generate list of tables 34 | \listoftables 35 | 36 | % generate list of figures 37 | \listoffigures 38 | 39 | \end{frontmatter} 40 | -------------------------------------------------------------------------------- /unused_files/thesis.bib: -------------------------------------------------------------------------------- 1 | % Add citations in bibtex format 2 | 3 | @ARTICLE{A, 4 | author = {A. A. Aardvark}, 5 | title = {Article title}, 6 | journal = {Journal One}, 7 | year = {1900}, 8 | volume = {1}, 9 | pages = {1--8}, 10 | number = {1} 11 | } 12 | 13 | @ARTICLE{B, 14 | author = {A. A. Abramson and B. B. Barbie}, 15 | title = {Article title}, 16 | journal = {Journal Two}, 17 | year = {1900}, 18 | volume = {1}, 19 | pages = {9--17}, 20 | number = {1} 21 | } 22 | 23 | @ARTICLE{C, 24 | author = {A. A. Abramson and B. B. Barbie and C. C. Rider}, 25 | title = {Article title}, 26 | journal = {Journal Three}, 27 | year = {1900}, 28 | volume = {1}, 29 | pages = {192--244}, 30 | number = {1} 31 | } 32 | -------------------------------------------------------------------------------- /rnw_chapter/rnw_chapter.bib: -------------------------------------------------------------------------------- 1 | % Add citations in bibtex format 2 | 3 | @ARTICLE{A, 4 | author = {A. A. Aardvark}, 5 | title = {Article title}, 6 | journal = {Journal One}, 7 | year = {1900}, 8 | volume = {1}, 9 | pages = {1--8}, 10 | number = {1} 11 | } 12 | 13 | @ARTICLE{B, 14 | author = {A. A. Abramson and B. B. Barbie}, 15 | title = {Article title}, 16 | journal = {Journal Two}, 17 | year = {1900}, 18 | volume = {1}, 19 | pages = {9--17}, 20 | number = {1} 21 | } 22 | 23 | @ARTICLE{C, 24 | author = {A. A. Abramson and B. B. Barbie and C. C. Rider}, 25 | title = {Article title}, 26 | journal = {Journal Three}, 27 | year = {1900}, 28 | volume = {1}, 29 | pages = {192--244}, 30 | number = {1} 31 | } 32 | -------------------------------------------------------------------------------- /intro_chapter/intro_chapter.bib: -------------------------------------------------------------------------------- 1 | % Add citations in bibtex format 2 | 3 | @ARTICLE{A, 4 | author = {A. A. Aardvark}, 5 | title = {Article title}, 6 | journal = {Journal One}, 7 | year = {1900}, 8 | volume = {1}, 9 | pages = {1--8}, 10 | number = {1} 11 | } 12 | 13 | @ARTICLE{B, 14 | author = {A. A. Abramson and B. B. Barbie}, 15 | title = {Article title}, 16 | journal = {Journal Two}, 17 | year = {1900}, 18 | volume = {1}, 19 | pages = {9--17}, 20 | number = {1} 21 | } 22 | 23 | @ARTICLE{C, 24 | author = {A. A. Abramson and B. B. Barbie and C. C. Rider}, 25 | title = {Article title}, 26 | journal = {Journal Three}, 27 | year = {1900}, 28 | volume = {1}, 29 | pages = {192--244}, 30 | number = {1} 31 | } 32 | -------------------------------------------------------------------------------- /conclusion_chapter/conclusion_chapter.bib: -------------------------------------------------------------------------------- 1 | % Add citations in bibtex format 2 | 3 | @ARTICLE{A, 4 | author = {A. A. Aardvark}, 5 | title = {Article title}, 6 | journal = {Journal One}, 7 | year = {1900}, 8 | volume = {1}, 9 | pages = {1--8}, 10 | number = {1} 11 | } 12 | 13 | @ARTICLE{B, 14 | author = {A. A. Abramson and B. B. Barbie}, 15 | title = {Article title}, 16 | journal = {Journal Two}, 17 | year = {1900}, 18 | volume = {1}, 19 | pages = {9--17}, 20 | number = {1} 21 | } 22 | 23 | @ARTICLE{C, 24 | author = {A. A. Abramson and B. B. Barbie and C. C. Rider}, 25 | title = {Article title}, 26 | journal = {Journal Three}, 27 | year = {1900}, 28 | volume = {1}, 29 | pages = {192--244}, 30 | number = {1} 31 | } 32 | -------------------------------------------------------------------------------- /rnw_chapter/rnw_chapter.tex: -------------------------------------------------------------------------------- 1 | \chapter{Rnw example chapter} 2 | \label{chap:rnw} 3 | 4 | 5 | 6 | 7 | 8 | This document was generated on Wed Apr 13 18:01:10 2016. 9 | 10 | As shown in Figure \ref{fig:some_fig} and in Table \ref{tab:rtab1} we can see that bla bla \citep{B}. 11 | 12 | 13 | \begin{knitrout} 14 | \definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{figure} 15 | \includegraphics[width=\maxwidth]{figure/some_fig-1} \caption[{\bf Figure title } Rest of description]{{\bf Figure title } Rest of description}\label{fig:some_fig} 16 | \end{figure} 17 | 18 | 19 | \end{knitrout} 20 | 21 | 22 | 23 | 24 | 25 | 26 | % latex table generated in R 3.3.0 by xtable 1.8-2 package 27 | % Wed Apr 13 18:01:10 2016 28 | \begin{table}[ht] 29 | \centering 30 | \begin{tabular}{rr} 31 | \hline 32 | A & B \\ 33 | \hline 34 | 1 & -0.40 \\ 35 | 2 & -1.27 \\ 36 | 3 & -1.04 \\ 37 | 4 & 0.69 \\ 38 | 5 & 0.08 \\ 39 | 6 & 1.71 \\ 40 | 7 & 1.90 \\ 41 | 8 & 1.88 \\ 42 | 9 & 0.17 \\ 43 | 10 & -1.62 \\ 44 | \hline 45 | \end{tabular} 46 | \caption{\bf{ Table title } Table description} 47 | \label{tab:rtab1} 48 | \end{table} 49 | 50 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Core latex/pdflatex auxiliary files: 2 | *.aux 3 | *.lof 4 | *.log 5 | *.lot 6 | *.fls 7 | *.out 8 | *.toc 9 | 10 | ## Intermediate documents: 11 | *.dvi 12 | # these rules might exclude image files for figures etc. 13 | # *.ps 14 | # *.eps 15 | # *.pdf 16 | 17 | ## Bibliography auxiliary files (bibtex/biblatex/biber): 18 | *.bbl 19 | *.bcf 20 | *.blg 21 | *-blx.aux 22 | *-blx.bib 23 | *.run.xml 24 | 25 | ## Build tool auxiliary files: 26 | *.fdb_latexmk 27 | *.synctex.gz 28 | *.synctex.gz(busy) 29 | *.pdfsync 30 | 31 | ## Auxiliary and intermediate files from other packages: 32 | 33 | # algorithms 34 | *.alg 35 | *.loa 36 | 37 | # amsthm 38 | *.thm 39 | 40 | # beamer 41 | *.nav 42 | *.snm 43 | *.vrb 44 | 45 | # glossaries 46 | *.acn 47 | *.acr 48 | *.glg 49 | *.glo 50 | *.gls 51 | 52 | # hyperref 53 | *.brf 54 | 55 | # listings 56 | *.lol 57 | 58 | # makeidx 59 | *.idx 60 | *.ilg 61 | *.ind 62 | *.ist 63 | 64 | # minitoc 65 | *.maf 66 | *.mtc 67 | *.mtc0 68 | 69 | # minted 70 | *.pyg 71 | 72 | # nomencl 73 | *.nlo 74 | 75 | # sagetex 76 | *.sagetex.sage 77 | *.sagetex.py 78 | *.sagetex.scmd 79 | 80 | # sympy 81 | *.sout 82 | *.sympy 83 | sympy-plots-for-*.tex/ 84 | 85 | # todonotes 86 | *.tdo 87 | 88 | # xindy 89 | *.xdy 90 | -------------------------------------------------------------------------------- /rnw_chapter/rnw_chapter.Rnw: -------------------------------------------------------------------------------- 1 | \chapter{Rnw example chapter} 2 | \label{chap:rnw} 3 | 4 | <>= 5 | library(knitr) 6 | opts_chunk$set(echo=FALSE, prompt=FALSE, message=FALSE, warning=FALSE, comment="", results='hide') 7 | @ 8 | 9 | <>= 10 | ## Run some R code 11 | date <- date() 12 | @ 13 | 14 | This document was generated on \Sexpr{date}. 15 | 16 | As shown in Figure \ref{fig:some_fig} and in Table \ref{tab:rtab1} we can see that bla bla \citep{B}. 17 | 18 | 19 | <>= 20 | ## Run some R code for a figure 21 | plot(x = rnorm(1000), y = rnorm(1000, sd = 1.5)) 22 | @ 23 | 24 | 25 | <>= 26 | ## You might want to use paste0() if you have multiple pre-generated figures 27 | ## that you want to include 28 | 29 | ## Change eval to TRUE in the code chunk 30 | 31 | figs <- 1:3 32 | figstr <- paste0('\\begin{figure} 33 | \\centering 34 | \\includegraphics[width=0.75\\linewidth,keepaspectratio]{figure/some_fig-', figs', .pdf} 35 | \\caption{{\\bf Figure title } Rest of description } 36 | \\label{fig:rfig1} 37 | \\end{figure} 38 | ') 39 | cat(figstr) 40 | @ 41 | 42 | 43 | 44 | <>= 45 | ## Example R table 46 | library('xtable') 47 | df <- data.frame(A = 1:10, B = round(rnorm(10), 3)) 48 | xtab <- xtable(df, digits = 2, caption = '\\bf{ Table title } Table description', label = 'tab:rtab1') 49 | print.xtable(xtab, include.rownames = FALSE) 50 | @ 51 | -------------------------------------------------------------------------------- /committee/committee.tex: -------------------------------------------------------------------------------- 1 | \chapter*{Thesis Committee} 2 | 3 | \section*{} 4 | \subsection*{Primary Readers} 5 | 6 | \begin{singlespace} 7 | 8 | 9 | \indent First Lastname (Primary Advisor)\\ 10 | \indent \indent Assistant Professor \\ 11 | \indent \indent Department of ChangeMe\\ 12 | \indent \indent Johns Hopkins Bloomberg School of Public Health \\ 13 | 14 | 15 | \smallskip 16 | 17 | \noindent First Lastname \\ 18 | \indent \indent Assistant Professor\\ 19 | \indent \indent Department of ChangeMe\\ 20 | \indent \indent Johns Hopkins Bloomberg School of Public Health \\ 21 | 22 | \smallskip 23 | 24 | \noindent First Lastname \\ 25 | \indent \indent Assistant Professor\\ 26 | \indent \indent Department of ChangeMe \\ 27 | \indent \indent Johns Hopkins Bloomberg School of Public Health \\ 28 | 29 | \smallskip 30 | 31 | 32 | \noindent First Lastname \\ 33 | \indent \indent Associate Professor\\ 34 | \indent \indent Affiliation1, and\\ 35 | \indent \indent Department1 \& Department2 at\\ 36 | \indent \indent Johns Hopkins Bloomberg School of Public Health \\ 37 | 38 | 39 | \end{singlespace} 40 | 41 | \subsection*{Alternate Readers} 42 | 43 | \begin{singlespace} 44 | 45 | 46 | \indent First Lastname \\ 47 | \indent \indent Professor\\ 48 | \indent \indent Department of ChangeMe\\ 49 | \indent \indent Johns Hopkins Bloomberg School of Public Health \\ 50 | 51 | \noindent First Lastname \\ 52 | \indent \indent Assistant Professor\\ 53 | \indent \indent Department of ChangeMe\\ 54 | \indent \indent Johns Hopkins Bloomberg School of Public Health \\ 55 | 56 | 57 | 58 | 59 | \end{singlespace} 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- 1 | fname=main 2 | ${fname}.pdf: ${fname}.tex \ 3 | abstract/abstract.tex \ 4 | committee/committee.tex \ 5 | acknowledgments/acknowledgments.tex \ 6 | intro_chapter/intro_chapter.tex \ 7 | intro_chapter/intro_chapter.bib \ 8 | conclusion_chapter/conclusion_chapter.tex \ 9 | conclusion_chapter/conclusion_chapter.bib \ 10 | rnw_chapter/rnw_chapter.bib \ 11 | rnw_chapter/rnw_chapter.Rnw 12 | if [ -e ${fname}.aux ]; \ 13 | then \ 14 | rm ${fname}.aux; \ 15 | fi; 16 | cd rnw_chapter/ \ 17 | make clean && make; 18 | pdflatex ${fname} 19 | bibtex ${fname} 20 | bibtex ${fname}1-blx 21 | bibtex ${fname}2-blx 22 | bibtex ${fname}3-blx 23 | # Add more if you have more chapters 24 | pdflatex ${fname} 25 | pdflatex ${fname} 26 | cp ${fname}.pdf PhD_Thesis.pdf 27 | open PhD_Thesis.pdf 28 | clean: 29 | if [ -e ${fname}.aux ]; \ 30 | then \ 31 | rm *.aux; \ 32 | fi; 33 | if [ -e ${fname}.bbl ]; \ 34 | then \ 35 | rm *.bbl; \ 36 | fi; 37 | if [ -e ${fname}.blg ]; \ 38 | then \ 39 | rm *.blg; \ 40 | fi; 41 | if [ -e ${fname}.lof ]; \ 42 | then \ 43 | rm ${fname}.lof; \ 44 | fi; 45 | if [ -e ${fname}.log ]; \ 46 | then \ 47 | rm ${fname}.log; \ 48 | fi; 49 | if [ -e ${fname}.lot ]; \ 50 | then \ 51 | rm ${fname}.lot; \ 52 | fi; 53 | if [ -e ${fname}.toc ]; \ 54 | then \ 55 | rm ${fname}.toc; \ 56 | fi; 57 | if [ -e ${fname}-blx.bib ]; \ 58 | then \ 59 | rm ${fname}-blx.bib; \ 60 | fi; 61 | if [ -e ${fname}.out ]; \ 62 | then \ 63 | rm ${fname}.out; \ 64 | fi; 65 | if [ -e ${fname}.run.xml ]; \ 66 | then \ 67 | rm ${fname}.run.xml; \ 68 | fi; 69 | if [ -e acknowledgments/acknowledgments.aux ]; \ 70 | then \ 71 | rm */*.aux; \ 72 | fi; 73 | if [ -e ${fname}.pdf ]; \ 74 | then \ 75 | rm ${fname}.pdf; \ 76 | fi; 77 | if [ -e pdfa.xmpi ]; \ 78 | then \ 79 | rm pdfa.xmpi; \ 80 | fi; 81 | open: 82 | open ${fname}.pdf 83 | edit: 84 | open ${fname}.tex -------------------------------------------------------------------------------- /unused_files/chapter1.tex: -------------------------------------------------------------------------------- 1 | \chapter{Introduction} 2 | \label{sec:intro} 3 | \chaptermark{Optional running chapter heading} 4 | 5 | Introduction. 6 | 7 | A citation \cite{A}. 8 | A citation without brackets \citen{B}. 9 | Multiple citations \cite{A, B, C}. 10 | 11 | \section{Section} 12 | \label{sec:section} 13 | 14 | This is a section. Here's a reference to a different section: 15 | \ref{sec:subsection}. 16 | 17 | \subsection{Subsection} 18 | \label{sec:subsection} 19 | 20 | This is a subsection. 21 | 22 | % \begin{figure}[t] 23 | % \centering 24 | % \includegraphics[width=\textwidth]{figure} 25 | % \makeatletter 26 | % \let\@currsize\normalsize 27 | % \caption{Caption.} 28 | % \label{fig:figure} 29 | % \end{figure} 30 | % 31 | % \begin{figure}[t] 32 | % \centering 33 | % \begin{tabular}{c c} 34 | % \includegraphics[height=2.5in]{figureA} & 35 | % \includegraphics[width=3in]{figureB}\\ 36 | % (A) & (B) 37 | % \end{tabular} 38 | % \makeatletter 39 | % \let\@currsize\normalsize 40 | % \caption{Two figures.} 41 | % \label{fig:twofigures} 42 | % \end{figure} 43 | 44 | % currsize is not set in the long table environment, so we need to set it before we set it up. 45 | \makeatletter 46 | \let\@currsize\normalsize 47 | \makeatother 48 | 49 | % tabular environments are set to be single-spaced in the thesis class, but long tables do not use tabular 50 | % to get around this, set the spacing to single spacing at the start of the long table environment, and set it back to double-spacing at the end of it 51 | \ssp 52 | \begin{longtable}{cc} 53 | \caption[This is what I want to have in the LOT]{This is a caption.} \label{tab:pfams} \\ 54 | \hline 55 | A & B \\ 56 | \hline 57 | \endfirsthead 58 | \multicolumn{2}{@{}l}{\textbf{Table \thetable} \ldots continued} \\ 59 | \hline 60 | A & B \\ 61 | \hline 62 | \endhead 63 | a1 & b1 \\ 64 | a2 & b2 \\ 65 | a3 & b3 \\ 66 | a4 & b4 \\ 67 | \hline 68 | \end{longtable} 69 | \dsp 70 | 71 | \section[Optional table of contents heading]{Section with\\linebreaks in\\the 72 | name} 73 | 74 | This is another section. 75 | 76 | \subsection{Another subsection} 77 | 78 | \subsubsection{Subsubsection} 79 | 80 | \paragraph{Heading level below subsubsection} 81 | \label{sec:paragraph} 82 | 83 | And I quote: 84 | % 85 | \begin{quote} 86 | La la la. 87 | \end{quote} 88 | % 89 | \noindent No ident after end of quote. 90 | 91 | Another paragraph with a list: 92 | % 93 | \begin{itemize} 94 | % 95 | \item Item 1 96 | % 97 | \item Item 2 98 | % 99 | \end{itemize} 100 | % 101 | \noindent Again, we don't indent here. -------------------------------------------------------------------------------- /unused_files/root.tex: -------------------------------------------------------------------------------- 1 | % This template was originally by R. Jacob Vogelstein 2 | % Updated on March 1, 2010 by Noah J. Cowan 3 | 4 | 5 | \documentclass[12pt,oneside,final]{thesis} 6 | 7 | \usepackage[superscript]{cite} 8 | \usepackage{amsmath,amsfonts} 9 | \usepackage{graphicx} 10 | \graphicspath{{./figs/}} 11 | \usepackage{fixltx2e} 12 | \usepackage{array} 13 | % wrapfig is fragile: use sparingly 14 | \usepackage{wrapfig} 15 | %\usepackage{times} % Use this for ugly fonts 16 | 17 | \usepackage{upgreek} 18 | \usepackage{hyperref} 19 | \usepackage{setspace} 20 | 21 | \usepackage{booktabs} 22 | \usepackage{multirow} 23 | \usepackage{longtable} 24 | \usepackage[font=singlespacing, labelfont=bf]{caption} 25 | %\usepackage{CV} 26 | 27 | \usepackage{enumitem} 28 | \newlist{inlinelist}{enumerate*}{1} 29 | \setlist*[inlinelist,1]{% 30 | label=(\arabic*), 31 | } 32 | 33 | \usepackage{fancyhdr} % Use nice looking headers along with the required footer page numbers 34 | %\usepackage[hypertex]{hyperref} 35 | 36 | %Define the header/footer style 37 | \pagestyle{fancy} 38 | \fancyhf{} 39 | \setlength{\headheight}{15pt} 40 | \lhead{\leftmark} 41 | \cfoot{\thepage} 42 | \renewcommand{\headrulewidth}{0pt} 43 | \fancypagestyle{plain}{% Redefine ``plain'' style for chapter boundaries 44 | \fancyhf{} % clear all header and footer fields 45 | \fancyfoot[C]{\thepage} % except the center 46 | \renewcommand{\headrulewidth}{0pt} 47 | \renewcommand{\footrulewidth}{0pt}} 48 | 49 | %\tolerance=10000 50 | 51 | %\makeglossary % enable the glossary 52 | 53 | \begin{document} 54 | 55 | \title{JHU THESIS TEMPLATE} 56 | \author{R. Jacob Vogelstein} 57 | \degreemonth{May} 58 | \degreeyear{2007} 59 | \dissertation 60 | \doctorphilosophy 61 | \copyrightnotice 62 | 63 | 64 | % add your chapters, best way is to have separate TeX files for each chapter 65 | \include{chapter0} 66 | \include{chapter1} 67 | 68 | \include{appendix} 69 | 70 | %% REFERENCES 71 | 72 | % if you use BIBTEX 73 | \bibliographystyle{IEEEtran} 74 | \bibliography{thesis} 75 | 76 | \begin{vita} 77 | 78 | \begin{wrapfigure}{l}{0pt} 79 | \includegraphics[width=2in,height=2.5in,clip,keepaspectratio]{rjvheadshot} 80 | \end{wrapfigure} 81 | 82 | R.\ Jacob Vogelstein received the Sc.\ B.\ degree in Bio-Electrical Engineering 83 | from Brown University in 2000, and enrolled in the Biomedical Engineering 84 | Ph.D.\ program at Johns Hopkins University in 2001. He was inducted into the 85 | Tau Beta Pi and Sigma Xi honor societies in 1999, won the Brown University 86 | Engineering Department's Outstanding Student Award in 2000, and received a 87 | National Science Foundation Graduate Research Fellowship in 2002. His research 88 | focuses on neuromorphic and neuroprosthetic devices, and his papers have been 89 | finalists in the student paper competitions at the 2004 IEEE International 90 | Conference of the Engineering in Medicine and Biology Society and the 2004 IEEE 91 | International Conference on Electronics, Circuits and Systems. 92 | 93 | Starting in June 2007, Jacob will work on the ``Revolutionizing Prosthetics 2009'' 94 | project at the Johns Hopkins University Applied Physics Laboratory in Laurel, 95 | MD, where he will help to create the next-generation of upper-arm 96 | neuroprostheses. 97 | 98 | \end{vita} 99 | \end{document} -------------------------------------------------------------------------------- /unused_files/OLD_FORMAT.tex: -------------------------------------------------------------------------------- 1 | %% Available at http://www.biostat.jhsph.edu/research/thesis.shtml 2 | 3 | % 10-26-98 4 | % 5 | % File "format.tex" contains the university's thesis format. It will 6 | % do the following things automatically if it is executed: 7 | % 8 | % 1. Create the front page of dissertation 9 | % 2. Create Table of Contents 10 | % 3. Create List of Tables 11 | % 4. Create List of Figures 12 | % 5. Set page numbers accordingly (Roman and Arabic) 13 | % 6. Set the required margins for all pages 14 | % 15 | % To use this file, you first need to write each part of thesis, such as 16 | % abstract, acknowle, chap1, etc., as individual LaTex files. Example of 17 | % such files can be obtained from Chuanfa Guo upon request. 18 | % It takes about two or three days to learn how to write latex file. 19 | % Once all parts of thesis are done, you execute this file in LaTex. 20 | % It will read each individual files and put them together for you in 21 | % the university's thesis format. The output is the whole dissertation 22 | % ready for submittal. You will find that it is easy to use this 23 | % "thesis format" file. 24 | % 25 | % Good luck and have fun. 26 | % 27 | % Chuanfa Guo 28 | % (410) 955-0439 29 | % cguo@hsr.jhsph.edu 30 | 31 | \documentclass[12pt,psfig]{report} 32 | 33 | \usepackage{graphics} 34 | \pagestyle{myheadings} 35 | %\topmargin=0.25in 36 | \topmargin=0.05in 37 | \textheight=8.15in 38 | \textwidth=5.6in 39 | \oddsidemargin=0.7in 40 | \raggedbottom 41 | \newdimen \jot \jot=5mm 42 | \brokenpenalty=10000 43 | 44 | \begin{document} 45 | \newcommand{\bm}[1]{ \mbox{\boldmath $ #1 $} } 46 | \newcommand{\bin}[2]{\left(\begin{array}{@{}c@{}} #1 \\ #2 47 | \end{array}\right) } 48 | \renewcommand{\contentsname}{Table of Contents} 49 | \baselineskip=24pt 50 | 51 | % Create cover page of dissertation ! 52 | \pagenumbering{roman} 53 | \thispagestyle{empty} 54 | \begin{center} 55 | \vspace*{.25in} 56 | {\bf\LARGE{Title of Dissertation\\ % put the title here! 57 | title continuing here}}\\ 58 | \vspace*{.75in} 59 | {\bf by} \\*[18pt] 60 | \vspace*{.6in} 61 | {\bf Firstname M. Lastname}\\ 62 | \vspace*{1.2in} 63 | {\bf A dissertation submitted to The Johns Hopkins University\\ 64 | in conformity with the requirements for the degree of\\ 65 | Doctor of Philosophy}\\ 66 | \vspace*{.75in} 67 | {\bf Baltimore, Maryland} \\ 68 | {\bf September, 1998} \\ % change it accordingly! 69 | \vspace*{.5in} 70 | \begin{small} 71 | {\bf Copyright 1998 by Your Name} \\ % change the year if needed! 72 | {\bf All rights reserved} 73 | \end{small} 74 | \end{center} 75 | 76 | \newpage 77 | \pagestyle{plain} 78 | \include{abstract} 79 | \include{acknowle} 80 | \baselineskip=24pt 81 | \tableofcontents 82 | % for the three lines below, change the page numbers if needed! 83 | \addtocontents{toc}{\contentsline {chapter}{Table of Contents}{vi}} 84 | \addtocontents{toc}{\contentsline {chapter}{List of Tables}{x}} 85 | \addtocontents{toc}{\contentsline {chapter}{List of Figures}{xii}} 86 | \listoftables 87 | \listoffigures 88 | 89 | %\newpage 90 | \chapter{Introduction}\label{chap1} 91 | \pagenumbering{arabic} 92 | \pagestyle{myheadings} 93 | \thispagestyle{myheadings} 94 | \input{chap1} 95 | 96 | \chapter{Name of Chapter Two}\label{chap2} 97 | \thispagestyle{myheadings} 98 | \input{chap2} 99 | 100 | \chapter{Name of Chapter Three}\label{chap3} 101 | \thispagestyle{myheadings} 102 | \input{chap3} 103 | 104 | \chapter{Name of Chapter Four}\label{chap4} 105 | \thispagestyle{myheadings} 106 | \input{chap4} 107 | 108 | \chapter{Name of Chapter Five}\label{chap5} 109 | \thispagestyle{myheadings} 110 | \input{chap5} 111 | 112 | \chapter{Name of Chapter Six}\label{chap6} 113 | \thispagestyle{myheadings} 114 | \input{chap6} 115 | 116 | \include{refer} % references 117 | \include{vitae} 118 | 119 | \end{document} 120 | 121 |  -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | JHU Unofficial Thesis Readme 2 | ============================ 3 | Author: R. Jacob Vogelstein
4 | Updated by Noah J. Cowan, March 1, 2010
5 | Updated by [Brian D. Weitzner](https://github.com/weitzner), April 29, 2014 as available at [GitHub](https://github.com/weitzner/jhu-thesis-template) and as an [Overleaf template](https://www.overleaf.com/latex/templates/johns-hopkins-phd-dissertation-template/jmdrczzbrhyx#.Vw7LVhMrL64) as uploaded by Karla Hernandez (see how to support PDF/A files at the end of this README)
6 | Updated by [John Muschelli](https://github.com/muschellij2), January 29, 2016 and now uses a makefile as available [here](https://github.com/muschellij2/PhD_Thesis)
7 | Updated by [Leonardo Collado Torres](https://github.com/lcolladotor) on April 13, 2016 as available at this [repo](https://github.com/weitzner/jhu-thesis-template) or as an [Overleaf template](https://www.overleaf.com/latex/templates/johns-hopkins-university-unofficial-thesis-template/tqdzgmrxgbtg#.Vw-NrRMrJuU) (The template is missing [this small change](https://github.com/lcolladotor/jhu-thesis-template/commit/37f7151d3bb0ac1c5a487e5788fe6071bffc7d8b)). 8 | 9 | This archive is intended to simplify the process of creating a thesis 10 | in LaTeX that complies with the JHU formatting requirements found [here](http://guides.library.jhu.edu/etd/formatting). 11 | 12 | # Makefile version 13 | 14 | Muschelli added a `makefile` and `Rnw` files to his thesis. Collado Torres simply took Muschelli's thesis, made it into a template and submitted it to Overleaf. The rest of the README is as-is from the time Weitzner modified. To use this version you will have to modify the `main.tex` file and add chapters as necessary. Then you will have to update the `makefile` with the names of the new chapters. 15 | 16 | If you want to reproduce the current `PhD_Thesis.pdf` file, simply run 17 | 18 | ```sh 19 | make 20 | ``` 21 | 22 | To clean the files that you won't need, run 23 | 24 | ```sh 25 | make clean 26 | ``` 27 | 28 | To open the PDF file run 29 | 30 | ```sh 31 | make open 32 | ``` 33 | 34 | Finally to start editing `main.tex` run 35 | 36 | ```sh 37 | make edit 38 | ``` 39 | 40 | The file `RJournal_nogeom.sty` is used to change the color of some links and other style changes. 41 | 42 | It might be best to simply clone this repository, start editing and committing your changes in case you want to rollback or remember why you changed something. 43 | 44 | If you want to check a complete PhD Thesis see [John Muschelli's](https://github.com/muschellij2/PhD_Thesis). It contains more `LaTeX` tricks that you might need to use. 45 | 46 | 47 | ## Use at Overleaf 48 | 49 | If you don't want to install `LaTeX` simply use [Overleaf](https://www.overleaf.com/) or [ShareLaTeX](https://www.sharelatex.com/). You won't need the `makefile` in that case. 50 | 51 | In particular, you might want to see this [read-only version at Overleaf](https://www.overleaf.com/read/tqdzgmrxgbtg). It doesn't have a `makefile` because they are currently not supported (see [this tweet](https://twitter.com/fellgernon/status/720360139233050624)). Also, the `Rnw` chapter is basically a regular chapter when using Overleaf since you have to create the `tex` file yourself using `knitr::knit()` and upload the resulting `tex` file and figures to Overleaf. 52 | 53 | To go ahead and use this template in Overleaf, go to the [Overleaf template](https://www.overleaf.com/latex/templates/johns-hopkins-university-unofficial-thesis-template/tqdzgmrxgbtg#.Vw-NrRMrJuU) and click on _open as template_. 54 | 55 | # Previous information 56 | 57 | The files described below are still available under the `unused_files` directory. Some of the previous information is still valid. You might be interested in using either the files last edited by [Brian D. Weitzner](https://github.com/weitzner) at [weitzner/jhu-thesis-template under commit d8ba0a](https://github.com/weitzner/jhu-thesis-template/tree/d8ba0a4c524a674258202b5338edd50249026443) or the original [JHU-Biostats template](http://www.biostat.jhsph.edu/research/thesis.shtml) included here as `unused_files/OLD_FORMAT.tex`. 58 | 59 | ## Quick Start 60 | 61 | 62 | 1. Install LaTeX and a decent editor (ideally emacs+AUCTeX+RefTeX) on 63 | your computer. 64 | 65 | 2. To compile the included sample document, type "latex root". If you want to test 66 | the references and everything, use the usual magic sequence of commands: 67 | 68 | ```sh 69 | pdflatex root 70 | bibtex root 71 | pdflatex root 72 | pdflatex root 73 | ``` 74 | Extra compiles may be needed for accurate TOC, List of Figures, etc. 75 | 76 | ## What's Included? 77 | 78 | 79 | * `thesis.cls` – The TeX class file that contains many of the formatting commands. 80 | 81 | * `jhu12.clo` – The 12pt font "class option" file that contains the specific formatting commands for a 12-point font JHU thesis document. 82 | 83 | * `IEEEtran.bst` – A recent version (as of May 2007) of the BibTeX style file for formatting citations in the style used by IEEE Transactions journals. 84 | 85 | * `thesis.bib` – A sample bibliography file in BibTeX format. 86 | 87 | * `root.tex` – The "root" LaTeX file that contains the LaTeX preamble as well as "include" statements for each of your thesis chapters. 88 | 89 | * `chapter0.tex` – A sample chapter with some formatting/header options. 90 | 91 | * `chapter1.tex` – Another sample chapter with some different formatting/header options. 92 | 93 | * `rjvheadshot.jpg` – A sample graphic with the right dimesions for the headshot used on the Vita page. 94 | 95 | * `root.pdf` – A compiled version of the sample document. 96 | 97 | * `jhu10.clo` – **USE AT YOUR OWN RISK** – An old version of a 10pt font "class option" file that DOES NOT FULLY COMPLY with the JHU thesis formatting requirements, but is better than nothing if you want to use a smaller font. 98 | 99 | * `jhu11.clo` – **USE AT YOUR OWN RISK** – An old version of an 11pt font "class option" file that DOES NOT FULLY COMPLY with the JHU thesis formatting requirements, but is better than nothing if you want to use a smaller font. 100 | 101 | ## Figures 102 | 103 | Figures should be generated as such: 104 | 105 | ```tex 106 | \begin{figure}[htbp] 107 | \centering 108 | \includegraphics[width=\columnwidth]{myfigure} 109 | \caption{My caption} 110 | \label{fig:myfig} 111 | \end{figure} 112 | ``` 113 | 114 | Where the figure `myfigure.EXT` can be located in the directory designated by the `\graphicspath` command in the `root.tex` file. 115 | 116 | Note that no file extension is given in the `includegraphicx` command; this makes the code maximally portable for different graphics drivers. For `pdflatex`, there are many allowable extensions, including `.pdf` and `.jpg` among others. For plain latex, you generally have to use `.eps` files. But, if you hard-code the extension in your LaTeX code, then you will not be able to switch between latex and `pdflatex`. 117 | 118 | ## Use at Overleaf 119 | 120 | The version by [Brian D. Weitzner](https://github.com/weitzner) is available as an Overleaf template that Karla Hernandez uploaded. View it [here](https://www.overleaf.com/latex/templates/johns-hopkins-phd-dissertation-template/jmdrczzbrhyx#.Vw7LVhMrL64). Note that it does not include support for PDF/A files as of the version available on April 13, 2016. However, you can add PDF/A file support by following the instructions available [here](https://www.overleaf.com/latex/examples/creating-pdf-slash-a-and-pdf-slash-x-files/bbbycnbyqhnm#.Vw6_XBMrLm1). 121 | 122 | -------------------------------------------------------------------------------- /main.tex: -------------------------------------------------------------------------------- 1 | % This template was originally by R. Jacob Vogelstein 2 | % Updated on March 1, 2010 by Noah J. Cowan 3 | % Updated on May 18, 2014 by Brian Weitzner at https://github.com/weitzner/jhu-thesis-template 4 | % Updated on January 29, 2016 by John Muschelli at https://github.com/muschellij2/PhD_Thesis 5 | % Updated on April 13, 2016 by Leonardo Collado Torres and available at https://github.com/lcolladotor/jhu-thesis-template. View (read-only) at Overleaf here https://www.overleaf.com/read/tqdzgmrxgbtg 6 | 7 | %% It's your responsability to make sure that your thesis complies with 8 | %% JHU's formatting rules available at http://guides.library.jhu.edu/etd/formatting 9 | 10 | \documentclass[12pt]{report} 11 | 12 | %% This was the setup recommended at https://github.com/weitzner/jhu-thesis-template 13 | % \documentclass[12pt,oneside,final]{thesis} 14 | 15 | \pdfminorversion=4\relax 16 | \pdfobjcompresslevel=0\relax 17 | %% Followed the information from https://www.overleaf.com/latex/examples/creating-pdf-slash-a-and-pdf-slash-x-files/bbbycnbyqhnm#.Vw6_XBMrLm1 to create a PDF/A file in Overleaf 18 | \usepackage[a-1b]{pdfx} % Need this to create a PDF/A file 19 | 20 | \usepackage{pdfpages} 21 | 22 | \pagestyle{myheadings} 23 | %\topmargin=0.25in 24 | \topmargin=0.05in 25 | \textheight=8.15in 26 | \textwidth=5.6in 27 | \oddsidemargin=0.7in 28 | \raggedbottom 29 | \newdimen \jot \jot=5mm 30 | \brokenpenalty=10000 31 | 32 | 33 | %\usepackage[utf8]{inputenc} % Seems to cause a conflict with fontenc and lmodern 34 | %\DeclareUnicodeCharacter{00A0}{ } 35 | \usepackage[T1]{fontenc} 36 | \usepackage{lmodern} % load a font with all the characters 37 | %\usepackage{hyperref} 38 | \usepackage{tocbibind} % need this to contents adding for TOC 39 | \usepackage{setspace} 40 | \setstretch{1.05} 41 | \usepackage{RJournal_nogeom} % Changes the colors of links among other things 42 | %\usepackage[all]{hypcap} 43 | \usepackage[hypcap=true]{caption} 44 | \hypersetup{linktocpage} 45 | \usepackage{amsmath,amssymb,array} 46 | \usepackage{booktabs} 47 | \usepackage{subfig} 48 | 49 | %% load any required packages here 50 | \usepackage{graphicx} 51 | \usepackage{float} 52 | \usepackage{tikz} 53 | \usepackage{graphics} 54 | \usetikzlibrary{positioning} 55 | \usetikzlibrary{shapes,arrows} 56 | \usepackage{dcolumn} 57 | % A math shortcut frequently used by John Muschelli 58 | \newcommand{\bbeta}{\mbox{\boldmath $\beta$}} 59 | 60 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 61 | % DOI from Segmentation 62 | % Don't use - needs hyperref 63 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 64 | %\makeatletter 65 | %\providecommand{\doi}[1]{% 66 | % \begingroup 67 | % \let\bibinfo\@secondoftwo 68 | % \urlstyle{rm}% 69 | % \href{http://dx.doi.org/#1}{% 70 | % doi:\discretionary{}{}{}% 71 | % \nolinkurl{#1}% 72 | % }% 73 | % \endgroup 74 | %} 75 | %\makeatother 76 | 77 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 78 | % StartKNITR STUFF -- added by John Muschelli 79 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 80 | \usepackage{color} 81 | %% maxwidth is the original width if it is less than linewidth 82 | %% otherwise use linewidth (to make sure the graphics do not exceed the margin) 83 | \makeatletter 84 | \def\maxwidth{ % 85 | \ifdim\Gin@nat@width>\linewidth 86 | \linewidth 87 | \else 88 | \Gin@nat@width 89 | \fi 90 | } 91 | \makeatother 92 | 93 | \definecolor{fgcolor}{rgb}{0.345, 0.345, 0.345} 94 | \newcommand{\hlnum}[1]{\textcolor[rgb]{0.686,0.059,0.569}{#1}}% 95 | \newcommand{\hlstr}[1]{\textcolor[rgb]{0.192,0.494,0.8}{#1}}% 96 | \newcommand{\hlcom}[1]{\textcolor[rgb]{0.678,0.584,0.686}{\textit{#1}}}% 97 | \newcommand{\hlopt}[1]{\textcolor[rgb]{0,0,0}{#1}}% 98 | \newcommand{\hlstd}[1]{\textcolor[rgb]{0.345,0.345,0.345}{#1}}% 99 | \newcommand{\hlkwa}[1]{\textcolor[rgb]{0.161,0.373,0.58}{\textbf{#1}}}% 100 | \newcommand{\hlkwb}[1]{\textcolor[rgb]{0.69,0.353,0.396}{#1}}%l 101 | \newcommand{\hlkwc}[1]{\textcolor[rgb]{0.333,0.667,0.333}{#1}}% 102 | \newcommand{\hlkwd}[1]{\textcolor[rgb]{0.737,0.353,0.396}{\textbf{#1}}}% 103 | 104 | \usepackage{framed} 105 | \makeatletter 106 | \newenvironment{kframe}{% 107 | \def\at@end@of@kframe{}% 108 | \ifinner\ifhmode% 109 | \def\at@end@of@kframe{\end{minipage}}% 110 | \begin{minipage}{\columnwidth}% 111 | \fi\fi% 112 | \def\FrameCommand##1{\hskip\@totalleftmargin \hskip-\fboxsep 113 | \colorbox{shadecolor}{##1}\hskip-\fboxsep 114 | % There is no \\@totalrightmargin, so: 115 | \hskip-\linewidth \hskip-\@totalleftmargin \hskip\columnwidth}% 116 | \MakeFramed {\advance\hsize-\width 117 | \@totalleftmargin\z@ \linewidth\hsize 118 | \@setminipage}}% 119 | {\par\unskip\endMakeFramed% 120 | \at@end@of@kframe} 121 | \makeatother 122 | 123 | \definecolor{shadecolor}{rgb}{.97, .97, .97} 124 | \definecolor{messagecolor}{rgb}{0, 0, 0} 125 | \definecolor{warningcolor}{rgb}{1, 0, 1} 126 | \definecolor{errorcolor}{rgb}{1, 0, 0} 127 | \newenvironment{knitrout}{}{} % an empty environment to be redefined in TeX 128 | \makeatletter 129 | \newcommand\gobblepars{% 130 | \@ifnextchar\par% 131 | {\expandafter\gobblepars\@gobble}% 132 | {}} 133 | \makeatother 134 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 135 | % End KNITR STUFF 136 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 137 | 138 | 139 | \usepackage[ 140 | style = authoryear, 141 | sorting = none, 142 | dashed = false, 143 | maxbibnames = 99, 144 | backend = bibtex, 145 | natbib = true 146 | ]{biblatex} 147 | 148 | % If you want to exclude some portions from the bibliography 149 | \AtEveryBibitem{ 150 | \clearfield{note} 151 | \clearfield{month} 152 | } 153 | 154 | 155 | \usepackage{enumerate} 156 | 157 | %\tolerance=10000 158 | 159 | %\makeglossary % enable the glossary 160 | \graphicspath{{rnw_chapter/figure/}{rnw_chapter/}} % change it accordingly! 161 | 162 | 163 | \setcounter{tocdepth}{4} 164 | \setcounter{secnumdepth}{4} 165 | \begin{document} 166 | 167 | \newcommand{\bm}[1]{ \mbox{\boldmath $ #1 $} } 168 | \newcommand{\bin}[2]{\left(\begin{array}{@{}c@{}} #1 \\ #2 169 | \end{array}\right) } 170 | \renewcommand{\contentsname}{Table of Contents} 171 | \baselineskip=24pt 172 | 173 | % Create cover page of dissertation ! 174 | \pagenumbering{roman} 175 | \thispagestyle{empty} 176 | \begin{center} 177 | \vspace*{.25in} 178 | {\bf\LARGE{ JHU Thesis Template title }}\\ % change it accordingly! 179 | \vspace*{.75in} 180 | {\bf by} \\*[18pt] 181 | \vspace*{.2in} 182 | {\bf Your Name}\\ % change it accordingly! 183 | \vspace*{1in} 184 | {\bf A dissertation submitted to The Johns Hopkins University\\ 185 | in conformity with the requirements for the degree of\\ 186 | Doctor of Philosophy }\\ 187 | \vspace*{.75in} 188 | {\bf Baltimore, Maryland} \\ 189 | {\bf June, 2016} \\ % change it accordingly! 190 | \vspace*{.5in} 191 | \begin{small} 192 | {\bf \copyright{ }2016 by Your Name} \\ % change the year if needed! 193 | {\bf All rights reserved} 194 | \end{small} 195 | \end{center} 196 | \newpage 197 | 198 | % Add acknowledgements 199 | \pagestyle{plain} 200 | \pagenumbering{roman} 201 | \setcounter{page}{2} 202 | \include{abstract/abstract} 203 | \include{committee/committee} 204 | \include{acknowledgments/acknowledgments} 205 | 206 | %\cleardoublepage 207 | %\newpage 208 | \pagestyle{plain} 209 | \baselineskip=24pt 210 | \tableofcontents 211 | % for the three lines below, change the page numbers if needed! 212 | %\addtocontents{toc}{\contentsline{chapter}{Table of Contents}{iii}} 213 | %\addtocontents{toc}{\protect\contentsline{chapter}{\protect\numberline{}Table of Contents}{iii}} 214 | %\addtocontents{toc}{\protect\contentsline{chapter}{\protect\numberline{}List of Tables}{iv}} 215 | %\addtocontents{toc}{\protect\contentsline{chapter}{\protect\numberline{}List of Figures}{v}} 216 | \listoftables 217 | \listoffigures 218 | 219 | \cleardoublepage % Needed because our intro chapter doesn't really have anything 220 | \pagenumbering{arabic} 221 | 222 | 223 | % add your chapters, best way is to have separate TeX files for each chapter 224 | %\include{chapter0} 225 | %\include{chapter1} 226 | 227 | %% The above was the recommended setup by https://github.com/weitzner/jhu-thesis-template but it's no longer needed 228 | %% after Muschelli's changes which stores different chapters in their 229 | %% respective directories. You will still need to add your chapters as 230 | %% TeX files or Rnw files (see rnw_chapter as an example) and please 231 | %% remember to update the makefile accordingly. 232 | 233 | \begin{refsection}[intro_chapter/intro_chapter.bib] 234 | \include{intro_chapter/intro_chapter} 235 | \cleardoublepage 236 | \printbibliography[title={References}] 237 | \end{refsection} 238 | 239 | %% If using Overleaf, you'll have to upload the resulting tex file & figures 240 | %% since Overleaf does not support Rnw files right now (April 13, 2016) 241 | \begin{refsection}[rnw_chapter/rnw_chapter.bib] 242 | \include{rnw_chapter/rnw_chapter} 243 | \cleardoublepage 244 | \printbibliography[title={References}] 245 | \end{refsection} 246 | 247 | \begin{refsection}[conclusion_chapter/conclusion_chapter.bib] 248 | \include{conclusion_chapter/conclusion_chapter} 249 | \cleardoublepage 250 | \printbibliography[title={References}] 251 | \end{refsection} 252 | 253 | 254 | % CV PDF file downloaded from the moderncv template available at Overleaf 255 | % https://www.overleaf.com/latex/templates/modern-cv-and-cover-letter-2015-version/sttkgjcysttn#.Vw6PFRMrL65 256 | \includepdf[pages={-}, pagecommand={\thispagestyle{plain}}]{moderncv-2015.pdf} 257 | 258 | 259 | \end{document} 260 | -------------------------------------------------------------------------------- /RJournal_nogeom.sty: -------------------------------------------------------------------------------- 1 | % Package `RJournal' to use with LaTeX2e 2 | % Copyright (C) 2010 by the R Foundation 3 | % Copyright (C) 2013 by the R Journal 4 | % 5 | % Originally written by Kurt Hornik and Friedrich Leisch with subsequent 6 | % edits by the editorial board 7 | 8 | \NeedsTeXFormat{LaTeX2e}[1995/12/01] 9 | \ProvidesPackage{RJournal_nogeom}[2013/08/27 v0.13 RJournal_geom package] 10 | 11 | \RequirePackage{tikz} 12 | 13 | % Overall page layout, fonts etc ----------------------------------------------- 14 | 15 | % Issues of of \emph{The R Journal} are created from the standard \LaTeX{} 16 | % document class \pkg{report}. 17 | 18 | %\RequirePackage{geometry} 19 | %\geometry{a4paper, 20 | % textwidth=14cm, top=1cm, bottom=1cm, 21 | % includehead,includefoot,centering, 22 | % footskip=1.5cm} 23 | %\raggedbottom 24 | % 25 | %\RequirePackage{fancyhdr} 26 | %\fancyhead{} 27 | %\fancyheadoffset{2cm} 28 | %\fancyhead[L]{\textsc{\RJ@sectionhead}} 29 | %\fancyhead[R]{\thepage} 30 | %\fancyfoot{} 31 | %\fancyfoot[L]{The R Journal Vol. \RJ@volume/\RJ@number, \RJ@month} 32 | %\fancyfoot[R]{ISSN 2073-4859} 33 | %\pagestyle{fancy} 34 | 35 | % We use the following fonts (all with T1 encoding): 36 | % 37 | % rm & palatino 38 | % tt & inconsolata 39 | % sf & helvetica 40 | % math & palatino 41 | 42 | \RequirePackage{microtype} 43 | 44 | \RequirePackage[scaled=0.92]{helvet} 45 | \RequirePackage{palatino,mathpazo} 46 | \RequirePackage[scaled=1.02]{inconsolata} 47 | \RequirePackage[T1]{fontenc} 48 | 49 | %\RequirePackage[hyphens]{url} 50 | \RequirePackage[pdfa]{hyperref} 51 | 52 | % Dark blue colour for all links 53 | \RequirePackage{color} 54 | \definecolor{link}{rgb}{0.45,0.51,0.67} 55 | \hypersetup{ 56 | unicode, 57 | colorlinks=true,% 58 | citecolor=link,% 59 | filecolor=link,% 60 | linkcolor=link,% 61 | urlcolor=link 62 | } 63 | 64 | % Give the text a little room to breath 65 | \setlength{\parskip}{3pt} 66 | \RequirePackage{setspace} 67 | \setstretch{1.05} 68 | 69 | % Issue and article metadata --------------------------------------------------- 70 | 71 | % Basic front matter information about the issue: volume, number, and 72 | % date. 73 | 74 | %\newcommand{\volume}[1]{\def\RJ@volume{#1}} 75 | %\newcommand{\volnumber}[1]{\def\RJ@number{#1}} 76 | %\renewcommand{\month}[1]{\def\RJ@month{#1}} 77 | %\renewcommand{\year}[1]{\def\RJ@year{#1}} 78 | 79 | 80 | % Individual articles correspond to 81 | % chapters, and are contained in |article| environments. This makes it 82 | % easy to have figures counted within articles and hence hyperlinked 83 | % correctly. 84 | 85 | % An article has an author, a title, and optionally a subtitle. We use 86 | % the obvious commands for specifying these. Articles will be put in certain 87 | % journal sections, named by \sectionhead. 88 | 89 | %\newcommand {\sectionhead} [1]{\def\RJ@sectionhead{#1}} 90 | %\renewcommand{\author} [1]{\def\RJ@author{#1}} 91 | %\renewcommand{\title} [1]{\def\RJ@title{#1}} 92 | %\newcommand {\subtitle} [1]{\def\RJ@subtitle{#1}} 93 | 94 | % Control appearance of titles: make slightly smaller than usual, and 95 | % suppress section numbering. See http://tex.stackexchange.com/questions/69749 96 | % for why we don't use \setcounter{secnumdepth}{-1} 97 | 98 | %\usepackage[medium]{titlesec} 99 | %\usepackage{titletoc} 100 | %\titleformat{\section} {\normalfont\large\bfseries}{}{0em}{} 101 | %\titleformat{\subsection}{\normalfont\normalsize\bfseries}{}{0em}{} 102 | %\titlecontents{chapter} [0em]{}{}{}{\titlerule*[1em]{.}\contentspage} 103 | 104 | % Article layout --------------------------------------------------------------- 105 | 106 | % Environment |article| clears the article header information at its beginning. 107 | % We use |\FloatBarrier| from the placeins package to keep floats within 108 | % the article. 109 | %\RequirePackage{placeins} 110 | %\newenvironment{article}{\author{}\title{}\subtitle{}\FloatBarrier}{\FloatBarrier} 111 | % 112 | %% Refereed articles should have an abstract, so we redefine |\abstract| to 113 | %% give the desired style 114 | % 115 | %\renewcommand{\abstract}[1]{% 116 | %\setstretch{1}% 117 | %\noindent% 118 | %\small% 119 | %\textbf{Abstract} #1 120 | %} 121 | 122 | % The real work is done by a redefined version of |\maketitle|. Note 123 | % that even though we do not want chapters (articles) numbered, we 124 | % need to increment the chapter counter, so that figures get correct 125 | % labelling. 126 | % 127 | %\renewcommand{\maketitle}{% 128 | %\noindent 129 | % \chapter{\RJ@title}\refstepcounter{chapter} 130 | % \ifx\empty\RJ@subtitle 131 | % \else 132 | % \noindent\textbf{\RJ@subtitle} 133 | % \par\nobreak\addvspace{\baselineskip} 134 | % \fi 135 | % \ifx\empty\RJ@author 136 | % \else 137 | % \noindent\textit{\RJ@author} 138 | % \par\nobreak\addvspace{\baselineskip} 139 | % \fi 140 | % \@afterindentfalse\@nobreaktrue\@afterheading 141 | %} 142 | 143 | % Now for some ugly redefinitions. We do not want articles to start a 144 | % new page. (Actually, we do, but this is handled via explicit 145 | % \newpage 146 | % 147 | % The name@of@eq is a hack to get hyperlinks to equations to work 148 | % within each article, even though there may be multiple eq.(1) 149 | % \begin{macrocode} 150 | %\renewcommand\chapter{\secdef\RJ@chapter\@schapter} 151 | %\providecommand{\nohyphens}{% 152 | % \hyphenpenalty=10000\exhyphenpenalty=10000\relax} 153 | %\newcommand{\RJ@chapter}{% 154 | % \edef\name@of@eq{equation.\@arabic{\c@chapter}}% 155 | % \renewcommand{\@seccntformat}[1]{}% 156 | % \@startsection{chapter}{0}{0mm}{% 157 | % -2\baselineskip \@plus -\baselineskip \@minus -.2ex}{\p@}{% 158 | % \phantomsection\normalfont\huge\bfseries\raggedright}} 159 | 160 | % Book reviews should appear as sections in the text and in the pdf bookmarks, 161 | % however we wish them to appear as chapters in the TOC. Thus we define an 162 | % alternative to |\maketitle| for reviews. 163 | %\newcommand{\review}[1]{ 164 | % \pdfbookmark[1]{#1}{#1} 165 | % \section*{#1} 166 | % \addtocontents{toc}{\protect\contentsline{chapter}{#1}{\thepage}{#1.1}} 167 | %} 168 | 169 | % We want bibliographies as starred sections within articles. 170 | % 171 | %\RequirePackage[sectionbib,round]{natbib} 172 | %\bibliographystyle{abbrvnat} 173 | 174 | % Equations, figures and tables are counted within articles, but we do 175 | % not show the article number. For equations it becomes a bit messy to avoid 176 | % having hyperref getting it wrong. 177 | 178 | % \numberwithin{equation}{chapter} 179 | %\renewcommand{\theequation}{\@arabic\c@equation} 180 | %\renewcommand{\thefigure}{\@arabic\c@figure} 181 | %\renewcommand{\thetable}{\@arabic\c@table} 182 | 183 | % Issue layout ----------------------------------------------------------------- 184 | 185 | % Need to provide our own version of |\tableofcontents|. We use the 186 | % tikz package to get the rounded rectangle. Notice that |\section*| 187 | % is really the same as |\chapter*|. 188 | %\renewcommand{\contentsname}{Contents} 189 | %\renewcommand\tableofcontents{% 190 | % \vspace{1cm} 191 | % \section*{\contentsname} 192 | % { \@starttoc{toc} } 193 | %} 194 | % 195 | %\renewcommand{\titlepage}{% 196 | % \thispagestyle{empty} 197 | % \hypersetup{ 198 | % pdftitle={The R Journal Volume \RJ@volume/\RJ@number, \RJ@month \RJ@year},% 199 | % pdfauthor={R Foundation for Statistical Computing},% 200 | % } 201 | % \noindent 202 | % \begin{center} 203 | % \fontsize{50pt}{50pt}\selectfont 204 | % The \raisebox{-8pt}{\includegraphics[height=77pt]{Rlogo-4}}\hspace{10pt} 205 | % Journal 206 | % 207 | % \end{center} 208 | % {\large \hfill Volume \RJ@volume/\RJ@number, \RJ@month{} \RJ@year \quad} 209 | % 210 | % \rule{\textwidth}{1pt} 211 | % \begin{center} 212 | % {\Large A peer-reviewed, open-access publication of the \\ 213 | % R Foundation for Statistical Computing} 214 | % \end{center} 215 | % 216 | % % And finally, put in the TOC box. Note the way |tocdepth| is adjusted 217 | % % before and after producing the TOC: thus, we can ensure that only 218 | % % articles show up in the printed TOC, but that in the PDF version, 219 | % % bookmarks are created for sections and subsections as well (provided 220 | % % that the non-starred forms are used). 221 | % \setcounter{tocdepth}{0} 222 | % \tableofcontents 223 | % \setcounter{tocdepth}{2} 224 | % \clearpage 225 | %} 226 | 227 | % Text formatting -------------------------------------------------------------- 228 | 229 | \newcommand{\R}{R} 230 | \newcommand{\address}[1]{\addvspace{\baselineskip}\noindent\emph{#1}} 231 | \newcommand{\email}[1]{\href{mailto:#1}{\normalfont\texttt{#1}}} 232 | 233 | % Simple font selection is not good enough. For example, |\texttt{--}| 234 | % gives `\texttt{--}', i.e., an endash in typewriter font. Hence, we 235 | % need to turn off ligatures, which currently only happens for commands 236 | % |\code| and |\samp| and the ones derived from them. Hyphenation is 237 | % another issue; it should really be turned off inside |\samp|. And 238 | % most importantly, \LaTeX{} special characters are a nightmare. E.g., 239 | % one needs |\~{}| to produce a tilde in a file name marked by |\file|. 240 | % Perhaps a few years ago, most users would have agreed that this may be 241 | % unfortunate but should not be changed to ensure consistency. But with 242 | % the advent of the WWW and the need for getting `|~|' and `|#|' into 243 | % URLs, commands which only treat the escape and grouping characters 244 | % specially have gained acceptance 245 | 246 | \DeclareRobustCommand\code{\bgroup\@noligs\@codex} 247 | \def\@codex#1{\texorpdfstring% 248 | {{\normalfont\ttfamily\hyphenchar\font=-1 #1}}% 249 | {#1}\egroup} 250 | \newcommand{\kbd}[1]{{\normalfont\texttt{#1}}} 251 | \newcommand{\key}[1]{{\normalfont\texttt{\uppercase{#1}}}} 252 | \DeclareRobustCommand\samp{`\bgroup\@noligs\@sampx} 253 | \def\@sampx#1{{\normalfont\texttt{#1}}\egroup'} 254 | \newcommand{\var}[1]{{\normalfont\textsl{#1}}} 255 | \let\env=\code 256 | \newcommand{\file}[1]{{`\normalfont\textsf{#1}'}} 257 | \let\command=\code 258 | \let\option=\samp 259 | \newcommand{\dfn}[1]{{\normalfont\textsl{#1}}} 260 | % \acronym is effectively disabled since not used consistently 261 | \newcommand{\acronym}[1]{#1} 262 | \newcommand{\strong}[1]{\texorpdfstring% 263 | {{\normalfont\fontseries{b}\selectfont #1}}% 264 | {#1}} 265 | \let\pkg=\strong 266 | \newcommand{\CRANpkg}[1]{\href{http://CRAN.R-project.org/package=#1}{\pkg{#1}}}% 267 | \let\cpkg=\CRANpkg 268 | \newcommand{\ctv}[1]{\href{http://CRAN.R-project.org/view=#1}{\emph{#1}}} 269 | \newcommand{\BIOpkg}[1]{\href{http://www.bioconductor.org/packages/release/bioc/html/#1.html}{\pkg{#1}}} 270 | 271 | % Example environments --------------------------------------------------------- 272 | \RequirePackage{fancyvrb} 273 | \RequirePackage{alltt} 274 | 275 | \DefineVerbatimEnvironment{example}{Verbatim}{} 276 | \renewenvironment{example*}{\begin{alltt}}{\end{alltt}} 277 | 278 | % Support for output from Sweave, and generic session style code 279 | % These used to have fontshape=sl for Sinput/Scode/Sin, but pslatex 280 | % won't use a condensed font in that case. 281 | 282 | \DefineVerbatimEnvironment{Sinput}{Verbatim}{fontsize=\small} 283 | \DefineVerbatimEnvironment{Soutput}{Verbatim}{fontsize=\small} 284 | \DefineVerbatimEnvironment{Scode}{Verbatim}{fontsize=\small} 285 | \DefineVerbatimEnvironment{Sin}{Verbatim}{fontsize=\small} 286 | \DefineVerbatimEnvironment{Sout}{Verbatim}{fontsize=\small} 287 | \newenvironment{Schunk}{}{} 288 | 289 | % Mathematics ------------------------------------------------------------------ 290 | 291 | % The implementation of |\operatorname| is similar to the mechanism 292 | % \LaTeXe{} uses for functions like sin and cos, and simpler than the 293 | % one of \AmSLaTeX{}. We use |\providecommand| for the definition in 294 | % order to keep the one of the \pkg{amstex} if this package has 295 | % already been loaded. 296 | % \begin{macrocode} 297 | \providecommand{\operatorname}[1]{% 298 | \mathop{\operator@font#1}\nolimits} 299 | \RequirePackage{amsfonts} 300 | 301 | \renewcommand{\P}{% 302 | \mathop{\operator@font I\hspace{-1.5pt}P\hspace{.13pt}}} 303 | \newcommand{\E}{% 304 | \mathop{\operator@font I\hspace{-1.5pt}E\hspace{.13pt}}} 305 | \newcommand{\VAR}{\operatorname{var}} 306 | \newcommand{\COV}{\operatorname{cov}} 307 | \newcommand{\COR}{\operatorname{cor}} 308 | 309 | % Figures ---------------------------------------------------------------------- 310 | 311 | \RequirePackage[font=small,labelfont=bf]{caption} 312 | 313 | % Wide environments for figures and tables ------------------------------------- 314 | \RequirePackage{environ} 315 | 316 | % An easy way to make a figure span the full width of the page 317 | \NewEnviron{widefigure}[1][]{ 318 | \begin{figure}[#1] 319 | \advance\leftskip-2cm 320 | \begin{minipage}{\dimexpr\textwidth+4cm\relax}% 321 | \captionsetup{margin=2cm} 322 | \BODY 323 | \end{minipage}% 324 | \end{figure} 325 | } 326 | 327 | \NewEnviron{widetable}[1][]{ 328 | \begin{table}[#1] 329 | \advance\leftskip-2cm 330 | \begin{minipage}{\dimexpr\textwidth+4cm\relax}% 331 | \captionsetup{margin=2cm} 332 | \BODY 333 | \end{minipage}% 334 | \end{table} 335 | } 336 | -------------------------------------------------------------------------------- /unused_files/jhu10.clo: -------------------------------------------------------------------------------- 1 | % JHUTHESIS DOCUMENT CLASS OPTION-- jhu10.clo 03/19/1999 2 | % for LaTeX version 2e 3 | 4 | % **************************************** 5 | % * FONTS * 6 | % **************************************** 7 | % 8 | 9 | \lineskip 1pt % \lineskip is 1pt for all font sizes. 10 | \normallineskip 1pt 11 | % 11 Nov 2005, M. Clapp: 12 | % changed \baselinestretch from 1.37 to 2, to conform to JHU thesis style 13 | % which requires double-spacing 14 | \def\baselinestretch{2} 15 | 16 | % All of the font selection commands have been revised to conform with the 17 | % LaTeX2e font selection commands (BBF 10/31/94). 18 | % 19 | % Each size-changing command \SIZE executes the command 20 | % \fontsize\@FONTSIZE{BASELINESKIP}\selectfont 21 | % where: 22 | % \@FONTSIZE = Name of font-size command. The currently available 23 | % (preloaded) font sizes are: \@vpt (5pt), \@vipt (6pt), 24 | % \@viipt (etc.), \@viiipt, \@ixpt, \@xpt, \@xipt, \@xiipt, 25 | % \@xivpt, \@xviipt, \@xxpt, \@xxvpt. These are defined 26 | % in ltfss.dtx. 27 | % 28 | % BASELINESKIP = Normal value of \baselineskip for that size. (Actual 29 | % value will be \baselinestretch * BASELINESKIP.) 30 | % 31 | % For reasons of efficiency that needn't concern the designer, the 32 | % document style defines \@normalsize instead of \normalsize . This 33 | % is done only for \normalsize, not for any other size-changing 34 | % commands. 35 | 36 | \renewcommand{\normalsize}{\fontsize\@xpt{12}\selectfont% 37 | \abovedisplayskip 10\p@ plus2\p@ minus5\p@ 38 | \belowdisplayskip \abovedisplayskip 39 | \abovedisplayshortskip \z@ plus3\p@ 40 | \belowdisplayshortskip 6\p@ plus3\p@ minus3\p@ 41 | \let\@listi\@listI} % Setting of \@listi added 9 Jun 87 42 | 43 | \newcommand{\small}{\fontsize\@ixpt{11}\selectfont% 44 | \abovedisplayskip 8.5\p@ plus3\p@ minus4\p@ 45 | \belowdisplayskip \abovedisplayskip 46 | \abovedisplayshortskip \z@ plus2\p@ 47 | \belowdisplayshortskip 4\p@ plus2\p@ minus2\p@ 48 | \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87 49 | \topsep 4\p@ plus2\p@ minus2\p@\parsep 2\p@ plus\p@ minus\p@ 50 | \itemsep \parsep}} 51 | 52 | \newcommand{\footnotesize}{\fontsize\@viiipt{9.5}\selectfont% 53 | \abovedisplayskip 6\p@ plus2\p@ minus4\p@ 54 | \belowdisplayskip \abovedisplayskip 55 | \abovedisplayshortskip \z@ plus\p@ 56 | \belowdisplayshortskip 3\p@ plus\p@ minus2\p@ 57 | \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87 58 | \topsep 3\p@ plus\p@ minus\p@\parsep 2\p@ plus\p@ minus\p@ 59 | \itemsep \parsep}} 60 | 61 | \newcommand{\scriptsize}{\fontsize\@viipt{8pt}\selectfont} 62 | \newcommand{\tiny}{\fontsize\@vpt{6pt}\selectfont} 63 | \newcommand{\large}{\fontsize\@xiipt{14pt}\selectfont} 64 | \newcommand{\Large}{\fontsize\@xivpt{18pt}\selectfont} 65 | \newcommand{\LARGE}{\fontsize\@xviipt{22pt}\selectfont} 66 | \newcommand{\huge}{\fontsize\@xxpt{25pt}\selectfont} 67 | \newcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont} 68 | 69 | % The shortform font selection commands are not defined in LaTeX2e. This 70 | % defines them so that they do non-orthogonal font selection, which is 71 | % useful if you are in the middle of converting a document from 2.09. 72 | % These commands are no longer used internally in this class. (BBF 10/31/94) 73 | 74 | \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} 75 | \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} 76 | \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} 77 | \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} 78 | \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} 79 | \newcommand{\sl}{\slshape} 80 | \newcommand{\sc}{\scshape} 81 | 82 | \normalsize % Choose the normalsize font. 83 | 84 | % **************************************** 85 | % * PAGE LAYOUT * 86 | % **************************************** 87 | % 88 | % All margin dimensions measured from a point one inch from top and side 89 | % of page. 90 | 91 | %% UCTHESIS style is not intended to be used two-sided because the 92 | %% University of California style requirements explicitly specify 93 | %% single-sided printing. So the two-sided settings are meaningless. 94 | 95 | % SIDE MARGINS: 96 | \if@twoside % Values for two-sided printing: 97 | \oddsidemargin 0.5in % Left margin on odd-numbered pages. 98 | \evensidemargin 0.0in % Left margin on even-numbered pages. 99 | \marginparwidth 0pt % Width of marginal notes. 100 | \else % Values for one-sided printing: 101 | \oddsidemargin 0.5in % Note that \oddsidemargin = \evensidemargin 102 | \evensidemargin 0.5in 103 | \marginparwidth 0pt 104 | \fi 105 | \marginparsep 11pt % Horizontal space between outer margin and 106 | % marginal note 107 | 108 | 109 | % VERTICAL SPACING: 110 | % Top of page: 111 | \topmargin 0.0in % Nominal distance from top of page to top 112 | % of box containing running head. 113 | \headheight 12pt % Height of box containing running head. 114 | \headsep 25pt % Space between running head and text. 115 | \topskip = 10pt % '\baselineskip' for first line of page. 116 | % Bottom of page: 117 | \footskip 30pt % Distance from baseline of box containing 118 | % foot to baseline of last line of text. 119 | 120 | 121 | % DIMENSION OF TEXT: 122 | % 24 Jun 86: changed to explicitly compute \textheight to avoid 123 | % roundoff. The value of the multiplier was calculated as the floor 124 | % of the old \textheight minus \topskip, divided by \baselineskip for 125 | % \normalsize. The old value of \textheight was 528pt. \textheight 126 | % is the height of text (including footnotes and figures, excluding 127 | % running head and foot). 128 | % 11 Nov 2005, M. Clapp: 129 | % changed from '37\baselineskip' which was for \baselineskip=1.37 130 | % to '25.35\baselineskip' for \baselineskip=2.0 131 | \textheight = 25.35\baselineskip 132 | \advance\textheight by \topskip 133 | \textwidth 6.0truein % Width of text line. 134 | % For two-column mode: 135 | \columnsep 10pt % Space between columns 136 | \columnseprule 0pt % Width of rule between columns. 137 | 138 | % A \raggedbottom command causes 'ragged bottom' pages: pages set to 139 | % natural height instead of being stretched to exactly \textheight. 140 | 141 | % FOOTNOTES: 142 | 143 | \footnotesep 6.65pt % Height of strut placed at the beginning of every 144 | % footnote = height of normal \footnotesize strut, 145 | % so no extra space between footnotes. 146 | 147 | \skip\footins 9pt plus 4pt minus 2pt % Space between last line of text 148 | % and top of first footnote. 149 | 150 | % FLOATS: (a float is something like a figure or table) 151 | % 152 | % FOR FLOATS ON A TEXT PAGE: 153 | % 154 | % ONE-COLUMN MODE OR SINGLE-COLUMN FLOATS IN TWO-COLUMN MODE: 155 | \floatsep 12pt plus 2pt minus 2pt % Space between adjacent floats 156 | % moved to top or bottom of 157 | % text page. 158 | \textfloatsep 20pt plus 2pt minus 4pt % Space between main text and 159 | % floats at top or bottom of 160 | % page. 161 | \intextsep 12pt plus 2pt minus 2pt % Space between in-text figures 162 | % and text. 163 | % TWO-COLUMN FLOATS IN TWO-COLUMN MODE: 164 | \dblfloatsep 12pt plus 2pt minus 2pt % Same as \floatsep for 165 | % double-column figures in 166 | % two-column mode. 167 | \dbltextfloatsep 20pt plus 2pt minus 4pt % \textfloatsep for 168 | % double-column floats. 169 | 170 | % FOR FLOATS ON A SEPARATE FLOAT PAGE OR COLUMN: 171 | % ONE-COLUMN MODE OR SINGLE-COLUMN FLOATS IN TWO-COLUMN MODE: 172 | \@fptop 0pt plus 1fil % Stretch at top of float page/column. (Must 173 | % be 0pt plus ...) 174 | \@fpsep 8pt plus 2fil % Space between floats on float page/column. 175 | \@fpbot 0pt plus 1fil % Stretch at bottom of float page/column. (Must 176 | % be 0pt plus ... ) 177 | 178 | % DOUBLE-COLUMN FLOATS IN TWO-COLUMN MODE. 179 | \@dblfptop 0pt plus 1fil % Stretch at top of float page. (Must be 0pt 180 | % plus ...) 181 | \@dblfpsep 8pt plus 2fil % Space between floats on float page. 182 | \@dblfpbot 0pt plus 1fil % Stretch at bottom of float page. (Must be 183 | % 0pt plus ... ) 184 | % MARGINAL NOTES: 185 | % 186 | \marginparpush 5pt % Minimum vertical separation between two 187 | % marginal notes. 188 | 189 | 190 | % **************************************** 191 | % * PARAGRAPHING * 192 | % **************************************** 193 | % 194 | \parskip 0pt plus 1pt % Extra vertical space between 195 | % paragraphs. 196 | \parindent 4em % Width of paragraph indentation. 197 | %\topsep 8pt plus 2pt minus 4pt % Extra vertical space, in addition 198 | % to \parskip, added above and below 199 | % list and paragraphing environments. 200 | \partopsep 2pt plus 1pt minus 1pt % Extra vertical space, in addition 201 | % to \parskip and \topsep, added when 202 | % user leaves blank line before 203 | % environment. 204 | %\itemsep 4pt plus 2pt minus 1pt % Extra vertical space, in addition 205 | % to \parskip, added between list 206 | % items. 207 | % See \@listI for values of \topsep and \itemsep 208 | % (Change made 9 Jun 87) 209 | 210 | % The following page-breaking penalties are defined 211 | 212 | \@lowpenalty 51 % Produced by \nopagebreak[1] or \nolinebreak[1] 213 | \@medpenalty 151 % Produced by \nopagebreak[2] or \nolinebreak[2] 214 | \@highpenalty 301 % Produced by \nopagebreak[3] or \nolinebreak[3] 215 | 216 | \@beginparpenalty -\@lowpenalty % Before a list or paragraph 217 | % environment. 218 | \@endparpenalty -\@lowpenalty % After a list or paragraph 219 | % environment. 220 | \@itempenalty -\@lowpenalty % Between list items. 221 | 222 | % \clubpenalty % 'Club line' at bottom of page. 223 | % \widowpenalty % 'Widow line' at top of page. 224 | % \displaywidowpenalty % Math display widow line. 225 | % \predisplaypenalty % Breaking before a math display. 226 | % \postdisplaypenalty % Breaking after a math display. 227 | % \interlinepenalty % Breaking at a line within a paragraph. 228 | % \brokenpenalty % Breaking after a hyphenated line. 229 | 230 | 231 | % **************************************** 232 | % * CHAPTERS AND SECTIONS * 233 | % **************************************** 234 | % 235 | % 236 | 237 | % Definition of \part moved to report.doc on 19 Jan 88 238 | 239 | % \@makechapterhead {TEXT} : Makes the heading for the \chapter command. 240 | % 241 | 242 | \def\@makechapterhead#1{% % Heading for \chapter command 243 | \vspace*{50\p@}% % Space at top of text page. 244 | {\parindent \z@\raggedright 245 | \ifnum \c@secnumdepth >\m@ne % IF secnumdepth > -1 THEN 246 | \huge\bfseries \@chapapp{} \thechapter % Print '\chaptername' and number. 247 | \par 248 | \vskip 20\p@ \fi % Space between number and title. 249 | \Huge \bfseries % Title. 250 | #1\par 251 | \nobreak % TeX penalty to prevent page break. 252 | \vskip 40\p@ % Space between title and text. 253 | }} 254 | 255 | % \@makeschapterhead {TEXT} : Makes the heading for the \chapter* 256 | % command. 257 | % 258 | 259 | \def\@makeschapterhead#1{% % Heading for \chapter* command 260 | \vspace*{50\p@}% % Space at top of page. 261 | {\parindent \z@ \raggedright 262 | \Huge \bfseries % Title. 263 | #1\par 264 | \nobreak % TeX penalty to prevent page break. 265 | \vskip 40\p@ % Space between title and text. 266 | }} 267 | 268 | % \secdef{UNSTARCMDS}{STARCMDS} : 269 | % When defining a \chapter or \section command without using 270 | % \@startsection, you can use \secdef as follows: 271 | % \def\chapter { ... \secdef \CMDA \CMDB } 272 | % \def\CMDA [#1]#2{ ... } % Command to define 273 | % % \chapter[...]{...} 274 | % \def\CMDB #1{ ... } % Command to define 275 | % % \chapter*{...} 276 | 277 | \def\chapter{\clearpage % Starts new page. 278 | \thispagestyle{botcenter} % Page style of chapter page is 'botcenter' 279 | \global\@topnum\z@ % Prevents figures from going 280 | % at top of page. 281 | \@afterindenttrue % Suppresses indent in first paragraph. 282 | \secdef\@chapter\@schapter} % Change to \@afterindentfase for no indent. 283 | 284 | \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne 285 | \refstepcounter{chapter}% 286 | \typeout{\@chapapp\space\thechapter.}% 287 | \addcontentsline{toc}{chapter}{\protect 288 | \numberline{\thechapter}#1}\else 289 | \addcontentsline{toc}{chapter}{#1}\fi 290 | \chaptermark{#1}% 291 | \addtocontents{lof}% 292 | {\protect\addvspace{10\p@}} % Adds between-chapter space 293 | \addtocontents{lot}% 294 | {\protect\addvspace{10\p@}} % to lists of figs & tables. 295 | \if@twocolumn % Tests for two-column mode. 296 | \@topnewpage[\@makechapterhead{#2}]% 297 | \else \@makechapterhead{#2}% 298 | \@afterheading % Routine called after chapter and 299 | \fi} % section heading. 300 | 301 | \def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]% 302 | \else \@makeschapterhead{#1}% 303 | \@afterheading\fi} 304 | 305 | % \@startsection {NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE} 306 | % optional * [ALTHEADING]{HEADING} 307 | % Generic command to start a section. 308 | % NAME : e.g., 'subsection' 309 | % LEVEL : a number, denoting depth of section -- e.g., 310 | % chapter=1, section = 2, etc. A section number will be 311 | % printed if and only if LEVEL < or = the value of the 312 | % secnumdepth counter. 313 | % INDENT : Indentation of heading from left margin 314 | % BEFORESKIP : Absolute value = skip to leave above the heading. 315 | % If negative, then paragraph indent of text following 316 | % heading is suppressed. 317 | % AFTERSKIP : if positive, then skip to leave below heading, 318 | % else - skip to leave to right of run-in heading. 319 | % STYLE : commands to set style 320 | % If '*' missing, then increments the counter. If it is present, then 321 | % there should be no [ALTHEADING] argument. A sectioning command 322 | % is normally defined to \@startsection + its first six arguments. 323 | 324 | \def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus 325 | -.2ex}{2.3ex plus.2ex}{\reset@font\Large\bfseries}} 326 | \def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus-1ex 327 | minus-.2ex}{1.5ex plus.2ex}{\reset@font\large\bfseries}} 328 | \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus 329 | -1ex minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize\bfseries}} 330 | \def\paragraph{\@startsection 331 | {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}{\reset@font 332 | \normalsize \bfseries}} 333 | \def\subparagraph{\@startsection 334 | {subparagraph}{4}{\parindent}{3.25ex plus1ex minus 335 | .2ex}{-1em}{\reset@font\normalsize\bfseries}} 336 | 337 | 338 | % Default initializations of \...mark commands. (See below for their 339 | % us in defining page styles. 340 | % 341 | 342 | \def\chaptermark#1{} 343 | % \def\sectionmark#1{} % Preloaded definitions 344 | % \def\subsectionmark#1{} 345 | % \def\subsubsectionmark#1{} 346 | % \def\paragraphmark#1{} 347 | % \def\subparagraphmark#1{} 348 | 349 | % The value of the counter secnumdepth gives the depth of the 350 | % highest-level sectioning command that is to produce section numbers. 351 | % 352 | 353 | \setcounter{secnumdepth}{2} 354 | 355 | % APPENDIX 356 | % 357 | % The \appendix command must do the following: 358 | % -- reset the chapter counter to zero 359 | % -- set \@chapapp to Appendix (for messages) 360 | % -- redefine the chapter counter to produce appendix numbers 361 | % -- reset the section counter to zero 362 | % -- redefine the \chapter command if appendix titles and headings 363 | % are to look different from chapter titles and headings. 364 | 365 | \def\appendix{\par 366 | \setcounter{chapter}{0}% 367 | \setcounter{section}{0}% 368 | \def\@chapapp{\appendixname}% 369 | \def\thechapter{\Alph{chapter}}} 370 | 371 | 372 | % **************************************** 373 | % * LISTS * 374 | % **************************************** 375 | % 376 | 377 | % The following commands are used to set the default values for the list 378 | % environment's parameters. See the LaTeX manual for an explanation of 379 | % the meanings of the parameters. Defaults for the list environment are 380 | % set as follows. First, \rightmargin, \listparindent and \itemindent 381 | % are set to 0pt. Then, for a Kth level list, the command \@listK is 382 | % called, where 'K' denotes 'i', 'ii', ... , 'vi'. (I.e., \@listiii is 383 | % called for a third-level list.) By convention, \@listK should set 384 | % \leftmargin to \leftmarginK. 385 | % 386 | % For efficiency, level-one list's values are defined at top level, and 387 | % \@listi is defined to set only \leftmargin. 388 | 389 | \leftmargini 25pt 390 | \leftmarginii 22pt % > \labelsep + width of '(m)' 391 | \leftmarginiii 18.7pt % > \labelsep + width of 'vii.' 392 | \leftmarginiv 17pt % > \labelsep + width of 'M.' 393 | \leftmarginv 10pt 394 | \leftmarginvi 10pt 395 | 396 | \leftmargin\leftmargini 397 | \labelsep 5pt 398 | \labelwidth\leftmargini\advance\labelwidth-\labelsep 399 | %\parsep 4pt plus 2pt minus 1pt (Removed 9 Jun 87) 400 | 401 | % \@listI defines top level and \@listi values of 402 | % \leftmargin, \topsep, \parsep, and \itemsep 403 | % (Added 9 Jun 87) 404 | \def\@listI{\leftmargin\leftmargini \parsep 4\p@ plus2\p@ minus\p@% 405 | \topsep 8\p@ plus2\p@ minus4\p@ 406 | \itemsep 4\p@ plus2\p@ minus\p@} 407 | 408 | \let\@listi\@listI 409 | \@listi 410 | 411 | \def\@listii{\leftmargin\leftmarginii 412 | \labelwidth\leftmarginii\advance\labelwidth-\labelsep 413 | \topsep 4\p@ plus2\p@ minus\p@ 414 | \parsep 2\p@ plus\p@ minus\p@ 415 | \itemsep \parsep} 416 | 417 | \def\@listiii{\leftmargin\leftmarginiii 418 | \labelwidth\leftmarginiii\advance\labelwidth-\labelsep 419 | \topsep 2\p@ plus\p@ minus\p@ 420 | \parsep \z@ \partopsep\p@ plus\z@ minus\p@ 421 | \itemsep \topsep} 422 | 423 | \def\@listiv{\leftmargin\leftmarginiv 424 | \labelwidth\leftmarginiv\advance\labelwidth-\labelsep} 425 | 426 | \def\@listv{\leftmargin\leftmarginv 427 | \labelwidth\leftmarginv\advance\labelwidth-\labelsep} 428 | 429 | \def\@listvi{\leftmargin\leftmarginvi 430 | \labelwidth\leftmarginvi\advance\labelwidth-\labelsep} 431 | 432 | \endinput 433 | % vim: filetype=tex 434 | -------------------------------------------------------------------------------- /unused_files/jhu11.clo: -------------------------------------------------------------------------------- 1 | % JHUTHESIS DOCUMENT CLASS OPTION-- jhu11.clo 03/19/1999 2 | % for LaTeX version 2e 3 | 4 | % **************************************** 5 | % * FONTS * 6 | % **************************************** 7 | % 8 | 9 | \lineskip 1pt % \lineskip is 1pt for all font sizes. 10 | \normallineskip 1pt 11 | % 11 Nov 2005, M. Clapp: 12 | % changed \baselinestretch from 1.37 to 2, to conform to JHU thesis style 13 | % which requires double-spacing 14 | \def\baselinestretch{2} 15 | 16 | % All of the font selection commands have been revised to conform with the 17 | % LaTeX2e font selection commands (BBF 10/31/94). 18 | % 19 | % Each size-changing command \SIZE executes the command 20 | % \fontsize\@FONTSIZE{BASELINESKIP}\selectfont 21 | % where: 22 | % \@FONTSIZE = Name of font-size command. The currently available 23 | % (preloaded) font sizes are: \@vpt (5pt), \@vipt (6pt), 24 | % \@viipt (etc.), \@viiipt, \@ixpt, \@xpt, \@xipt, \@xiipt, 25 | % \@xivpt, \@xviipt, \@xxpt, \@xxvpt. These are defined 26 | % in ltfss.dtx. 27 | % 28 | % BASELINESKIP = Normal value of \baselineskip for that size. (Actual 29 | % value will be \baselinestretch * BASELINESKIP.) 30 | % 31 | % For reasons of efficiency that needn't concern the designer, the 32 | % document style defines \@normalsize instead of \normalsize . This 33 | % is done only for \normalsize, not for any other size-changing 34 | % commands. 35 | 36 | \renewcommand{\normalsize}{\fontsize\@xipt{13.6}\selectfont% 37 | \abovedisplayskip 11\p@ plus3\p@ minus6\p@ 38 | \belowdisplayskip \abovedisplayskip 39 | \abovedisplayshortskip \z@ plus3\p@ 40 | \belowdisplayshortskip 6.5\p@ plus3.5\p@ minus3\p@ 41 | \let\@listi\@listI} % Setting of \@listi added 9 Jun 87 42 | 43 | \newcommand{\small}{\fontsize\@xpt{12}\selectfont% 44 | \abovedisplayskip 10\p@ plus2\p@ minus5\p@ 45 | \belowdisplayskip \abovedisplayskip 46 | \abovedisplayshortskip \z@ plus3\p@ 47 | \belowdisplayshortskip 6\p@ plus3\p@ minus3\p@ 48 | \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87 49 | \topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@ 50 | \itemsep \parsep}} 51 | 52 | \newcommand{\footnotesize}{\fontsize\@ixpt{11}\selectfont% 53 | \abovedisplayskip 8\p@ plus2\p@ minus4\p@ 54 | \belowdisplayskip \abovedisplayskip 55 | \abovedisplayshortskip \z@ plus\p@ 56 | \belowdisplayshortskip 4\p@ plus2\p@ minus2\p@ 57 | \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87 58 | \topsep 4\p@ plus2\p@ minus2\p@\parsep 2\p@ plus\p@ minus\p@ 59 | \itemsep \parsep}} 60 | 61 | \newcommand{\scriptsize}{\fontsize\@viiipt{9.5pt}\selectfont} 62 | \newcommand{\tiny}{\fontsize\@vipt{7pt}\selectfont} 63 | \newcommand{\large}{\fontsize\@xiipt{14pt}\selectfont} 64 | \newcommand{\Large}{\fontsize\@xivpt{18pt}\selectfont} 65 | \newcommand{\LARGE}{\fontsize\@xviipt{22pt}\selectfont} 66 | \newcommand{\huge}{\fontsize\@xxpt{25pt}\selectfont} 67 | \newcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont} 68 | 69 | % The shortform font selection commands are not defined in LaTeX2e. This 70 | % defines them so that they do non-orthogonal font selection, which is 71 | % useful if you are in the middle of converting a document from 2.09. 72 | % These commands are no longer used internally in this class. (BBF 10/31/94) 73 | 74 | \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} 75 | \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} 76 | \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} 77 | \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} 78 | \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} 79 | \newcommand{\sl}{\slshape} 80 | \newcommand{\sc}{\scshape} 81 | 82 | \normalsize % Choose the normalsize font. 83 | 84 | 85 | % **************************************** 86 | % * PAGE LAYOUT * 87 | % **************************************** 88 | % 89 | % All margin dimensions measured from a point one inch from top and side 90 | % of page. 91 | 92 | %% UCTHESIS style is not intended to be used two-sided because the 93 | %% University of California style requirements explicitly specify 94 | %% single-sided printing. So the two-sided settings are meaningless. 95 | 96 | % SIDE MARGINS: 97 | \if@twoside % Values for two-sided printing: 98 | \oddsidemargin 0.5in % Left margin on odd-numbered pages. 99 | \evensidemargin 0.0in % Left margin on even-numbered pages. 100 | \marginparwidth 0pt % Width of marginal notes. 101 | \else % Values for one-sided printing: 102 | \oddsidemargin 0.5in % Note that \oddsidemargin = \evensidemargin 103 | \evensidemargin 0.5in 104 | \marginparwidth 0pt 105 | \fi 106 | \marginparsep 10pt % Horizontal space between outer margin and 107 | % marginal note 108 | 109 | 110 | % VERTICAL SPACING: 111 | % Top of page: 112 | \topmargin 0.0in % Nominal distance from top of page to top of 113 | % box containing running head. 114 | \headheight 12pt % Height of box containing running head. 115 | \headsep 25pt % Space between running head and text. 116 | \topskip = 11pt % '\baselineskip' for first line of page. 117 | % Bottom of page: 118 | \footskip 30pt % Distance from baseline of box containing 119 | % foot to baseline of last line of text. 120 | 121 | 122 | % DIMENSION OF TEXT: 123 | % 24 Jun 86: changed to explicitly compute \textheight to avoid 124 | % roundoff. The value of the multiplier was calculated as the floor 125 | % of the old \textheight minus \topskip, divided by \baselineskip for 126 | % \normalsize. The old value of \textheight was 530.4pt. \textheight 127 | % is the height of text (including footnotes and figures, excluding 128 | % running head and foot). 129 | % 11 Nov 2005, M. Clapp: 130 | % changed from '32\baselineskip' which was for \baselineskip=1.37 131 | % to '21.92\baselineskip' for \baselineskip=2.0 132 | \textheight = 21.92\baselineskip 133 | \advance\textheight by \topskip 134 | \textwidth 6.0truein % Width of text line. 135 | % For two-column mode: 136 | \columnsep 10pt % Space between columns 137 | \columnseprule 0pt % Width of rule between columns. 138 | 139 | % A \raggedbottom command causes 'ragged bottom' pages: pages set to 140 | % natural height instead of being stretched to exactly \textheight. 141 | 142 | % FOOTNOTES: 143 | 144 | \footnotesep 7.7pt % Height of strut placed at the beginning of every 145 | % footnote = height of normal \footnotesize strut, 146 | % so no extra space between footnotes. 147 | 148 | \skip\footins 10pt plus 4pt minus 2pt % Space between last line of text 149 | % and top of first footnote. 150 | 151 | % FLOATS: (a float is something like a figure or table) 152 | % 153 | % FOR FLOATS ON A TEXT PAGE: 154 | % 155 | % ONE-COLUMN MODE OR SINGLE-COLUMN FLOATS IN TWO-COLUMN MODE: 156 | \floatsep 12pt plus 2pt minus 2pt % Space between adjacent floats 157 | % moved to top or bottom of 158 | % text page. 159 | \textfloatsep 20pt plus 2pt minus 4pt % Space between main text and 160 | % floats at top or bottom of 161 | % page. 162 | \intextsep 12pt plus 2pt minus 2pt % Space between in-text figures 163 | % and text. 164 | % TWO-COLUMN FLOATS IN TWO-COLUMN MODE: 165 | \dblfloatsep 12pt plus 2pt minus 2pt % Same as \floatsep for 166 | % double-column figures in 167 | % two-column mode. 168 | \dbltextfloatsep 20pt plus 2pt minus 4pt % \textfloatsep for 169 | % double-column floats. 170 | 171 | % FOR FLOATS ON A SEPARATE FLOAT PAGE OR COLUMN: 172 | % ONE-COLUMN MODE OR SINGLE-COLUMN FLOATS IN TWO-COLUMN MODE: 173 | \@fptop 0pt plus 1fil % Stretch at top of float page/column. (Must 174 | % be 0pt plus ...) 175 | \@fpsep 8pt plus 2fil % Space between floats on float page/column. 176 | \@fpbot 0pt plus 1fil % Stretch at bottom of float page/column. (Must 177 | % be 0pt plus ... ) 178 | 179 | % DOUBLE-COLUMN FLOATS IN TWO-COLUMN MODE. 180 | \@dblfptop 0pt plus 1fil % Stretch at top of float page. (Must be 0pt 181 | % plus ...) 182 | \@dblfpsep 8pt plus 2fil % Space between floats on float page. 183 | \@dblfpbot 0pt plus 1fil % Stretch at bottom of float page. (Must be 184 | % 0pt plus ... ) 185 | % MARGINAL NOTES: 186 | % 187 | \marginparpush 5pt % Minimum vertical separation between two 188 | % marginal notes. 189 | 190 | 191 | % **************************************** 192 | % * PARAGRAPHING * 193 | % **************************************** 194 | % 195 | \parskip 0pt plus 1pt % Extra vertical space between 196 | % paragraphs. 197 | \parindent 4em % Width of paragraph indentation. 198 | %\topsep 9pt plus 3pt minus 5pt % Extra vertical space, in addition 199 | % to \parskip, added above and below 200 | % list and paragraphing environments. 201 | \partopsep 3pt plus 1pt minus 2pt % Extra vertical space, in addition 202 | % to \parskip and \topsep, added when 203 | % user leaves blank line before 204 | % environment. 205 | %\itemsep 4.5pt plus 2pt minus 1pt % Extra vertical space, in addition 206 | % to \parskip, added between list 207 | % items. 208 | % See \@listI for values of \topsep and \itemsep 209 | % (Change made 9 Jun 87) 210 | 211 | % The following page-breaking penalties are defined 212 | 213 | \@lowpenalty 51 % Produced by \nopagebreak[1] or \nolinebreak[1] 214 | \@medpenalty 151 % Produced by \nopagebreak[2] or \nolinebreak[2] 215 | \@highpenalty 301 % Produced by \nopagebreak[3] or \nolinebreak[3] 216 | 217 | \@beginparpenalty -\@lowpenalty % Before a list or paragraph 218 | % environment. 219 | \@endparpenalty -\@lowpenalty % After a list or paragraph 220 | % environment. 221 | \@itempenalty -\@lowpenalty % Between list items. 222 | 223 | % \clubpenalty % 'Club line' at bottom of page. 224 | % \widowpenalty % 'Widow line' at top of page. 225 | % \displaywidowpenalty % Math display widow line. 226 | % \predisplaypenalty % Breaking before a math display. 227 | % \postdisplaypenalty % Breaking after a math display. 228 | % \interlinepenalty % Breaking at a line within a paragraph. 229 | % \brokenpenalty % Breaking after a hyphenated line. 230 | 231 | 232 | % **************************************** 233 | % * CHAPTERS AND SECTIONS * 234 | % **************************************** 235 | % 236 | 237 | % Definition of \part moved to report.doc 19 Jan 88 238 | 239 | % \@makechapterhead {TEXT} : Makes the heading for the \chapter 240 | % command. 241 | % 242 | 243 | \def\@makechapterhead#1{% % Heading for \chapter command 244 | \vspace*{50\p@}% % Space at top of text page. 245 | {\parindent \z@ \raggedright 246 | \ifnum \c@secnumdepth >\m@ne % IF secnumdepth > -1 THEN 247 | \huge\bfseries \@chapapp{} \thechapter %Print '\chaptername' and number. 248 | \par 249 | \vskip 20\p@ \fi % Space between number and title. 250 | \Huge \bfseries % Title. 251 | #1\par 252 | \nobreak % TeX penalty to prevent page break. 253 | \vskip 40\p@ % Space between title and text. 254 | }} 255 | 256 | % \@makeschapterhead {TEXT} : Makes the heading for the \chapter* 257 | % command. 258 | % 259 | 260 | \def\@makeschapterhead#1{% % Heading for \chapter* command 261 | \vspace*{50\p@}% % Space at top of page. 262 | {\parindent \z@ \raggedright 263 | \Huge \bfseries % Title. 264 | #1\par 265 | \nobreak % TeX penalty to prevent page break. 266 | \vskip 40\p@ % Space between title and text. 267 | }} 268 | 269 | % \secdef{UNSTARCMDS}{STARCMDS} : 270 | % When defining a \chapter or \section command without using 271 | % \@startsection, you can use \secdef as follows: 272 | % \def\chapter { ... \secdef \CMDA \CMDB } 273 | % \def\CMDA [#1]#2{ ... % Command to define 274 | % % \chapter[...]{...} 275 | % \def\CMDB #1{ ... % Command to define 276 | % % \chapter*{...} 277 | 278 | \def\chapter{\clearpage % Starts new page. 279 | \thispagestyle{botcenter} % Page style of chapter page is 'botcenter' 280 | \global\@topnum\z@ % Prevents figures from going 281 | % at top of page. 282 | \@afterindenttrue % Suppresses indent in first paragraph. 283 | \secdef\@chapter\@schapter} % Change to \@afterindentfase for no indent. 284 | 285 | \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne 286 | \refstepcounter{chapter}% 287 | \typeout{\@chapapp\space\thechapter.}% 288 | \addcontentsline{toc}{chapter}{\protect 289 | \numberline{\thechapter}#1}\else 290 | \addcontentsline{toc}{chapter}{#1}\fi 291 | \chaptermark{#1}% 292 | \addtocontents{lof}% 293 | {\protect\addvspace{10\p@}} % Adds between-chapter space 294 | \addtocontents{lot}% 295 | {\protect\addvspace{10\p@}} % to lists of figs & tables. 296 | \if@twocolumn % Tests for two-column mode. 297 | \@topnewpage[\@makechapterhead{#2}]% 298 | \else \@makechapterhead{#2}% 299 | \@afterheading % Routine called after chapter and 300 | \fi} % section heading. 301 | 302 | \def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]% 303 | \else \@makeschapterhead{#1}% 304 | \@afterheading\fi} 305 | 306 | % \@startsection {NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE} 307 | % optional * [ALTHEADING]{HEADING} 308 | % Generic command to start a section. 309 | % NAME : e.g., 'subsection' 310 | % LEVEL : a number, denoting depth of section -- e.g., 311 | % chapter=1, section = 2, etc. A section number will be 312 | % printed if and only if LEVEL < or = the value of the 313 | % secnumdepth counter. 314 | % INDENT : Indentation of heading from left margin 315 | % BEFORESKIP : Absolute value = skip to leave above the heading. 316 | % If negative, then paragraph indent of text following 317 | % heading is suppressed. 318 | % AFTERSKIP : if positive, then skip to leave below heading, 319 | % else - skip to leave to right of run-in heading. 320 | % STYLE : commands to set style 321 | % If '*' missing, then increments the counter. If it is present, then 322 | % there should be no [ALTHEADING] argument. A sectioning command 323 | % is normally defined to \@startsection + its first six arguments. 324 | 325 | \def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus 326 | -.2ex}{2.3ex plus.2ex}{\reset@font\Large\bfseries}} 327 | \def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus-1ex 328 | minus-.2ex}{1.5ex plus.2ex}{\reset@font\large\bfseries}} 329 | \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus 330 | -1ex minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize\bfseries}} 331 | \def\paragraph{\@startsection 332 | {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}{\reset@font 333 | \normalsize\bfseries}} 334 | \def\subparagraph{\@startsection 335 | {subparagraph}{4}{\parindent}{3.25ex plus1ex minus 336 | .2ex}{-1em}{\reset@font\normalsize\bfseries}} 337 | 338 | % Default initializations of \...mark commands. (See below for their 339 | % us in defining page styles. 340 | % 341 | 342 | \def\chaptermark#1{} 343 | % \def\sectionmark#1{} % Preloaded definitions 344 | % \def\subsectionmark#1{} 345 | % \def\subsubsectionmark#1{} 346 | % \def\paragraphmark#1{} 347 | % \def\subparagraphmark#1{} 348 | 349 | % The value of the counter secnumdepth gives the depth of the 350 | % highest-level sectioning command that is to produce section numbers. 351 | % 352 | 353 | \setcounter{secnumdepth}{2} 354 | 355 | % APPENDIX 356 | % 357 | % The \appendix command must do the following: 358 | % -- reset the chapter counter to zero 359 | % -- set \@chapapp to Appendix (for messages) 360 | % -- redefine the chapter counter to produce appendix numbers 361 | % -- reset the section counter to zero 362 | % -- redefine the \chapter command if appendix titles and headings 363 | % are to look different from chapter titles and headings. 364 | 365 | \def\appendix{\par 366 | \setcounter{chapter}{0}% 367 | \setcounter{section}{0}% 368 | \def\@chapapp{\appendixname}% 369 | \def\thechapter{\Alph{chapter}}} 370 | 371 | 372 | % **************************************** 373 | % * LISTS * 374 | % **************************************** 375 | % 376 | 377 | % The following commands are used to set the default values for the list 378 | % environment's parameters. See the LaTeX manual for an explanation of 379 | % the meanings of the parameters. Defaults for the list environment are 380 | % set as follows. First, \rightmargin, \listparindent and \itemindent 381 | % are set to 0pt. Then, for a Kth level list, the command \@listK is 382 | % called, where 'K' denotes 'i', 'ii', ... , 'vi'. (I.e., \@listiii is 383 | % called for a third-level list.) By convention, \@listK should set 384 | % \leftmargin to \leftmarginK. 385 | % 386 | % For efficiency, level-one list's values are defined at top level, and 387 | % \@listi is defined to set only \leftmargin. 388 | 389 | \leftmargini 2.5em 390 | \leftmarginii 2.2em % > \labelsep + width of '(m)' 391 | \leftmarginiii 1.87em % > \labelsep + width of 'vii.' 392 | \leftmarginiv 1.7em % > \labelsep + width of 'M.' 393 | \leftmarginv 1em 394 | \leftmarginvi 1em 395 | 396 | \leftmargin\leftmargini 397 | \labelsep .5em 398 | \labelwidth\leftmargini\advance\labelwidth-\labelsep 399 | %\parsep 4.5pt plus 2pt minus 1pt %(Removed 9 Jun 87) 400 | 401 | % \@listI defines top level and \@listi values of 402 | % \leftmargin, \topsep, \parsep, and \itemsep 403 | % (Added 9 Jun 87) 404 | \def\@listI{\leftmargin\leftmargini \parsep 4.5\p@ plus2\p@ minus\p@ 405 | \topsep 9\p@ plus3\p@ minus5\p@ 406 | \itemsep 4.5\p@ plus2\p@ minus\p@} 407 | 408 | \let\@listi\@listI 409 | \@listi 410 | 411 | \def\@listii{\leftmargin\leftmarginii 412 | \labelwidth\leftmarginii\advance\labelwidth-\labelsep 413 | \topsep 4.5\p@ plus2\p@ minus\p@ 414 | \parsep 2\p@ plus\p@ minus\p@ 415 | \itemsep \parsep} 416 | 417 | \def\@listiii{\leftmargin\leftmarginiii 418 | \labelwidth\leftmarginiii\advance\labelwidth-\labelsep 419 | \topsep 2\p@ plus\p@ minus\p@ 420 | \parsep \z@ \partopsep \p@ plus\z@ minus\p@ 421 | \itemsep \topsep} 422 | 423 | \def\@listiv{\leftmargin\leftmarginiv 424 | \labelwidth\leftmarginiv\advance\labelwidth-\labelsep} 425 | 426 | \def\@listv{\leftmargin\leftmarginv 427 | \labelwidth\leftmarginv\advance\labelwidth-\labelsep} 428 | 429 | \def\@listvi{\leftmargin\leftmarginvi 430 | \labelwidth\leftmarginvi\advance\labelwidth-\labelsep} 431 | 432 | \endinput 433 | % vim: filetype=tex 434 | -------------------------------------------------------------------------------- /unused_files/jhu12.clo: -------------------------------------------------------------------------------- 1 | % JHUTHESIS DOCUMENT CLASS OPTION-- jhu12.clo 03/19/1999 2 | % for LaTeX version 2e 3 | 4 | % **************************************** 5 | % * FONTS * 6 | % **************************************** 7 | % 8 | 9 | \lineskip 1pt % \lineskip is 1pt for all font sizes. 10 | \normallineskip 1pt 11 | % 11 Nov 2005, M. Clapp: 12 | % changed \baselinestretch from 1.37 to 2, to conform to JHU thesis style 13 | % which requires double-spacing 14 | \def\baselinestretch{2} 15 | 16 | % All of the font selection commands have been revised to conform with the 17 | % LaTeX2e font selection commands (BBF 10/31/94). 18 | % 19 | % Each size-changing command \SIZE executes the command 20 | % \fontsize\@FONTSIZE{BASELINESKIP}\selectfont 21 | % where: 22 | % \@FONTSIZE = Name of font-size command. The currently available 23 | % (preloaded) font sizes are: \@vpt (5pt), \@vipt (6pt), 24 | % \@viipt (etc.), \@viiipt, \@ixpt, \@xpt, \@xipt, \@xiipt, 25 | % \@xivpt, \@xviipt, \@xxpt, \@xxvpt. These are defined 26 | % in ltfss.dtx. 27 | % 28 | % BASELINESKIP = Normal value of \baselineskip for that size. (Actual 29 | % value will be \baselinestretch * BASELINESKIP.) 30 | % 31 | % For reasons of efficiency that needn't concern the designer, the 32 | % document style defines \@normalsize instead of \normalsize . This 33 | % is done only for \normalsize, not for any other size-changing 34 | % commands. 35 | 36 | \renewcommand{\normalsize}{\fontsize\@xiipt{14.5}\selectfont% 37 | \abovedisplayskip 12\p@ plus3\p@ minus7\p@ 38 | \belowdisplayskip \abovedisplayskip 39 | \abovedisplayshortskip \z@ plus3\p@ 40 | \belowdisplayshortskip 6.5\p@ plus3.5\p@ minus3\p@ 41 | \let\@listi\@listI} % Setting of \@listi added 9 Jun 87 42 | 43 | \newcommand{\small}{\fontsize\@xipt{13.6}\selectfont% 44 | \abovedisplayskip 11\p@ plus3\p@ minus6\p@ 45 | \belowdisplayskip \abovedisplayskip 46 | \abovedisplayshortskip \z@ plus3\p@ 47 | \belowdisplayshortskip 6.5\p@ plus3.5\p@ minus3\p@ 48 | \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87 49 | \parsep 4.5\p@ plus2\p@ minus\p@ 50 | \itemsep \parsep 51 | \topsep 9\p@ plus3\p@ minus5\p@}} 52 | 53 | \newcommand{\footnotesize}{\fontsize\@xpt{12}\selectfont% 54 | \abovedisplayskip 10\p@ plus2\p@ minus5\p@ 55 | \belowdisplayskip \abovedisplayskip 56 | \abovedisplayshortskip \z@ plus3\p@ 57 | \belowdisplayshortskip 6\p@ plus3\p@ minus3\p@ 58 | \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87 59 | \topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@ 60 | \itemsep \parsep}} 61 | 62 | \newcommand{\scriptsize}{\fontsize\@viiipt{9.5pt}\selectfont} 63 | \newcommand{\tiny}{\fontsize\@vipt{7pt}\selectfont} 64 | \newcommand{\large}{\fontsize\@xivpt{18pt}\selectfont} 65 | \newcommand{\Large}{\fontsize\@xviipt{22pt}\selectfont} 66 | \newcommand{\LARGE}{\fontsize\@xxpt{25pt}\selectfont} 67 | \newcommand{\huge}{\fontsize\@xxvpt{30pt}\selectfont} 68 | \newcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont} 69 | 70 | % The shortform font selection commands are not defined in LaTeX2e. This 71 | % defines them so that they do non-orthogonal font selection, which is 72 | % useful if you are in the middle of converting a document from 2.09. 73 | % These commands are no longer used internally in this class. (BBF 10/31/94) 74 | 75 | \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} 76 | \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} 77 | \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} 78 | \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} 79 | \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} 80 | \newcommand{\sl}{\slshape} 81 | \newcommand{\sc}{\scshape} 82 | 83 | \normalsize % Choose the normalsize font. 84 | 85 | 86 | % **************************************** 87 | % * PAGE LAYOUT * 88 | % **************************************** 89 | % 90 | % All margin dimensions measured from a point one inch from top and side 91 | % of page. 92 | 93 | %% UCTHESIS style is not intended to be used two-sided because the 94 | %% University of California style requirements explicitly specify 95 | %% single-sided printing. So the two-sided settings are meaningless. 96 | 97 | % SIDE MARGINS: 98 | \if@twoside % Values for two-sided printing: 99 | \oddsidemargin 0.5in % Left margin on odd-numbered pages. 100 | \evensidemargin 0.0in % Left margin on even-numbered pages. 101 | \marginparwidth 0pt % Width of marginal notes. 102 | \else % Values for one-sided printing: 103 | \oddsidemargin 0.5in % Note that \oddsidemargin = \evensidemargin 104 | \evensidemargin 0.5in 105 | \marginparwidth 0pt 106 | \fi 107 | \marginparsep 10pt % Horizontal space between outer margin and 108 | % marginal note 109 | 110 | 111 | % VERTICAL SPACING: 112 | % Top of page: 113 | \topmargin 0.0in % Nominal distance from top of page to top 114 | % of box containing running head. 115 | \headheight 12pt % Height of box containing running head. 116 | \headsep 25pt % Space between running head and text. 117 | \topskip = 12pt % '\baselineskip' for first line of page. 118 | % Bottom of page: 119 | \footskip 30pt % Distance from baseline of box containing 120 | % foot to baseline of last line of text. 121 | 122 | 123 | % DIMENSION OF TEXT: 124 | % 24 Jun 86: changed to explicitly compute \textheight to avoid 125 | % roundoff. The value of the multiplier was calculated as the floor 126 | % of the old \textheight minus \topskip, divided by \baselineskip for 127 | % \normalsize. The old value of \textheight was 536.5pt. \textheight 128 | % is the height of text (including footnotes and figures, excluding 129 | % running head and foot). 130 | % 11 Nov 2005, M. Clapp: 131 | % changed from '30\baselineskip' which was for \baselineskip=1.37 132 | % to '20.55\baselineskip' for \baselineskip=2.0 133 | \textheight = 20.55\baselineskip 134 | \advance\textheight by \topskip 135 | \textwidth 6.0truein % Width of text line. 136 | % For two-column mode: 137 | \columnsep 10pt % Space between columns 138 | \columnseprule 0pt % Width of rule between columns. 139 | 140 | % A \raggedbottom command causes 'ragged bottom' pages: pages set to 141 | % natural height instead of being stretched to exactly \textheight. 142 | 143 | % FOOTNOTES: 144 | 145 | \footnotesep 8.4pt % Height of strut placed at the beginning of every 146 | % footnote = height of normal \footnotesize strut, 147 | % so no extra space between footnotes. 148 | 149 | \skip\footins 10.8pt plus 4pt minus 2pt % Space between last line of 150 | % text and top of first 151 | % footnote. 152 | 153 | % FLOATS: (a float is something like a figure or table) 154 | % 155 | % FOR FLOATS ON A TEXT PAGE: 156 | % 157 | % ONE-COLUMN MODE OR SINGLE-COLUMN FLOATS IN TWO-COLUMN MODE: 158 | \floatsep 14pt plus 2pt minus 4pt % Space between adjacent floats 159 | % moved to top or bottom of 160 | % text page. 161 | \textfloatsep 20pt plus 2pt minus 4pt % Space between main text and 162 | % floats at top or bottom of 163 | % page. 164 | \intextsep 14pt plus 4pt minus 4pt % Space between in-text figures 165 | % and text. 166 | % TWO-COLUMN FLOATS IN TWO-COLUMN MODE: 167 | \dblfloatsep 14pt plus 2pt minus 4pt % Same as \floatsep for 168 | % double-column figures in 169 | % two-column mode. 170 | \dbltextfloatsep 20pt plus 2pt minus 4pt % \textfloatsep for 171 | % double-column floats. 172 | 173 | % FOR FLOATS ON A SEPARATE FLOAT PAGE OR COLUMN: 174 | % ONE-COLUMN MODE OR SINGLE-COLUMN FLOATS IN TWO-COLUMN MODE: 175 | \@fptop 0pt plus 1fil % Stretch at top of float page/column. (Must 176 | % be 0pt plus ...) 177 | \@fpsep 10pt plus 2fil % Space between floats on float page/column. 178 | \@fpbot 0pt plus 1fil % Stretch at bottom of float page/column. 179 | % (Must be 0pt plus ... ) 180 | 181 | % DOUBLE-COLUMN FLOATS IN TWO-COLUMN MODE. 182 | \@dblfptop 0pt plus 1fil % Stretch at top of float page. (Must be 183 | % 0pt plus ...) 184 | \@dblfpsep 10pt plus 2fil% Space between floats on float page. 185 | \@dblfpbot 0pt plus 1fil % Stretch at bottom of float page. (Must be 186 | % 0pt plus ... ) 187 | % MARGINAL NOTES: 188 | % 189 | \marginparpush 7pt % Minimum vertical separation between two 190 | % marginal notes. 191 | 192 | 193 | % **************************************** 194 | % * PARAGRAPHING * 195 | % **************************************** 196 | % 197 | \parskip 0pt plus 1pt % Extra vertical space between 198 | % paragraphs. 199 | \parindent 1.5em % Width of paragraph indentation. 200 | %\topsep 10pt plus 4pt minus 6pt % Extra vertical space, in addition 201 | % to \parskip, added above and below 202 | % list and paragraphing environments. 203 | \partopsep 3pt plus 2pt minus 2pt % Extra vertical space, in addition 204 | % to \parskip and \topsep, added when 205 | % list leaves blank line before 206 | % environment. 207 | %\itemsep 5pt plus 2.5pt minus 1pt % Extra vertical space, in addition 208 | % to \parskip, added between list 209 | % items. 210 | % See \@listI for values of \topsep and \itemsep 211 | % (Change made 9 Jun 87) 212 | 213 | % The following page-breaking penalties are defined 214 | 215 | \@lowpenalty 51 % Produced by \nopagebreak[1] or \nolinebreak[1] 216 | \@medpenalty 151 % Produced by \nopagebreak[2] or \nolinebreak[2] 217 | \@highpenalty 301 % Produced by \nopagebreak[3] or \nolinebreak[3] 218 | 219 | \@beginparpenalty -\@lowpenalty % Before a list or paragraph 220 | % environment. 221 | \@endparpenalty -\@lowpenalty % After a list or paragraph 222 | % environment. 223 | \@itempenalty -\@lowpenalty % Between list items. 224 | 225 | % \clubpenalty % 'Club line' at bottom of page. 226 | % \widowpenalty % 'Widow line' at top of page. 227 | % \displaywidowpenalty % Math display widow line. 228 | % \predisplaypenalty % Breaking before a math display. 229 | % \postdisplaypenalty % Breaking after a math display. 230 | % \interlinepenalty % Breaking at a line within a paragraph. 231 | % \brokenpenalty % Breaking after a hyphenated line. 232 | 233 | 234 | % **************************************** 235 | % * CHAPTERS AND SECTIONS * 236 | % **************************************** 237 | % 238 | % Definition of \part moved to report.doc 19 Jan 88 239 | 240 | % \@makechapterhead {TEXT} : Makes the heading for the \chapter 241 | % command. 242 | % 243 | 244 | \def\@makechapterhead#1{% % Heading for \chapter command 245 | \vspace*{50\p@}% % Space at top of text page. 246 | {\parindent \z@ \raggedright 247 | \ifnum \c@secnumdepth >\m@ne % IF secnumdepth > -1 THEN 248 | \huge\bfseries \@chapapp{} \thechapter %Print '\chaptername' and number. 249 | \par 250 | \vskip 20\p@ \fi % Space between number and title. 251 | \Huge \bfseries % Title. 252 | #1\par 253 | \nobreak % TeX penalty to prevent page break. 254 | \vskip 40\p@ % Space between title and text. 255 | }} 256 | 257 | % \@makeschapterhead {TEXT} : Makes the heading for the \chapter* 258 | % command. 259 | % 260 | 261 | \def\@makeschapterhead#1{% % Heading for \chapter* command 262 | \vspace*{50\p@}% % Space at top of page. 263 | {\parindent \z@ \raggedright 264 | \Huge \bfseries % Title. 265 | #1\par 266 | \nobreak % TeX penalty to prevent page break. 267 | \vskip 40\p@ % Space between title and text. 268 | }} 269 | 270 | % \secdef{UNSTARCMDS}{STARCMDS} : 271 | % When defining a \chapter or \section command without using 272 | % \@startsection, you can use \secdef as follows: 273 | % \def\chapter { ... \secdef \CMDA \CMDB } 274 | % \def\CMDA [#1]#2{ ... % Command to define 275 | % % \chapter[...]{...} 276 | % \def\CMDB #1{ ... % Command to define 277 | % % \chapter*{...} 278 | 279 | \def\chapter{\clearpage % Starts new page. 280 | \thispagestyle{botcenter} % Page style of chapter page is 'botcenter' 281 | \global\@topnum\z@ % Prevents figures from going at top of page. 282 | \@afterindenttrue % Suppresses indent in first paragraph. 283 | \secdef\@chapter\@schapter} % Change to \@afterindentfase for no indent. 284 | 285 | \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne 286 | \refstepcounter{chapter}% 287 | \typeout{\@chapapp\space\thechapter.}% 288 | \addcontentsline{toc}{chapter}{\protect 289 | \numberline{\thechapter}#1}\else 290 | \addcontentsline{toc}{chapter}{#1}\fi 291 | \chaptermark{#1}% 292 | \addtocontents{lof}% 293 | {\protect\addvspace{10\p@}}% Adds between-chapter space 294 | \addtocontents{lot}% 295 | {\protect\addvspace{10\p@}}% to lists of figs & tables. 296 | \if@twocolumn % Tests for two-column mode. 297 | \@topnewpage[\@makechapterhead{#2}]% 298 | \else \@makechapterhead{#2}% 299 | \@afterheading % Routine called after chapter and 300 | \fi} % section heading. 301 | 302 | \def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]% 303 | \else \@makeschapterhead{#1}% 304 | \@afterheading\fi} 305 | 306 | % \@startsection {NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE} 307 | % optional * [ALTHEADING]{HEADING} 308 | % Generic command to start a section. 309 | % NAME : e.g., 'subsection' 310 | % LEVEL : a number, denoting depth of section -- e.g., 311 | % chapter=1, section = 2, etc. A section number will be 312 | % printed if and only if LEVEL < or = the value of the 313 | % secnumdepth counter. 314 | % INDENT : Indentation of heading from left margin 315 | % BEFORESKIP : Absolute value = skip to leave above the heading. 316 | % If negative, then paragraph indent of text following 317 | % heading is suppressed. 318 | % AFTERSKIP : if positive, then skip to leave below heading, 319 | % else - skip to leave to right of run-in heading. 320 | % STYLE : commands to set style 321 | % If '*' missing, then increments the counter. If it is present, then 322 | % there should be no [ALTHEADING] argument. A sectioning command 323 | % is normally defined to \@startsection + its first six arguments. 324 | 325 | \def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus 326 | -.2ex}{2.3ex plus.2ex}{\reset@font\LARGE\bfseries}} 327 | \def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus-1ex 328 | minus-.2ex}{1.5ex plus.2ex}{\reset@font\Large\bfseries}} 329 | \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus 330 | -1ex minus-.2ex}{1.5ex plus.2ex}{\reset@font\large\bfseries}} 331 | \def\paragraph{\@startsection 332 | {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{1.5ex plus.2ex}{\reset@font 333 | \normalsize\bfseries\scshape}} 334 | \def\subparagraph{\@startsection 335 | {subparagraph}{5}{\z@}{3.25ex plus1ex minus.2ex}{1.5ex plus.2ex}{\reset@font 336 | \normalsize\bfseries\itshape}} 337 | %\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus 338 | % -1ex minus-.2ex}{1.5ex plus.2ex}{\reset@font\large\bfseries\scshape}} 339 | %\def\paragraph{\@startsection 340 | % {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}{\reset@font 341 | % \normalsize\bfseries}} 342 | %\def\subparagraph{\@startsection 343 | % {subparagraph}{4}{\parindent}{3.25ex plus1ex minus 344 | % .2ex}{-1em}{\reset@font\normalsize\bfseries}} 345 | 346 | % Default initializations of \...mark commands. (See below for their 347 | % us in defining page styles. 348 | % 349 | 350 | \def\chaptermark#1{} 351 | % \def\sectionmark#1{} % Preloaded definitions 352 | % \def\subsectionmark#1{} 353 | % \def\subsubsectionmark#1{} 354 | % \def\paragraphmark#1{} 355 | % \def\subparagraphmark#1{} 356 | 357 | % The value of the counter secnumdepth gives the depth of the 358 | % highest-level sectioning command that is to produce section numbers. 359 | % 360 | 361 | \setcounter{secnumdepth}{4} 362 | 363 | % APPENDIX 364 | % 365 | % The \appendix command must do the following: 366 | % -- reset the chapter counter to zero 367 | % -- set \@chapapp to Appendix (for messages) 368 | % -- redefine the chapter counter to produce appendix numbers 369 | % -- reset the section counter to zero 370 | % -- redefine the \chapter command if appendix titles and headings 371 | % are to look different from chapter titles and headings. 372 | 373 | \def\appendix{\par 374 | \setcounter{chapter}{0}% 375 | \setcounter{section}{0}% 376 | \def\@chapapp{\appendixname}% 377 | \def\thechapter{\Alph{chapter}}} 378 | 379 | 380 | % **************************************** 381 | % * LISTS * 382 | % **************************************** 383 | % 384 | 385 | % The following commands are used to set the default values for the list 386 | % environment's parameters. See the LaTeX manual for an explanation of 387 | % the meanings of the parameters. Defaults for the list environment are 388 | % set as follows. First, \rightmargin, \listparindent and \itemindent 389 | % are set to 0pt. Then, for a Kth level list, the command \@listK is 390 | % called, where 'K' denotes 'i', 'ii', ... , 'vi'. (I.e., \@listiii is 391 | % called for a third-level list.) By convention, \@listK should set 392 | % \leftmargin to \leftmarginK. 393 | % 394 | % For efficiency, level-one list's values are defined at top level, and 395 | % \@listi is defined to set only \leftmargin. 396 | 397 | \leftmargini 2.5em 398 | \leftmarginii 2.2em % > \labelsep + width of '(m)' 399 | \leftmarginiii 1.87em % > \labelsep + width of 'vii.' 400 | \leftmarginiv 1.7em % > \labelsep + width of 'M.' 401 | \leftmarginv 1em 402 | \leftmarginvi 1em 403 | 404 | \leftmargin\leftmargini 405 | \labelsep .5em 406 | \labelwidth\leftmargini\advance\labelwidth-\labelsep 407 | %\parsep 5pt plus 2.5pt minus 1pt %(Removed 9 Jun 87) 408 | 409 | % \@listI defines top level and \@listi values of 410 | % \leftmargin, \topsep, \parsep, and \itemsep 411 | % (Added 9 Jun 87) 412 | \def\@listI{\leftmargin\leftmargini \parsep 5\p@ plus2.5\p@ minus\p@ 413 | \topsep 10\p@ plus4\p@ minus6\p@ 414 | \itemsep 5\p@ plus2.5\p@ minus\p@} 415 | 416 | \let\@listi\@listI 417 | \@listi 418 | 419 | \def\@listii{\leftmargin\leftmarginii 420 | \labelwidth\leftmarginii\advance\labelwidth-\labelsep 421 | \topsep 5\p@ plus2.5\p@ minus\p@ 422 | \parsep 2.5\p@ plus\p@ minus\p@ 423 | \itemsep \parsep} 424 | 425 | \def\@listiii{\leftmargin\leftmarginiii 426 | \labelwidth\leftmarginiii\advance\labelwidth-\labelsep 427 | \topsep 2.5\p@ plus\p@ minus\p@ 428 | \parsep \z@ \partopsep \p@ plus\z@ minus\p@ 429 | \itemsep \topsep} 430 | 431 | \def\@listiv{\leftmargin\leftmarginiv 432 | \labelwidth\leftmarginiv\advance\labelwidth-\labelsep} 433 | 434 | \def\@listv{\leftmargin\leftmarginv 435 | \labelwidth\leftmarginv\advance\labelwidth-\labelsep} 436 | 437 | \def\@listvi{\leftmargin\leftmarginvi 438 | \labelwidth\leftmarginvi\advance\labelwidth-\labelsep} 439 | 440 | \endinput 441 | % vim: filetype=tex 442 | -------------------------------------------------------------------------------- /unused_files/thesis.cls: -------------------------------------------------------------------------------- 1 | % JHUTHESIS DOCUMENT CLASS -- Release info is below. 2 | % for LaTeX version 2e - 11/3/94 3 | 4 | %%% ==================================================================== 5 | %%% @LaTeX-class-file{ 6 | %%% filename = "thesis.cls", 7 | %%% version = "0.3.2", 8 | %%% date = "11 Nov 2005", 9 | %%% portedby = "Ian Goh", 10 | %%% address = "Homewood Academic Computing 11 | %%% Johns Hopkins University 12 | %%% Baltimore, MD 21218 13 | %%% USA", 14 | %%% telephone = "(410) 516-5408", 15 | %%% email = "ian.goh@jhu.edu", 16 | %%% codetable = "ISO/ASCII", 17 | %%% keywords = "LaTeX, JHU,thesis", 18 | %%% supported = "until ?", 19 | %%% docstring = "This file is the main file for the JHUTHESIS 20 | %%% DOCUMENT CLASS. 21 | %%% 22 | %%% Version 0.3.2 by Matt Clapp, 2005 Nov 11 23 | %%% changes the spacing to strictly 2.0 24 | %%% instead of 1.37 in the old version to conform 25 | %%% to JHU thesis requirements 26 | %%% 27 | %%% Version 0.3.1 changes the *.clo files 28 | %%% back to \topmargin 0.0in instead of -0.5in 29 | %%% 30 | %%% Version 0.3.0 is starting to implement 31 | %%% revisions in the dissertation class in the 32 | %%% 1998 guidelines: 33 | %%% - modified cover page 34 | %%% - bottom center pagination on all pages 35 | %%% - 1.5in left margin; 1in top, right, bottom margin 36 | %%% 37 | %%% Version 0.2.1 implements a "List of Symbols" 38 | %%% environment; basically a page where you can 39 | %%% list what symbols you used in the document. 40 | %%% 41 | %%% Version 0.2 fixes typos on the title page 42 | %%% and hopefully has made all the frontmatter 43 | %%% page numbering bottom center, first page of a 44 | %%% chapter now has top center page number, vita 45 | %%% environment setup (clone of Abstract). 46 | %%% 47 | %%% It is primarily based on the UCTHESIS DOCUMENT 48 | %%% CLASS for LaTeX version 2e (11/3/94) by 49 | %%% Blaise B. Frederick (frederic@imasun.lbl.gov." 50 | %%% } 51 | %%% ==================================================================== 52 | 53 | \NeedsTeXFormat{LaTeX2e} 54 | \ProvidesClass{thesis}[2005/11/10 version 0.3.2 JHU Thesis Class] 55 | 56 | % **************************************** 57 | % * OPTIONS * 58 | % **************************************** 59 | % 60 | % Option values are now declared first thing. Defaults are set to 61 | % 11 point, onesided, final (ie not draft) mode (BBF 10/31/94) 62 | \newcommand\@ptsize{} 63 | \newcommand\@draftmark{} 64 | \DeclareOption{10pt}{\renewcommand\@ptsize{0}} 65 | \DeclareOption{11pt}{\renewcommand\@ptsize{1}} 66 | \DeclareOption{12pt}{\renewcommand\@ptsize{2}} 67 | \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} 68 | \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} 69 | \DeclareOption{draft}{\renewcommand\@draftmark{1}} 70 | \DeclareOption{final}{\renewcommand\@draftmark{0}} 71 | \ExecuteOptions{10pt,twoside,draft} 72 | % use the following for final thesis submission: 73 | %\ExecuteOptions{12pt,oneside,final} 74 | 75 | 76 | % CHOOSING THE TYPE SIZE: 77 | % 78 | % The type size option is handled by reading a different file for each 79 | % size, as follows, to define font size-specific commands: 80 | % 10pt : JHU10, 11pt : JHU11, 12pt : JHU12 81 | % 82 | 83 | % Two-side or one-side printing. 84 | % 85 | % \@twosidefalse % Default is one-sided printing. 86 | \def\ds@twoside{\@twosidetrue % Defines twoside option. 87 | \@mparswitchtrue} % Marginpars go on outside of page. 88 | 89 | % This is a tricky solution to a tough bootstrapping problem. The 90 | % "draft" option requires the definition of the \ssp macro. However, 91 | % the \ssp macro requires that the uct1?.clo file has been loaded. This 92 | % loading is done by the \@options command which also invokes the 93 | % \ds@draft macro. This was a cyclic dependency in the previous 94 | % version. To break this dependency, I have made \ds@draft set a marker 95 | % which is later tested to determine whether to actually do the draft 96 | % mode actions. 97 | % 98 | % Ethan Munson (October 16, 1992) 99 | 100 | % FMi 91/03/30: made twocolum.sty a file and twocolumn an option. 101 | 102 | % RmS 91/10/15: moved actual reading of twocolumn.sty 103 | % to the end of this file. 104 | \def\ds@twocolumn{\@twocolumntrue} 105 | 106 | % The \ProcessOptions command causes the execution of every option command 107 | % FOO which is declared and for which the user typed the FOO option in his 108 | % \documentclass. For every undeclared option BAR there will be a warning 109 | % message. (BBF 10/31/94) 110 | 111 | \ProcessOptions 112 | 113 | \input jhu1\@ptsize.clo\relax 114 | 115 | % For some environments we switch back to single-spacing, also 116 | % provides \dsp in case you need double-spacing where single-spacing 117 | % is otherwise used. 118 | % 119 | % Additionally, \dssp is somewhere in-between 1.0 and 2.0 spacing 120 | \def\ssp{\def\baselinestretch{1.0}\large\normalsize} 121 | \def\dssp{\def\baselinestretch{1.37}\large\normalsize} 122 | \def\dsp{\def\baselinestretch{2.0}\large\normalsize} 123 | %\def\dsp{\def\baselinestretch{1.37}\large\normalsize} 124 | 125 | % \smallssp is used to produce tabular environments in the small font. 126 | % This is required because single-spacing requires a change in font size. 127 | % \scriptsizessp is a still smaller version of the same thing. 128 | 129 | \def\smallssp{\def\baselinestretch{1.0}\large\small} 130 | \def\scriptsizessp{\def\baselinestretch{1.0}\large\scriptsize} 131 | 132 | % draft option (this is where the draft option is actually implemented) 133 | % 134 | % \overfullrule = 0pt % Default is dont mark overfull hboxes. 135 | \ifnum \@draftmark = 1 136 | \ssp % Single-spaces and 137 | \overfullrule 5pt % causes overfull hboxes to be marked. 138 | \fi 139 | 140 | 141 | % PREPARING A FOREIGN LANGUAGE VERSION: 142 | % 143 | % This document style is for documents prepared in the English language. 144 | % To prepare a version for another language, various English words must 145 | % be replaced. Many of the English words that required replacement are 146 | % indicated below, where we give the name of the command in which the 147 | % words appear, and which must be redefined, with the actual words 148 | % underlined. 149 | % 150 | % Other English words that need replacement can be found in the macros 151 | % supporting the title and approval pages. 152 | % 153 | % \tableofcontents: 154 | \def\contentsname{Contents} 155 | % ~~~~~~~~ 156 | % 157 | % \listoffigures: 158 | \def\listfigurename{List of Figures} 159 | % ~~~~~~~~~~~~~~~ 160 | % 161 | % \listoftables: 162 | \def\listtablename{List of Tables} 163 | % ~~~~~~~~~~~~~~ 164 | % 165 | % \listofsymbols: 166 | \def\listsymbolname{List of Symbols} 167 | % ~~~~~~~~~~~~~~~ 168 | % 169 | % \thebibliography: 170 | \def\bibname{Bibliography} 171 | % ~~~~~~~~~~~~ 172 | % 173 | % \theindex: 174 | \def\indexname{Index} 175 | % ~~~~~ 176 | % 177 | % figure environment: 178 | \def\figurename{Figure} 179 | % ~~~~~~ 180 | % 181 | % table environment: 182 | \def\tablename{Table} 183 | % ~~~~~ 184 | % 185 | % \chapter: 186 | \def\chaptername{Chapter} 187 | % ~~~~~~~ 188 | % \appendix: 189 | \def\appendixname{Appendix} 190 | % ~~~~~~~~ 191 | % \part 192 | \def\partname{Part} 193 | % ~~~~ 194 | % abstract environment: 195 | \def\abstractname{Abstract} 196 | % ~~~~~~~~ 197 | % 198 | % acknowledge environment: 199 | \def\acknowledgename{Acknowledgments} 200 | % ~~~~~~~~~~~~~~~~ 201 | % 202 | % vita environment: 203 | \def\vitaname{Vita} 204 | % ~~~~ 205 | % 206 | 207 | % **************************************** 208 | % * FRONT MATTER * 209 | % **************************************** 210 | % 211 | 212 | % DECLARATIONS 213 | % 214 | % These macros are used to declare arguments needed for the 215 | % construction of the front matter. 216 | 217 | \def\thesis{\gdef\@thesistype{A thesis}} 218 | \def\essay{\gdef\@thesistype{An essay}} 219 | \def\dissertation{\gdef\@thesistype{A dissertation}} 220 | \def\masterarts{\gdef\@degreetype{Master of Arts}} 221 | \def\masterscience{\gdef\@degreetype{Master of Science}} 222 | \def\doctorphilosophy{\gdef\@degreetype{Doctor of Philosophy}} 223 | 224 | % The year the degree will be officially conferred 225 | \def\degreeyear#1{\gdef\@degreeyear{#1}} 226 | \def\degreemonth#1{\gdef\@degreemonth{#1}} 227 | 228 | \def\copyrightnotice{\gdef\@copyrightnotice{ 229 | \copyright\ \@author\ \@degreeyear\par All rights reserved}} 230 | \def\nocopyrightnotice{\gdef\@copyrightnotice{}} 231 | 232 | 233 | 234 | 235 | % \alwayssingle and \endalwayssingle 236 | % 237 | % These macros define an environment for front matter that is always 238 | % single column even in a double-column document. 239 | 240 | \def\alwayssingle{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn 241 | \else \newpage \fi} 242 | 243 | \def\endalwayssingle{\if@restonecol\twocolumn \else \newpage \fi} 244 | 245 | 246 | % TITLE PAGE 247 | % 248 | % \maketitle outputs the complete titlepage. 249 | 250 | 251 | % Set the font that will be used in the front matter headings 252 | \def\fmfont{\fontsize\@xiipt{14.5}\selectfont} 253 | \def\fmsmallfont{\fontsize\@xiipt{14pt}\selectfont} 254 | 255 | \def\maketitle{ 256 | {\dsp 257 | \begin{alwayssingle} 258 | \let\footnotesize\small 259 | \let\footnoterule\relax 260 | \thispagestyle{empty} 261 | \setcounter{page}{1} 262 | % 263 | % taken from earlier thesis.sty (JEB 19 Apr 90) 264 | % added by IG 01 Jan 97 265 | % new rules 1998, title should be written in all caps 266 | % and centered within the left and right margins, doublespaced 267 | % approx 2in from the top of the page. 268 | 269 | % 270 | \vbox to \textheight{ 271 | \null 272 | % \vfil \vskip 0.5in 273 | \begin{center} 274 | {\large\bf \@title \par} 275 | \vskip 1em 276 | {by \par} 277 | \vskip 1em 278 | \begin{tabular}[t]{c} 279 | {\large \@author} 280 | \end{tabular}\par 281 | \vskip 6em 282 | 283 | {\@thesistype\ submitted to The Johns Hopkins University in 284 | conformity with the requirements for the degree of \@degreetype.\par} 285 | \vskip 2em 286 | {Baltimore, Maryland\par} 287 | {\@degreemonth, \@degreeyear\par} 288 | \vskip 8em 289 | \@copyrightnotice 290 | \end{center} \par 291 | % \vfil 292 | \null 293 | } % end of vbox enclosing title info 294 | \end{alwayssingle} 295 | \newpage 296 | \normalsize %% reset back to normalsize 297 | \setcounter{footnote}{0} \let\thanks\relax 298 | \gdef\@thanks{}\gdef\@author{}\gdef\@title{} 299 | \gdef\@degreetype{}\gdef\@thesistype{}\gdef\@copyrightnotice{} 300 | \let\maketitle\relax 301 | }} 302 | 303 | % APPROVALPAGE 304 | % 305 | % The \approvalpage macro emits a UC-approved approval page ready for 306 | % your committee's signature. It is not an automatic part of the 307 | % output because there's really no point in printing it until you are 308 | % ready to get signatures. It requires the the \year, \author, and 309 | % \campus macros have been defined. It uses lots of tricky spacing 310 | % that is probably better handled with tabular environment code, but 311 | % I'm too lazy to fix it. (EVM, 9/19/94) 312 | 313 | \def\approvalpage{ 314 | \begin{alwayssingle} 315 | \thispagestyle{empty} 316 | \null\vfill 317 | \begin{center} 318 | \fmfont The dissertation of {\@author} is approved: \\ 319 | \vspace{.25in} 320 | \vspace{\@approvalspace} 321 | $\:\overline{~~~~ \mbox{\rule{0in}{0.16in}\small Chair% 322 | \hspace{3.15in} Date }}\:$ \\ 323 | \vspace{\@approvalspace} 324 | $\:\overline{~~~~ \mbox{\rule{0in}{0.16in}\small ~\hspace{3.5in} Date }}\:$ \\ 325 | \vspace{\@approvalspace} 326 | $\:\overline{~~~~ \mbox{\rule{0in}{0.16in}\small ~\hspace{3.5in} Date }}\:$ \\ 327 | \vspace{\@approvalspace} 328 | \ifnum \@numberofmembers > 3 329 | $\:\overline{~~~~ \mbox{\rule{0in}{0.16in}\small ~\hspace{3.5in} Date }}\:$ \\ 330 | \vspace{\@approvalspace} 331 | \fi 332 | \ifnum \@numberofmembers > 4 333 | $\:\overline{~~~~ \mbox{\rule{0in}{0.16in}\small ~\hspace{3.5in} Date }}\:$ \\ 334 | \vspace{\@approvalspace} 335 | \fi 336 | \ifnum \@numberofmembers > 5 337 | $\:\overline{~~~~ \mbox{\rule{0in}{0.16in}\small ~\hspace{3.5in} Date }}\:$ \\ 338 | \vspace{\@approvalspace} 339 | \fi 340 | {\fmfont University of California at {\@campus}} \\ 341 | \vspace{-.25in} 342 | \vspace{\@approvalspace} 343 | {\fmfont \@degreeyear} 344 | \end{center} 345 | \vfill\null 346 | \end{alwayssingle} 347 | } 348 | 349 | % ABSTRACT 350 | % 351 | % JHU uses a much simpler abstract format than UC Berkeley 352 | % The abstract should be immediately after the title page. 353 | % It should be no more than 350 words, double-spaced, page numbering 354 | % in arabic at the bottom center (ii). 355 | % MODIFIED BY R. Jacob Vogelstein 30 Mar 2007 to include section name in headers 356 | 357 | \def\abstract{ 358 | \newpage 359 | \dsp 360 | \chapter*{\abstractname\@mkboth{\uppercase{\abstractname}}{\uppercase{\abstractname}}} 361 | \fmfont 362 | \vspace{8pt} 363 | 364 | \addcontentsline{toc}{chapter}{\abstractname} 365 | } 366 | 367 | \def\endabstract{\par\vfil\null} 368 | 369 | 370 | % DEDICATION 371 | % 372 | % The dedication environment just makes sure the dedication gets its 373 | % own page. 374 | % Modified by R. Jacob Vogelstein 30 Mar 2007 to make dedication its own section 375 | 376 | %\newenvironment{dedication} 377 | %{\begin{alwayssingle}} 378 | %{\end{alwayssingle}} 379 | \def\dedication{ 380 | \newpage 381 | \dsp 382 | \chapter*{Dedication\@mkboth{DEDICATION}{DEDICATION}} 383 | \fmfont} 384 | \def\endacknowledgment{\par\vfil\null} 385 | 386 | % ACKNOWLEDGMENTS 387 | % 388 | % The acknowledgments environment puts a large, bold, 389 | % "Acknowledgments" label at the top of the page. 390 | % MODIFIED BY R. Jacob Vogelstein 30 Mar 2007 to include section name in headers 391 | 392 | \def\acknowledgment{ 393 | \newpage 394 | \dsp 395 | \chapter*{\acknowledgename\@mkboth{\uppercase{\acknowledgename}}{\uppercase{\acknowledgename}}} 396 | \fmfont 397 | 398 | \addcontentsline{toc}{chapter}{\acknowledgename} 399 | } 400 | 401 | \def\endacknowledgment{\par\vfil\null} 402 | 403 | % LIST OF SYMBOLS 404 | % 405 | % Somewhere in between an ``acknowledgment'' type environment and a 406 | % ``listoftables'' 407 | 408 | \newenvironment{listofsymbols} 409 | { \@restonecolfalse 410 | \if@twocolumn\@restonecoltrue\onecolumn\fi 411 | %%%%% take care of getting page number in right spot %%%%% 412 | \clearpage 413 | \thispagestyle{botcenter} % Page style of frontmatter is botcenter 414 | \@schapter{\listsymbolname\@mkboth{\uppercase{\listsymbolname}}% 415 | {\uppercase{\listsymbolname}}} 416 | % make sure it gets an entry in the TOC 417 | \addcontentsline{toc}{chapter}{\listsymbolname}} 418 | {\if@restonecol\twocolumn\fi} 419 | 420 | \def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} 421 | 422 | % FRONTMATTER environment 423 | % 424 | % Frontmatter --- title page, abstract page, 425 | % preface/acknowledgments -- are numbered differently than 426 | % the body of the thesis. 427 | 428 | \newenvironment{frontmatter} 429 | { \renewcommand{\thepage}{\roman{page}} %% lowercase roman numerals (global) 430 | \setcounter{page}{2} 431 | % Pagestyle removed by R. Jacob Vogelstein 30 Mar 2007 to allow use of fancyhdr 432 | %\pagestyle{botcenter} %% at bottom center of page (local) 433 | } 434 | { 435 | \newpage 436 | \renewcommand{\thepage}{\arabic{page}} %% end roman (global) 437 | \setcounter{page}{1} 438 | \pagestyle{plain} %% back to top right 439 | } 440 | 441 | 442 | % 443 | % VITA 444 | % 445 | % Optional: the vita page is the last page of the thesis and is a brief 446 | % biographical sketch. This "life" or "vita" should record the date and 447 | % location of the author's birth and the salient facts of his academic 448 | % training and experience in teaching and research. 449 | % 450 | % The vita environment is essentially a clone of Acknowledgments 451 | % MODIFIED BY R. Jacob Vogelstein 30 Mar 2007 to include section name in headers 452 | 453 | \def\vita{ 454 | \newpage 455 | \dsp 456 | \chapter*{\vitaname\@mkboth{\uppercase{\vitaname}}{\uppercase{\vitaname}}} 457 | \fmfont 458 | \vspace{8pt} 459 | \addcontentsline{toc}{chapter}{\vitaname} 460 | } 461 | 462 | \def\endvita{\par\vfil\null} 463 | 464 | 465 | 466 | % **************************************** 467 | % * LISTS * 468 | % **************************************** 469 | % 470 | 471 | % ENUMERATE 472 | % Enumeration is done with four counters: enumi, enumii, enumiii 473 | % and enumiv, where enumN controls the numbering of the Nth level 474 | % enumeration. The label is generated by the commands \labelenumi 475 | % ... \labelenumiv. The expansion of \p@enumN\theenumN defines the 476 | % output of a \ref command. 477 | % 478 | % 16 Mar 88 -- changed defs of \labelenum... to use \theenum... 479 | 480 | \def\labelenumi{\theenumi.} 481 | \def\theenumi{\arabic{enumi}} 482 | 483 | \def\labelenumii{(\theenumii)} 484 | \def\theenumii{\alph{enumii}} 485 | \def\p@enumii{\theenumi} 486 | 487 | \def\labelenumiii{\theenumiii.} 488 | \def\theenumiii{\roman{enumiii}} 489 | \def\p@enumiii{\theenumi(\theenumii)} 490 | 491 | \def\labelenumiv{\theenumiv.} 492 | \def\theenumiv{\Alph{enumiv}} 493 | \def\p@enumiv{\p@enumiii\theenumiii} 494 | 495 | % ITEMIZE 496 | % Itemization is controlled by four commands: \labelitemi, \labelitemii, 497 | % \labelitemiii, and \labelitemiv, which define the labels of the 498 | % various itemization levels. 499 | 500 | \def\labelitemi{$\m@th\bullet$} 501 | \def\labelitemii{\bfseries --} 502 | \def\labelitemiii{$\m@th\ast$} 503 | \def\labelitemiv{$\m@th\cdot$} 504 | 505 | 506 | % VERSE 507 | % The verse environment is defined by making clever use of the 508 | % list environment's parameters. The user types \\ to end a line. 509 | % This is implemented by \let'in \\ equal \@centercr. 510 | % 511 | \def\verse{\par\let\\=\@centercr 512 | \list{}{\ssp\itemsep\z@ \itemindent -1.5em\listparindent \itemindent 513 | \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]} 514 | \let\endverse\endlist 515 | 516 | % QUOTATION 517 | % Fills lines 518 | % Indents paragraph 519 | % 520 | \def\quotation{\par\list{}{\ssp\listparindent 1.5em 521 | \itemindent\listparindent 522 | \rightmargin\leftmargin\parsep \z@ plus\p@}\item[]} 523 | \let\endquotation=\endlist 524 | 525 | % QUOTE -- same as quotation except no paragraph indentation, 526 | % 527 | \def\quote{\par\list{}{\ssp\rightmargin\leftmargin}\item[]} 528 | \let\endquote=\endlist 529 | 530 | % DESCRIPTION 531 | % 532 | % To change the formatting of the label, you must redefine 533 | % \descriptionlabel. 534 | 535 | \def\descriptionlabel#1{\hspace\labelsep \bfseries #1} 536 | \def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin 537 | \let\makelabel\descriptionlabel}} 538 | 539 | \let\enddescription\endlist 540 | 541 | \newdimen\descriptionmargin 542 | \descriptionmargin=3em 543 | 544 | 545 | % **************************************** 546 | % * OTHER ENVIRONMENTS * 547 | % **************************************** 548 | % 549 | % 550 | % VERBATIM 551 | % 552 | % standard verbatim mode driver macro is modified to use 553 | % single-spacing. There appears to be a small problem with extra 554 | % vertical space (1 or 2 points worth) after this environment. 555 | % Probably, this results from returning to double-spacing before 556 | % issuing a \parskip, but I'm not enough of TeX hacker to figure out 557 | % the source of the problem. (EVM, 9/25/94) 558 | % 94/11/03 BBF converted \tt to \ttfamily 559 | 560 | \def\@verbatim{\trivlist\ssp \item[]\if@minipage\else\vskip\parskip\fi 561 | \leftskip\@totalleftmargin\rightskip\z@ 562 | \parindent\z@\parfillskip\@flushglue\parskip\z@ 563 | %%RmS 91/08/26 Added \@@par to clear possible \parshape definition 564 | %%from a surrounding list (the verbatim guru says) 565 | \@@par 566 | \@tempswafalse \def\par{\if@tempswa\hbox{}\fi\@tempswatrue\@@par 567 | \penalty\interlinepenalty}% 568 | \obeylines \ttfamily \catcode``=13 \@noligs \let\do\@makeother \dospecials} 569 | 570 | % ARRAY AND TABULAR 571 | % 572 | 573 | \arraycolsep 5pt % Half the space between columns in an array 574 | % environment. 575 | \tabcolsep 6pt % Half the space between columns in a tabular 576 | % environment. 577 | \arrayrulewidth .4pt % Width of rules in array and tabular environment. 578 | \doublerulesep 2pt % Space between adjacent rules in array or tabular 579 | % environment. 580 | 581 | % We have to redefine array here in order to make it single-spaced. 582 | % (Not sure if this is really necessary.) 583 | \def\array{\let\@acol\@arrayacol \let\@classz\@arrayclassz 584 | \let\@classiv\@arrayclassiv \let\\\@arraycr\let\@halignto\@empty\@tabarray} 585 | 586 | % TABBING 587 | % 588 | \tabbingsep \labelsep % Space used by the \' command. 589 | % (See LaTeX manual.) 590 | 591 | % We have to redefine tabular here in order to make it single-spaced. 592 | \def\tabular{\par\ssp\let\@halignto\@empty\@tabular} 593 | \expandafter \def\csname tabular*\endcsname #1% 594 | {\par\ssp\def\@halignto{to#1}\@tabular} 595 | 596 | % \smalltabular and \smalltabular* are alternative tabular styles 597 | % in the \small font. They are required because single-spacing implies a 598 | % change of font to a particular size. 599 | % EVM, 7/20/93 600 | \def\smalltabular{\par\smallssp\let\@halignto\@empty\@tabular} 601 | \def\endsmalltabular{\endtabular} 602 | \expandafter \def\csname smalltabular*\endcsname #1% 603 | {\par\smallssp\def\@halignto{to#1}\@tabular} 604 | \expandafter \let \csname endsmalltabular*\endcsname = \endtabular 605 | 606 | % \scriptsizetabular and \scriptsizetabular* are analogs of \smalltabular 607 | \def\scriptsizetabular{\par\scriptsizessp\let\@halignto\@empty\@tabular} 608 | \def\endscriptsizetabular{\endtabular} 609 | \expandafter \def\csname scriptsizetabular*\endcsname #1% 610 | {\par\scriptsizessp\def\@halignto{to#1}\@tabular} 611 | \expandafter \let \csname endscriptsizetabular*\endcsname = \endtabular 612 | 613 | % MINIPAGE 614 | % \@minipagerestore is called upon entry to a minipage environment to 615 | % set up things that are to be handled differently inside a minipage 616 | % environment. In the current styles, it does nothing. 617 | % 618 | % \skip\@mpfootins : plays same role for footnotes in a minipage as 619 | % \skip\footins does for ordinary footnotes 620 | 621 | \skip\@mpfootins = \skip\footins 622 | 623 | % FRAMEBOX 624 | % 625 | \fboxsep = 3pt % Space left between box and text by \fbox and 626 | % \framebox. 627 | \fboxrule = .4pt % Width of rules in box made by \fbox and \framebox. 628 | 629 | 630 | % **************************************** 631 | % * CHAPTERS AND SECTIONS * 632 | % **************************************** 633 | % 634 | % DEFINE COUNTERS: 635 | % 636 | % \newcounter{NEWCTR}[OLDCTR] : Defines NEWCTR to be a counter, which is 637 | % reset to zero when counter OLDCTR is 638 | % stepped. 639 | % Counter OLDCTR must already be defined. 640 | 641 | % Must redefine @startsection so that we always get indentation. 642 | \def\@startsection#1#2#3#4#5#6{\if@noskipsec \leavevmode \fi 643 | \par \@tempskipa #4\relax 644 | \@afterindenttrue 645 | \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \relax\fi 646 | \if@nobreak \everypar{}\else 647 | \addpenalty{\@secpenalty}\addvspace{\@tempskipa}\fi \@ifstar 648 | {\@ssect{#3}{#4}{#5}{#6}}{\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}} 649 | 650 | \newcounter {part} 651 | \newcounter {chapter} 652 | \newcounter {section}[chapter] 653 | \newcounter {subsection}[section] 654 | \newcounter {subsubsection}[subsection] 655 | \newcounter {paragraph}[subsubsection] 656 | \newcounter {subparagraph}[paragraph] 657 | 658 | % For any counter CTR, \theCTR is a macro that defines the printed 659 | % version of counter CTR. It is defined in terms of the following 660 | % macros: 661 | % 662 | % \arabic{COUNTER} : The value of COUNTER printed as an arabic numeral. 663 | % \roman{COUNTER} : Its value printed as a lower-case roman numberal. 664 | % \Roman{COUNTER} : Its value printed as an upper-case roman numberal. 665 | % \alph{COUNTER} : Value of COUNTER printed as a lower-case letter: 666 | % 1 = a, 2 = b, etc. 667 | % \Alph{COUNTER} : Value of COUNTER printed as an upper-case letter: 668 | % 1 = A, 2 = B, etc. 669 | % 670 | 671 | \def\thepart {\Roman{part}} 672 | \def\thechapter {\arabic{chapter}} 673 | \def\thesection {\thechapter.\arabic{section}} 674 | \def\thesubsection {\thesection.\arabic{subsection}} 675 | \def\thesubsubsection {\thesubsection .\arabic{subsubsection}} 676 | \def\theparagraph {\thesubsubsection.\arabic{paragraph}} 677 | \def\thesubparagraph {\theparagraph.\arabic{subparagraph}} 678 | 679 | % \@chapapp is initially defined to be '\chaptername'. The \appendix 680 | % command redefines it to be '\appendixname'. 681 | % 682 | \def\@chapapp{\chaptername} 683 | 684 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 685 | % PART % 686 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 687 | 688 | \def\part{\cleardoublepage % Starts new page. 689 | \thispagestyle{plain}% % Page style of part page is 'plain' 690 | \if@twocolumn % IF two-column style 691 | \onecolumn % THEN \onecolumn 692 | \@tempswatrue % @tempswa := true 693 | \else \@tempswafalse % ELSE @tempswa := false 694 | \fi % FI 695 | \hbox{}\vfil % Add fil glue to center title 696 | %% \bgroup \centering % BEGIN centering %% Removed 19 Jan 88 697 | \dsp % 30 Mar 07 Added by RJV to restore spacing at chapter boundaries 698 | \secdef\@part\@spart} 699 | 700 | \def\@part[#1]#2{\ifnum \c@secnumdepth >-2\relax % IF secnumdepth > -2 701 | \refstepcounter{part}% % THEN step 702 | % part counter 703 | \addcontentsline{toc}{part}{\thepart % add toc line 704 | \hspace{1em}#1}\else % ELSE add 705 | % unnumb. line 706 | \addcontentsline{toc}{part}{#1}\fi % FI 707 | \markboth{}{}% 708 | {\centering % %% added 19 Jan 88 709 | \interlinepenalty \@M %% RmS added 11 Nov 91 710 | \ifnum \c@secnumdepth >-2\relax % IF secnumdepth > -2 711 | \huge\bfseries \partname~\thepart % THEN Print '\partname' and 712 | \par % number in \huge bold. 713 | \vskip 20\p@\fi % Add space before title. 714 | \Huge \bfseries % FI 715 | #2\par}\@endpart} % Print Title in \Huge bold. 716 | % Bug Fix 13 Nov 89: #1 -> #2 717 | 718 | 719 | % \@endpart finishes the part page 720 | % 721 | \def\@endpart{\vfil\newpage % End page with 1fil glue. 722 | \if@twoside % IF twoside printing 723 | \hbox{}% % THEN Produce totally blank page 724 | \thispagestyle{empty}% 725 | \newpage 726 | \fi % FI 727 | \if@tempswa % IF @tempswa = true 728 | \twocolumn % THEN \twocolumn 729 | \fi} % FI 730 | 731 | \def\@spart#1{{\centering % %% added 19 Jan 88 732 | \interlinepenalty \@M %% RmS added 11 Nov 91 733 | \Huge \bfseries % Print title in \Huge boldface 734 | #1\par}\@endpart} 735 | 736 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 737 | % CHAPTER % 738 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 739 | % Added by R. Jacob Vogelstein 30 Mar 2007 to fix spacing on chapter pages 740 | % (including Table of Contents, List of Figures, etc. ) 741 | 742 | \def\chapter{ 743 | \clearpage 744 | \thispagestyle{plain} 745 | \if@twocolumn % IF two-column style 746 | \onecolumn % THEN \onecolumn 747 | \@tempswatrue % @tempswa := true 748 | \else \@tempswafalse % ELSE @tempswa := false 749 | \fi 750 | \dsp % double spacing 751 | \secdef\@chapter\@schapter} 752 | 753 | 754 | 755 | % **************************************** 756 | % * TABLE OF CONTENTS, ETC. * 757 | % **************************************** 758 | % 759 | % A \subsection command writes a 760 | % \contentsline{subsection}{TITLE}{PAGE} 761 | % command on the .toc file, where TITLE contains the contents of the 762 | % entry and PAGE is the page number. If subsections are being numbered, 763 | % then TITLE will be of the form 764 | % \numberline{NUM}{HEADING} 765 | % where NUM is the number produced by \thesubsection. Other sectioning 766 | % commands work similarly. 767 | % 768 | % A \caption command in a 'figure' environment writes 769 | % \contentsline{figure}{\numberline{NUM}{CAPTION}}{PAGE} 770 | % on the .lof file, where NUM is the number produced by \thefigure and 771 | % CAPTION is the figure caption. It works similarly for a 'table' 772 | % environment. 773 | % 774 | % The command \contentsline{NAME} expands to \l@NAME. So, to specify 775 | % the table of contents, we must define \l@chapter, \l@section, 776 | % \l@subsection, ... ; to specify the list of figures, we must define 777 | % \l@figure; and so on. Most of these can be defined with the 778 | % \@dottedtocline command, which works as follows. 779 | % 780 | % \@dottedtocline{LEVEL}{INDENT}{NUMWIDTH}{TITLE}{PAGE} 781 | % LEVEL : An entry is produced only if LEVEL < or = value of 782 | % 'tocdepth' counter. Note, \chapter is level 0, \section 783 | % is level 1, etc. 784 | % INDENT : The indentation from the outer left margin of the start 785 | % of the contents line. 786 | % NUMWIDTH : The width of a box in which the section number is to go, 787 | % if TITLE includes a \numberline command. 788 | % 789 | % This command uses the following three parameters, which are set 790 | % with a \def (so em's can be used to make them depend upon the font). 791 | % \@pnumwidth : The width of a box in which the page number is put. 792 | % \@tocrmarg : The right margin for multiple line entries. One 793 | % wants \@tocrmarg > or = \@pnumwidth 794 | % \@dotsep : Separation between dots, in mu units. Should be 795 | % \def'd to a number like 2 or 1.7 796 | 797 | \def\@pnumwidth{1.55em} 798 | \def\@tocrmarg {2.55em} 799 | \def\@dotsep{4.5} 800 | \setcounter{tocdepth}{3} 801 | 802 | 803 | % TABLEOFCONTENTS 804 | % In ucthesis style, \tableofcontents, \listoffigures, etc. are always 805 | % set in single-column style. @restonecol 806 | 807 | \def\tableofcontents{\@restonecolfalse 808 | \if@twocolumn\@restonecoltrue\onecolumn\fi 809 | %%%%% take care of getting page number in right spot %%%%% 810 | \clearpage % starts new page 811 | \thispagestyle{botcenter} % Page style of frontmatter is botcenter 812 | \global\@topnum\z@ % Prevents figures from going at top of page 813 | %%%%% 814 | \@schapter{\contentsname 815 | \@mkboth{\uppercase{\contentsname}}{\uppercase{\contentsname}}}% 816 | {\ssp\@starttoc{toc}}\if@restonecol\twocolumn\fi} 817 | 818 | \def\l@part#1#2{\addpenalty{-\@highpenalty}% 819 | \addvspace{2.25em plus\p@}% space above part line 820 | \begingroup 821 | \@tempdima 3em % width of box holding part number, used by 822 | \parindent \z@ \rightskip \@pnumwidth %% \numberline 823 | \parfillskip -\@pnumwidth 824 | {\large \bfseries % set line in \large boldface 825 | \leavevmode % TeX command to enter horizontal mode. 826 | #1\hfil \hbox to\@pnumwidth{\hss #2}}\par 827 | \nobreak % Never break after part entry 828 | \global\@nobreaktrue %% Added 24 May 89 as 829 | \everypar{\global\@nobreakfalse\everypar{}}%% suggested by 830 | %% Jerry Leichter 831 | \endgroup} 832 | 833 | %% First line of l@chapter changed 24 May 89, as suggested 834 | %% by Jerry Leichter. 835 | %% 836 | \def\l@chapter#1#2{\addpenalty{-\@highpenalty}% 837 | \dsp % 30 Mar 07 Added by RJV to restore spacing at chapter boundaries 838 | \vskip 1.0em plus\p@ % space above chapter line 839 | \@tempdima 1.5em % width of box holding chapter number 840 | \begingroup 841 | \parindent \z@ \rightskip \@pnumwidth 842 | \parfillskip -\@pnumwidth 843 | \bfseries % Boldface. 844 | \leavevmode % TeX command to enter horizontal mode. 845 | \advance\leftskip\@tempdima %% added 5 Feb 88 to conform to 846 | \hskip -\leftskip %% 25 Jan 88 change to \numberline 847 | #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par 848 | \penalty\@highpenalty %% added 24 May 89, suggested by J. Leichter 849 | \endgroup} 850 | 851 | \def\l@section{\@dottedtocline{1}{1.5em}{2.3em}} 852 | \def\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}} 853 | \def\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} 854 | \def\l@paragraph{\@dottedtocline{4}{10em}{5em}} 855 | \def\l@subparagraph{\@dottedtocline{5}{12em}{6em}} 856 | 857 | % LIST OF FIGURES 858 | % 859 | % Single-space list of figures, add it to the table of contents. 860 | 861 | \def\listoffigures{\@restonecolfalse 862 | \if@twocolumn\@restonecoltrue\onecolumn\fi 863 | %%%%% take care of getting page number in right spot %%%%% 864 | \clearpage 865 | \thispagestyle{botcenter} % Page style of frontmatter is botcenter 866 | \global\@topnum\z@ % Prevents figures from going at top of page. 867 | \@schapter{\listfigurename\@mkboth{\uppercase{\listfigurename}}% 868 | {\uppercase{\listfigurename}}} 869 | \addcontentsline{toc}{chapter}{\listfigurename} 870 | {\ssp\@starttoc{lof}}\if@restonecol\twocolumn\fi} 871 | 872 | \def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} 873 | 874 | % LIST OF TABLES 875 | % 876 | % single-space list of tables, add it to the table of contents. 877 | 878 | \def\listoftables{\@restonecolfalse 879 | \if@twocolumn\@restonecoltrue\onecolumn\fi 880 | %%%%% take care of getting page number in right spot %%%%% 881 | \clearpage 882 | \thispagestyle{botcenter} % Page style of front matter is botcenter 883 | \global\@topnum\z@ % Prevents figures from going at top of page. 884 | \@schapter{\listtablename\@mkboth{\uppercase{\listtablename}}% 885 | {\uppercase{\listtablename}}} 886 | \addcontentsline{toc}{chapter}{\listtablename} 887 | {\ssp\@starttoc{lot}}\if@restonecol\twocolumn\fi} 888 | 889 | \let\l@table\l@figure 890 | 891 | 892 | 893 | % **************************************** 894 | % * BIBLIOGRAPHY * 895 | % **************************************** 896 | % 897 | % The thebibliography environment executes the following commands: 898 | % 899 | % \def\newblock{\hskip .11em plus .33em minus .07em} -- 900 | % Defines the `closed' format, where the blocks (major units of 901 | % information) of an entry run together. 902 | % 903 | % \sloppy -- Used because it's rather hard to do line breaks in 904 | % bibliographies, 905 | % 906 | % \sfcode`\.=1000\relax -- 907 | % Causes a `.' (period) not toproduce an end-of-sentence space. 908 | 909 | %% RmS 91/10/27 [ .. ] replaced by \@biblabel{ .. } 910 | %% RmS 91/11/13: Changed counter enumi to enumiv, 911 | %% as it says in the comment in latex.tex 912 | %% RmS 92/01/14: Set \p@enumiv to {} and \theenumiv to \arabic{enumiv} 913 | %% to get correct references 914 | \def\thebibliography#1{\chapter*{\bibname\@mkboth 915 | {\uppercase{\bibname}}{\uppercase{\bibname}}} 916 | \addcontentsline{toc}{chapter}{\bibname} 917 | \list{\@biblabel{\arabic{enumiv}}}{\settowidth\labelwidth{\@biblabel{#1}}% 918 | \leftmargin\labelwidth 919 | \advance\leftmargin\labelsep 920 | \usecounter{enumiv}% 921 | \let\p@enumiv\@empty 922 | \def\theenumiv{\arabic{enumiv}}}% 923 | \def\newblock{\hskip .11em plus.33em minus.07em}% 924 | \sloppy\clubpenalty4000\widowpenalty4000 925 | \sfcode`\.=\@m} 926 | 927 | 928 | %% 91/08/26 FMI & RmS: introduced warning instead of error 929 | 930 | \def\endthebibliography{% 931 | \def\@noitemerr{\@warning{Empty `thebibliography' environment}}% 932 | \endlist} 933 | 934 | 935 | % \def\@biblabel#1{[#1]\hfill} % Produces the label for a \bibitem[...] 936 | % command. 937 | % \def\@cite#1{[#1]} % Produces the output of the \cite 938 | % command. 939 | 940 | 941 | 942 | % **************************************** 943 | % * THE INDEX * 944 | % **************************************** 945 | % 946 | % THE THEINDEX ENVIRONMENT 947 | % Produces double column format, with each paragraph a separate entry. 948 | % The user commands \item, \subitem and \subsubitem are used to 949 | % produce the entries, and \indexspace adds an extra vertical space 950 | % that's the right size to put above the first entry with a new letter 951 | % of the alphabet. 952 | 953 | \newif\if@restonecol 954 | 955 | \def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi 956 | \columnseprule \z@ 957 | \columnsep 35\p@\twocolumn[\@makeschapterhead{\indexname}]% 958 | \@mkboth{\uppercase{\indexname}}{\uppercase{\indexname}}% 959 | \thispagestyle{plain}\parindent\z@ 960 | \parskip\z@ plus .3\p@\relax\let\item\@idxitem} 961 | 962 | \def\@idxitem{\par\hangindent 40\p@} 963 | 964 | \def\subitem{\par\hangindent 40\p@ \hspace*{20\p@}} 965 | 966 | \def\subsubitem{\par\hangindent 40\p@ \hspace*{30\p@}} 967 | 968 | \def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi} 969 | 970 | \def\indexspace{\par \vskip 10\p@ plus5\p@ minus3\p@\relax} 971 | 972 | 973 | % **************************************** 974 | % * FOOTNOTES * 975 | % **************************************** 976 | % 977 | % \footnoterule is a macro to draw the rule separating the footnotes 978 | % from the text. It should take zero vertical space, so it needs a 979 | % negative skip to compensate for any positive space taken by the rule. 980 | % (See PLAIN.TEX.) 981 | 982 | \def\footnoterule{\kern-3\p@ 983 | \hrule width .4\columnwidth 984 | \kern 2.6\p@} % The \hrule has default height of .4pt. 985 | 986 | % \newcounter{footnote} 987 | \@addtoreset{footnote}{chapter} % Numbers footnotes within chapters 988 | 989 | % \@makefntext{NOTE} : 990 | % Must produce the actual footnote, using \@thefnmark as the mark 991 | % of the footnote and NOTE as the text. It is called when 992 | % effectively inside a \parbox of width \columnwidth (i.e., with 993 | % \hsize = \columnwidth). 994 | % 995 | % The following macro indents all lines of the footnote by 10pt, 996 | % and indents the first line of a new paragraph by 1em. To 997 | % change these dimensions, just substitute the desired value for 998 | % '10pt' [in both places] or '1em'. The mark is flushright 999 | % against the footnote. 1000 | % \long\def\@makefntext#1{\@setpar{\@@par\@tempdima \hsize 1001 | % \advance\@tempdima-10pt\parshape \@ne 10pt \@tempdima}\par 1002 | % \parindent 1em\noindent 1003 | % \hbox to \z@{\hss$\m@th^{\@thefnmark}$}#1} 1004 | % 1005 | % A simpler macro is used, in which the footnote text is 1006 | % set like an ordinary text paragraph, with no indentation except 1007 | % on the first line of a paragraph, and the first line of the 1008 | % footnote. Thus, all the macro must do is set \parindent 1009 | % to the appropriate value for succeeding paragraphs and put the 1010 | % proper indentation before mark. 1011 | 1012 | \long\def\@makefntext#1{\parindent 1em\noindent 1013 | \hbox to 1.8em{\hss$\m@th^{\@thefnmark}$}#1} 1014 | 1015 | % \@makefnmark : A macro to generate the footnote marker that goes 1016 | % in the text. Default used. 1017 | % 1018 | 1019 | 1020 | % Single-space footnotes. 1021 | \long\def\@footnotetext#1{\insert\footins{\ssp\reset@font\footnotesize 1022 | \interlinepenalty\interfootnotelinepenalty 1023 | \splittopskip\footnotesep 1024 | \splitmaxdepth \dp\strutbox \floatingpenalty \@MM 1025 | \hsize\columnwidth \@parboxrestore 1026 | \edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext 1027 | {\rule{\z@}{\footnotesep}\ignorespaces 1028 | #1\strut}}} 1029 | 1030 | % **************************************** 1031 | % * FIGURES AND TABLES * 1032 | % **************************************** 1033 | % 1034 | % Float placement parameters. See LaTeX manual for their definition. 1035 | % 1036 | \setcounter{topnumber}{2} 1037 | \def\topfraction{.7} 1038 | \setcounter{bottomnumber}{1} 1039 | \def\bottomfraction{.3} 1040 | \setcounter{totalnumber}{3} 1041 | \def\textfraction{.2} 1042 | \def\floatpagefraction{.5} 1043 | \setcounter{dbltopnumber}{2} 1044 | \def\dbltopfraction{.7} 1045 | \def\dblfloatpagefraction{.5} 1046 | 1047 | % \@makecaption{NUMBER}{TEXT} : Macro to make a figure or table caption. 1048 | % NUMBER : Figure or table number--e.g., 'Figure 3.2' 1049 | % TEXT : The caption text. 1050 | % Macro should be called inside a \parbox of right width, with 1051 | % \normalsize. 1052 | % changed 25 Jun 86 to fix according to Howard Trickey: 1053 | % instead of \unhbox\@tempboxa\par we do #1: #2\par 1054 | 1055 | % 15 Nov 93: further changes to support captions BEFORE the figure 1056 | % or table. Changes suggested by Donald Arseneau, installed by Ethan 1057 | % Munson. Detailed reasons are: 1058 | % The \unhbox allows \vadjust material (\vspace) to get out; 1059 | % the \vbox to\topskip{} is for captions at the top of top-floats; 1060 | % the \ifdim is for captions above the figure or table; 1061 | % the strut is for tables below the caption. 1062 | 1063 | \long\def\@makecaption#1#2{% Add space only if something is ... 1064 | \par\ifdim\prevdepth>-\p@ \vskip 10\p@\relax \fi % above the caption 1065 | \setbox\@tempboxa\hbox{\vbox to\topskip{}#1: #2\unskip\strut}% 1066 | \ifdim \wd\@tempboxa >\hsize % IF longer than one line: 1067 | {\ssp#1: #2\unskip\strut\par} % THEN set as ordinary paragraph. 1068 | \else % ELSE center. 1069 | \hbox to\hsize{\hfil\unhbox\@tempboxa\hfil}% 1070 | \fi} 1071 | 1072 | % To define a float of type TYPE (e.g., TYPE = figure), the document 1073 | % style must define the following. 1074 | % 1075 | % \fps@TYPE : The default placement specifier for floats of type 1076 | % TYPE. 1077 | % 1078 | % \ftype@TYPE : The type number for floats of type TYPE. Each TYPE 1079 | % has associated a unique positive TYPE NUMBER, which 1080 | % is a power of two. E.g., figures might have type 1081 | % number 1, tables type number 2, programs type number 1082 | % 4, etc. 1083 | % 1084 | % \ext@TYPE : The file extension indicating the file on which the 1085 | % contents list for float type TYPE is stored. For 1086 | % example, \ext@figure = 'lof'. 1087 | % 1088 | % \fnum@TYPE : A macro to generate the figure number for a caption. 1089 | % For example, \fnum@TYPE == Figure \thefigure. 1090 | % 1091 | % The actual float-making environment commands--e.g., the commands 1092 | % \figure and \endfigure--are defined in terms of the macros \@float 1093 | % and \end@float, which are described below. 1094 | % 1095 | % \@float{TYPE}[PLACEMENT] : Macro to begin a float environment for a 1096 | % single-column float of type TYPE with PLACEMENT as the placement 1097 | % specifier. The default value of PLACEMENT is defined by 1098 | % \fps@TYPE. The environment is ended by \end@float. E.g., 1099 | % \figure == \@float{figure}, \endfigure == \end@float. 1100 | 1101 | 1102 | % FIGURE 1103 | 1104 | \newcounter{figure}[chapter] 1105 | \def\thefigure{\thechapter.\@arabic\c@figure} 1106 | 1107 | \def\fps@figure{tbp} 1108 | \def\ftype@figure{1} 1109 | \def\ext@figure{lof} 1110 | \def\fnum@figure{\figurename~\thefigure} 1111 | \def\figure{\@float{figure}} 1112 | \let\endfigure\end@float 1113 | \@namedef{figure*}{\@dblfloat{figure}} 1114 | \@namedef{endfigure*}{\end@dblfloat} 1115 | 1116 | % TABLE 1117 | % 1118 | \newcounter{table}[chapter] 1119 | \def\thetable{\thechapter.\@arabic\c@table} 1120 | 1121 | \def\fps@table{tbp} 1122 | \def\ftype@table{2} 1123 | \def\ext@table{lot} 1124 | \def\fnum@table{\tablename~\thetable} 1125 | \def\table{\@float{table}} 1126 | \let\endtable\end@float 1127 | \@namedef{table*}{\@dblfloat{table}} 1128 | \@namedef{endtable*}{\end@dblfloat} 1129 | 1130 | 1131 | % **************************************** 1132 | % * PAGE STYLES * 1133 | % **************************************** 1134 | % 1135 | % The page style 'foo' is defined by defining the command \ps@foo. This 1136 | % command should make only local definitions. There should be no stray 1137 | % spaces in the definition, since they could lead to mysterious extra 1138 | % spaces in the output. 1139 | % 1140 | % The \ps@... command defines the macros \@oddhead, \@oddfoot, 1141 | % \@evenhead, and \@evenfoot to define the running heads and 1142 | % feet---e.g., \@oddhead is the macro to produce the contents of the 1143 | % heading box for odd-numbered pages. It is called inside an \hbox of 1144 | % width \textwidth. 1145 | % 1146 | % To make headings determined by the sectioning commands, the page style 1147 | % defines the commands \chaptermark, \sectionmark, ... , where 1148 | % \chaptermark{TEXT} is called by \chapter to set a mark, and so on. 1149 | % The \...mark commands and the \...head macros are defined with the 1150 | % help of the following macros. (All the \...mark commands should be 1151 | % initialized to no-ops.) 1152 | % 1153 | % MARKING CONVENTIONS: 1154 | % LaTeX extends TeX's \mark facility by producing two kinds of marks 1155 | % a 'left' and a 'right' mark, using the following commands: 1156 | % \markboth{LEFT}{RIGHT} : Adds both marks. 1157 | % \markright{RIGHT} : Adds a 'right' mark. 1158 | % \leftmark : Used in the \@oddhead, \@oddfoot, \@evenhead or 1159 | % \@evenfoot macro, gets the current 'left' mark. 1160 | % Works like TeX's \botmark command. 1161 | % \rightmark : Used in the \@oddhead, \@oddfoot, \@evenhead or 1162 | % \@evenfoot macro, gets the current 'right' mark. 1163 | % Works like TeX's \firstmark command. 1164 | % The marking commands work reasonably well for right marks 'numbered 1165 | % within' left marks--e.g., the left mark is changed by a \chapter 1166 | % command and the right mark is changed by a \section command. However, 1167 | % it does produce somewhat anomalous results if two \bothmark's occur on 1168 | % the same page. 1169 | % 1170 | % 1171 | % Commands like \tableofcontents that should set the marks in some 1172 | % page styles use a \@mkboth command, which is \let by the pagestyle 1173 | % command (\ps@...) to \markboth for setting the heading or 1174 | % \@gobbletwo to do nothing. 1175 | 1176 | \mark{{}{}} % Initializes TeX's marks 1177 | 1178 | % \ps@empty defined in LATEX.TEX 1179 | 1180 | % Definition of 'headings' page style 1181 | % Note the use of ##1 for parameter of \def\chaptermark inside the 1182 | % \def\ps@headings. 1183 | % 1184 | % 91/03/26 FMi: Added extra set of braces arround |\sl| in |\@oddhead| 1185 | % to support NFSS (|\sl| is a shape |\rm| a family). Also remove 1186 | % unnecessary |\hbox{}| commands. 1187 | % 1188 | % 94/11/3 BBF: Eliminated two letter font selection commands \rm and \sl 1189 | % in favor of \rmfamily and \slshape. 1190 | % 1191 | 1192 | \if@twoside % If two-sided printing. 1193 | \def\ps@headings{\let\@mkboth\markboth 1194 | \def\@oddfoot{}\def\@evenfoot{}% No feet. 1195 | \def\@evenhead{\rmfamily \thepage\hfil \slshape \leftmark}% Left heading. 1196 | \def\@oddhead{{\slshape \rightmark}\hfil \rmfamily\thepage}% Right heading. 1197 | \def\chaptermark##1{\markboth {\uppercase{\ifnum \c@secnumdepth >\m@ne 1198 | \@chapapp\ \thechapter. \ \fi ##1}}{}}% 1199 | \def\sectionmark##1{\markright {\uppercase{\ifnum \c@secnumdepth >\z@ 1200 | \thesection. \ \fi ##1}}}} 1201 | \else % If one-sided printing. 1202 | \def\ps@headings{\let\@mkboth\markboth 1203 | \def\@oddfoot{}\def\@evenfoot{}% No feet. 1204 | \def\@oddhead{{\slshape \rightmark}\hfil \rmfamily\thepage}% Heading. 1205 | \def\chaptermark##1{\markright {\uppercase{\ifnum \c@secnumdepth >\m@ne 1206 | \@chapapp\ \thechapter. \ \fi ##1}}}} 1207 | \fi 1208 | 1209 | % Definition of 'myheadings' page style. 1210 | % 1211 | \def\ps@myheadings{\let\@mkboth\@gobbletwo 1212 | \def\@oddhead{{\slshape\rightmark}\hfil \rmfamily\thepage}% 1213 | \def\@oddfoot{}\def\@evenhead{\rmfamily \thepage\hfil\slshape\leftmark}% 1214 | \def\@evenfoot{}\def\chaptermark##1{}\def\sectionmark##1{}% 1215 | \def\subsectionmark##1{}} 1216 | 1217 | % Definition of 'plain' page style. 1218 | % 1219 | \def\ps@plain{\let\@mkboth\markboth 1220 | \def\@oddfoot{}\def\@evenfoot{} % no feet 1221 | \def\@oddhead{\hbox{}\hfil\rmfamily\thepage} % heading (right) 1222 | \def\@evenhead{\rmfamily\thepage\hfil\hbox{}}} % heading (left) 1223 | 1224 | 1225 | % Definition of 'topcenter' page style; page number is centered 1226 | % at the top of the page; used by \chapter pages. 1227 | % 1228 | \def\ps@topcenter{% 1229 | \let\@mkboth\markboth 1230 | \def\@oddfoot{}\def\@evenfoot{}% % no feet 1231 | \def\@oddhead{\rm\hfil\thepage\hfil}% % centered page number 1232 | \let\@evenhead\@oddhead 1233 | } 1234 | 1235 | % Definition of 'topright' pagestyle; pagenumber is at top, right 1236 | % corner of text page; used by main text pages and end material 1237 | % 1238 | \def\ps@topright{% 1239 | \let\@mkboth\markboth 1240 | \def\@oddfoot{}\def\@evenfoot{}% % no feet 1241 | \def\@oddhead{\rm\hfil\thepage}% % flushright pg no 1242 | \def\@evenhead{\rm\thepage\hfil} 1243 | } 1244 | 1245 | % Definition of 'botcenter' pagestyle; pagenumber is centered at the 1246 | % bottom of the page; used by front material 1247 | \def\ps@botcenter{% 1248 | \let\@mkboth\markboth 1249 | \def\@oddfoot{\rm\hfil\thepage\hfil} % 1250 | \let\@evenfoot\@oddfoot% % centered page number 1251 | \def\@oddhead{}% % no head 1252 | \let\@evenhead\@oddhead 1253 | } 1254 | 1255 | % **************************************** 1256 | % * MISCELLANEOUS * 1257 | % **************************************** 1258 | % 1259 | % DATE 1260 | % 1261 | \def\today{\ifcase\month\or 1262 | January\or February\or March\or April\or May\or June\or 1263 | July\or August\or September\or October\or November\or December\fi 1264 | \space\number\day, \number\year} 1265 | 1266 | % EQUATION and EQNARRAY -- put here because it must follow \chapter 1267 | % definition 1268 | % 1269 | % \newcounter{equation} 1270 | % 1271 | \@addtoreset{equation}{chapter} % Makes \chapter reset 'equation' 1272 | % counter. 1273 | 1274 | \def\theequation{\thechapter.\arabic{equation}} 1275 | 1276 | % \jot = 3pt % Extra space added between lines of an eqnarray 1277 | % environment 1278 | 1279 | % The macro \@eqnnum defines how equation numbers are to appear in 1280 | % equations. 1281 | % 1282 | % \def\@eqnnum{(\theequation)} 1283 | % 1284 | 1285 | 1286 | % **************************************** 1287 | % * INITIALIZATION * 1288 | % **************************************** 1289 | % 1290 | % Default initializations 1291 | 1292 | \ps@botcenter % 'botcenter' page style for all 1293 | \pagenumbering{arabic} % Arabic page numbers 1294 | \if@twoside\else\raggedbottom\fi % Ragged bottom unless twoside 1295 | % option. 1296 | \if@twocolumn 1297 | \@@input twocolum.sty\relax 1298 | \else 1299 | \onecolumn % Single-column. 1300 | \fi 1301 | 1302 | \endinput 1303 | 1304 | % vim: filetype=tex 1305 | --------------------------------------------------------------------------------