| 1 |
% \iffalse meta-comment |
| 2 |
% |
| 3 |
% Copyright (C) 2021 by Brandeis University <[email protected]> |
| 4 |
% ------------------------------------------------------- |
| 5 |
% |
| 6 |
% This file may be distributed and/or modified under the |
| 7 |
% conditions of the LaTeX Project Public License, either version 1.3 |
| 8 |
% of this license or (at your option) any later version. |
| 9 |
% The latest version of this license is in: |
| 10 |
% |
| 11 |
% http://www.latex-project.org/lppl.txt |
| 12 |
% |
| 13 |
% and version 1.3 or later is part of all distributions of LaTeX |
| 14 |
% version 2005/12/01 or later. |
| 15 |
% |
| 16 |
% \fi |
| 17 |
% |
| 18 |
% \iffalse |
| 19 |
%<*driver> |
| 20 |
\ProvidesFile{brandeis-thesis.dtx} |
| 21 |
%</driver> |
| 22 |
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01] |
| 23 |
%<package>\ProvidesClass{brandeis-thesis} |
| 24 |
%<*package> |
| 25 |
[2023/08/15 v3.3 .dtx brandeis-thesis file] |
| 26 |
%</package> |
| 27 |
%<package>\LoadClass[12pt,oneside]{book} |
| 28 |
%<package>\RequirePackage[immediate]{silence} |
| 29 |
%<package>\WarningFilter{latex}{Command} % silence the warning |
| 30 |
%<package>\RequirePackage{sectsty} |
| 31 |
%<package>\RequirePackage[margin=1in]{geometry} |
| 32 |
%<package>\RequirePackage{setspace} |
| 33 |
%<package>\RequirePackage{titlesec} |
| 34 |
%<package>\RequirePackage[utf8]{inputenc} |
| 35 |
%<package>\RequirePackage[english]{babel} |
| 36 |
%<package>\RequirePackage{csquotes} |
| 37 |
%<package>\RequirePackage{mathptmx} |
| 38 |
%<package>\RequirePackage{tocloft} |
| 39 |
%<package>\allsectionsfont{\normalsize\bfseries} |
| 40 |
%<package>\renewcommand{\cftchapfont}{\normalfont} |
| 41 |
%<package>\renewcommand{\cftchappagefont}{\normalfont} |
| 42 |
%<package>\titleformat{\chapter}{\normalsize\centering\uppercase}{}{0ex}{} |
| 43 |
%<package>\titleformat*{\section}{\normalsize\bfseries} |
| 44 |
%<package>\titleformat*{\subsection}{\normalsize\bfseries} |
| 45 |
%<package>\titleformat*{\subsubsection}{\normalsize} |
| 46 |
%<package>\titlespacing*{\chapter}{0 pt}{-\baselineskip}{0 pt} |
| 47 |
|
| 48 |
%<package>\newcommand{\sectionbreak}{\clearpage} |
| 49 |
%<package>\titlespacing*{\section}{0 pt}{-\baselineskip}{0 pt} |
| 50 |
%<package>\titlespacing*{\subsection}{0 pt}{-\baselineskip}{0 pt} |
| 51 |
%<package>\titlespacing*{\subsubsection}{0 pt}{-\baselineskip}{0 pt} |
| 52 |
%<package>\setcounter{secnumdepth}{-1} |
| 53 |
%<package>\AtBeginEnvironment{quote}{\singlespacing} |
| 54 |
%<package>\pagestyle{plain} |
| 55 |
%<package>\newcommand\graduationmonth[1]{\def\@graduationmonth{#1}} |
| 56 |
%<package>\newcommand\graduationyear[1]{\def\@graduationyear{#1}} |
| 57 |
%<package>\newcommand\program[1]{\def\@program{#1}} |
| 58 |
%<package>\newcommand\advisor[1]{\def\@advisor{#1}} |
| 59 |
%<package>\newcommand\degreetype[1]{\def\@degreetype{#1}} |
| 60 |
%<package>\renewcommand\cfttoctitlefont{\normalsize} |
| 61 |
%<package>\renewcommand\cftlottitlefont{\normalsize} |
| 62 |
%<package>\renewcommand\cftloftitlefont{\normalsize} |
| 63 |
|
| 64 |
%<package>\addto\captionsenglish{\renewcommand*\contentsname{\hfill TABLE OF CONTENTS \hfill}} |
| 65 |
%<package>\renewcommand{\cftaftertoctitle}{\hfill} |
| 66 |
%<package>\renewcommand{\cftbeforetoctitleskip}{-24pt} |
| 67 |
%<package>\renewcommand{\cftaftertoctitleskip}{0em} |
| 68 |
%<package>\renewcommand{\cftbeforeloftitleskip}{-24pt} |
| 69 |
%<package>\renewcommand{\cftafterloftitleskip}{0em} |
| 70 |
%<package>\renewcommand{\cftbeforelottitleskip}{-24pt} |
| 71 |
%<package>\renewcommand{\cftafterlottitleskip}{0em} |
| 72 |
%<package>\addto\captionsenglish{\renewcommand*\listfigurename{\hfill LIST OF FIGURES}} |
| 73 |
%<package>\renewcommand{\cftafterloftitle}{\hfill} |
| 74 |
%<package>\addto\captionsenglish{\renewcommand*\listtablename{\hfill LIST OF TABLES}} |
| 75 |
%<package>\renewcommand{\cftafterlottitle}{\hfill} |
| 76 |
%<package>% \setlength{\topmargin}{1in} |
| 77 |
%<package>\setcounter{secnumdepth}{-1} |
| 78 |
%<package>\renewcommand*\l@section{\@dottedtocline{1}{2em}{1.0em}} |
| 79 |
%<package>\renewcommand*\l@chapter{\@dottedtocline{1}{0em}{1.0em}} |
| 80 |
|
| 81 |
|
| 82 |
%<package> |
| 83 |
% |
| 84 |
%<*package> |
| 85 |
\newcommand{\maketitlepage}{ |
| 86 |
\pagenumbering{gobble} |
| 87 |
%\newgeometry{top=1.75in} |
| 88 |
\begin{center} |
| 89 |
\@title\\ |
| 90 |
\vspace{1em} |
| 91 |
A Master's Thesis\\ |
| 92 |
\vspace{1em} |
| 93 |
Presented to\\ |
| 94 |
\vspace{1em} |
| 95 |
The Faculty of the Graduate School of Arts and Sciences\\ |
| 96 |
Brandeis University\\ |
| 97 |
\vspace{1em} |
| 98 |
\@program\\ |
| 99 |
\vspace{1em} |
| 100 |
\@advisor, Advisor\\ |
| 101 |
\vspace{1em} |
| 102 |
In Partial Fulfillment\\ |
| 103 |
of the Requirements for the Degree\\ |
| 104 |
Master of \@degreetype\\ |
| 105 |
\vspace{1em} |
| 106 |
by\\ |
| 107 |
\vspace{1em} |
| 108 |
\@author\\ |
| 109 |
\vspace{1em} |
| 110 |
\@graduationmonth\,\@graduationyear |
| 111 |
\end{center} |
| 112 |
\restoregeometry |
| 113 |
\newpage |
| 114 |
\pagenumbering{roman} |
| 115 |
\setcounter{page}{2} |
| 116 |
} |
| 117 |
%</package> |
| 118 |
%<*package> |
| 119 |
% \newcommand{\makecopyright}{ |
| 120 |
% \pagenumbering{gobble} |
| 121 |
% \newgeometry{top=6.2in} |
| 122 |
% \begin{center} |
| 123 |
% Copyright by\\ |
| 124 |
% \@author{}\\ |
| 125 |
% \vspace{1em} |
| 126 |
% \@graduationyear{} |
| 127 |
% \end{center} |
| 128 |
% \restoregeometry |
| 129 |
% \newpage |
| 130 |
% \pagenumbering{roman} |
| 131 |
% \setcounter{page}{3} |
| 132 |
% } |
| 133 |
%</package> |
| 134 |
%<*package> |
| 135 |
\newenvironment{thesis-abstract} |
| 136 |
{ |
| 137 |
%\newgeometry{top=1.4in} |
| 138 |
\begin{center} |
| 139 |
\MakeUppercase{Abstract}\\ |
| 140 |
\vspace{1em} |
| 141 |
\@title\\ |
| 142 |
\vspace{1em} |
| 143 |
A thesis presented to the Faculty of the\\ |
| 144 |
Graduate School of Arts and Sciences of Brandeis University\\ |
| 145 |
Waltham, Massachusetts\\ |
| 146 |
\vspace{1em} |
| 147 |
By\,\@author\\ |
| 148 |
\vspace{2em} |
| 149 |
\end{center} |
| 150 |
\doublespacing |
| 151 |
} |
| 152 |
{ |
| 153 |
\restoregeometry |
| 154 |
} |
| 155 |
%</package> |
| 156 |
%<*package> |
| 157 |
\newcommand{\startbody}{ |
| 158 |
\newpage |
| 159 |
\pagenumbering{arabic} |
| 160 |
\doublespacing |
| 161 |
} |
| 162 |
%</package> |
| 163 |
% |
| 164 |
%<*driver> |
| 165 |
\documentclass{ltxdoc} |
| 166 |
\EnableCrossrefs |
| 167 |
\CodelineIndex |
| 168 |
\RecordChanges |
| 169 |
\begin{document} |
| 170 |
\DocInput{brandeis-thesis.dtx} |
| 171 |
\PrintChanges |
| 172 |
\PrintIndex |
| 173 |
\end{document} |
| 174 |
%</driver> |
| 175 |
% \fi |
| 176 |
% |
| 177 |
% \CheckSum{0} |
| 178 |
% |
| 179 |
% \CharacterTable |
| 180 |
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
| 181 |
% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z |
| 182 |
% Digits \0\1\2\3\4\5\6\7\8\9 |
| 183 |
% Exclamation \! Double quote \" Hash (number) \# |
| 184 |
% Dollar \$ Percent \% Ampersand \& |
| 185 |
% Acute accent \' Left paren \( Right paren \) |
| 186 |
% Asterisk \* Plus \+ Comma \, |
| 187 |
% Minus \- Point \. Solidus \/ |
| 188 |
% Colon \: Semicolon \; Less than \< |
| 189 |
% Equals \= Greater than \> Question mark \? |
| 190 |
% Commercial at \@ Left bracket \[ Backslash \\ |
| 191 |
% Right bracket \] Circumflex \^ Underscore \_ |
| 192 |
% Grave accent \` Left brace \{ Vertical bar \| |
| 193 |
% Right brace \} Tilde \~} |
| 194 |
% |
| 195 |
% |
| 196 |
% \changes{v3.0}{2020/01/21}{Initial version} |
| 197 |
% \changes{v3.1}{2020/04/09}{Formatting update} |
| 198 |
% \changes{v3.2}{2020/06/29}{Formatting update} |
| 199 |
% |
| 200 |
% \GetFileInfo{brandeis-thesis.dtx} |
| 201 |
% |
| 202 |
% \DoNotIndex{\newcommand,\newenvironment} |
| 203 |
% |
| 204 |
% |
| 205 |
% \title{The \textsf{brandeis-thesis} package\thanks{This document |
| 206 |
% corresponds to \textsf{brandeis-thesis}~\fileversion, dated \filedate.}} |
| 207 |
% \author{Brandeis University GSAS \\ \texttt{[email protected]}} |
| 208 |
% |
| 209 |
% \maketitle |
| 210 |
% |
| 211 |
% \section{Introduction} |
| 212 |
% |
| 213 |
% This document explains how to use the \textsf{brandeis-thesis} class in \LaTeX{} to format your thesis according to the specifications of Brandeis University's Graduate School of Arts and Sciences. |
| 214 |
% |
| 215 |
% The \textsf{brandeis-thesis} class will do the following for you: |
| 216 |
% \begin{itemize} |
| 217 |
% \item Create your title, copyright, and abstract pages. |
| 218 |
% \item Ensure your thesis has the correct margins, spacing, and pagination. |
| 219 |
% \end{itemize} |
| 220 |
% |
| 221 |
% \section{Usage} |
| 222 |
% \label{Sec:usage} |
| 223 |
% |
| 224 |
% \subsection{Title Information} |
| 225 |
% \label{Sec:general} |
| 226 |
% |
| 227 |
% The following commands are used to save information that is used to render your title page: |
| 228 |
% |
| 229 |
% \begin{verbatim} |
| 230 |
% \title{} |
| 231 |
% \author{} |
| 232 |
% \graduationmonth{} |
| 233 |
% \graduationyear{} |
| 234 |
% \program{} |
| 235 |
% \advisor{} |
| 236 |
% \degreetype{} |
| 237 |
% \end{verbatim} |
| 238 |
% |
| 239 |
% For example, including the following in your document: |
| 240 |
% |
| 241 |
% \begin{verbatim} |
| 242 |
% \title{LaTeXing Your Thesis} |
| 243 |
% \author{Deanna Daly} |
| 244 |
% \graduationmonth{May} |
| 245 |
% \graduationyear{2021} |
| 246 |
% \program{Computer Science} |
| 247 |
% \advisor{Alan Turing} |
| 248 |
% \degreetype{Science} |
| 249 |
% \end{verbatim} |
| 250 |
% |
| 251 |
% would set your thesis to one with a title of "LaTeXing Your Thesis", an author of "Deanna Daly", a graduation time of May 2020, with the advisor "Alan Turing" in the Computer Science program, for a Master of Science Degree. |
| 252 |
% |
| 253 |
% \subsection{Creating Front Matter} |
| 254 |
% |
| 255 |
% The title and copyright pages of your thesis can be created with just one line each: |
| 256 |
% |
| 257 |
% \begin{verbatim} |
| 258 |
% \maketitlepage |
| 259 |
% \makecopyright |
| 260 |
% \end{verbatim} |
| 261 |
% |
| 262 |
% The abstract is created with the \texttt{thesis-abstract} environment, as in the following example: |
| 263 |
% |
| 264 |
% \begin{verbatim} |
| 265 |
% \begin{thesis-abstract} |
| 266 |
% I present a simple explanation of how to LaTeX your thesis. |
| 267 |
% \end{thesis-abstract} |
| 268 |
% \end{verbatim} |
| 269 |
% |
| 270 |
% This will create your abstract page, with the abstract being ``I present a simple explanation of how to LaTeX your thesis.'' |
| 271 |
% |
| 272 |
% Table of Contents, List of Figures, etc. can be generated as usual using \LaTeX. You should precede these with \texttt{\textbackslash doublespacing} to make them double spaced. |
| 273 |
% |
| 274 |
% To end the front matter section of your thesis and begin the body of your thesis, use the command \texttt{\textbackslash startbody}. |
| 275 |
% |
| 276 |
% The rest of your thesis may be written as normal; margins, spacing, and pagination should be set automatically, with the exception of your bibliography. To make your bibliography single spaced, you should precede it with You should precede these with \texttt{\textbackslash singlespacing}. |
| 277 |
% |
| 278 |
% \section{Example} |
| 279 |
% |
| 280 |
% The below example provides the source code for a simple thesis with no figures or citations. |
| 281 |
% |
| 282 |
% \begin{verbatim} |
| 283 |
% \documentclass[red]{brandeis-thesis} |
| 284 |
% \usepackage[utf8]{inputenc} |
| 285 |
% |
| 286 |
% \title{LaTeXing Your Thesis} |
| 287 |
% \author{Deanna Daly} |
| 288 |
% \graduationmonth{May} |
| 289 |
% \graduationyear{2021} |
| 290 |
% \program{Computer Science} |
| 291 |
% \advisor{Alan Turing} |
| 292 |
% \degreetype{Science} |
| 293 |
% |
| 294 |
% \begin{document} |
| 295 |
% |
| 296 |
% \maketitlepage |
| 297 |
% \makecopyright |
| 298 |
% |
| 299 |
% \begin{thesis-abstract} |
| 300 |
% I present a simple explanation of how to LaTeX your thesis. |
| 301 |
% \end{thesis-abstract} |
| 302 |
% |
| 303 |
% \doublespacing |
| 304 |
% \tableofcontents |
| 305 |
% |
| 306 |
% \startbody |
| 307 |
% |
| 308 |
% \section{Introduction} |
| 309 |
% Using \LaTeX for your thesis is easy. |
| 310 |
% |
| 311 |
% \section{Body} |
| 312 |
% You can copy paste this code, and add your own thesis. |
| 313 |
% |
| 314 |
% \section{Conclusion} |
| 315 |
% The thesis class should help you with your formatting. |
| 316 |
% |
| 317 |
% \end{document} |
| 318 |
% \end{verbatim} |
| 319 |
% |
| 320 |
% \Finale |
| 321 |
\endinput |
| 322 |
|