summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/brandeis-dissertation/brandeis-dissertation.dtx
blob: d930d020d90f0931d38a223981e2d190236bcd74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
% \iffalse meta-comment
%
% Copyright (C) 2020 by Deanna Daly <gradschool@brandeis.edu>
% -------------------------------------------------------
% 
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in:
%
%    http://www.latex-project.org/lppl.txt
%
% and version 1.3 or later is part of all distributions of LaTeX 
% version 2005/12/01 or later.
%
% \fi
%
% \iffalse
%<*driver>
\ProvidesFile{brandeis-dissertation.dtx}
%</driver>
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
%<package>\ProvidesPackage{brandeis-dissertation}
%<*package>
    [2020/01/21 v3.0 .dtx brandeis-dissertation file]
%</package>
%<package>\LoadClass[12pt]{article}
%<package>\RequirePackage[margin=1in]{geometry}
%<package>\RequirePackage{setspace}
%<package>\RequirePackage{titlesec}
%<package>\RequirePackage[utf8]{inputenc}
%<package>\RequirePackage[english]{babel}
%<package>\RequirePackage{csquotes}
%<package>\AtBeginEnvironment{quote}{\singlespacing}
%
%<package>\titleformat*{\section}{\normalsize\bfseries}
%<package>\titleformat*{\subsection}{\normalsize\bfseries}
%<package>\titleformat*{\subsubsection}{\normalsize\bfseries}
%
%<package>\renewcommand\month[1]{\def\@month{#1}}
%<package>\renewcommand\year[1]{\def\@year{#1}}
%<package>\newcommand\program[1]{\def\@program{#1}}
%<package>\newcommand\advisor[1]{\def\@advisor{#1}}
%<package>\newcommand\signoff[2]{\def\@signoff{#1}\def\@signofftitle{#2}}
%<package>\newcommand\committeechair[2]{\def\@committeechair{#1}\def\@committeechairdept{#2}}
%<package>\newcommand\committeetwo[2]{\def\@committeetwo{#1}\def\@committeetwodept{#2}}
%<package>\newcommand\committeethree[2]{\def\@committeethree{#1}\def\@committeethreedept{#2}}
%<package>\newcommand\outsidereader[3]{\def\@outsidereader{#1}\def\@outsidereaderdept{#2}\def\@outsidereaderuni{#3}}
%<package>\addto\captionsenglish{\renewcommand*\contentsname{Table of Contents}}
%<package>\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
%
%<*package>
\newcommand{\maketitlepage}{%
    \pagenumbering{gobble}
    %\newgeometry{top=1.75in}
    \begin{center}
        \@title\\
        \vspace{1em}
        A Dissertation\\
        \vspace{1em}
        Presented to\\
        \vspace{1em}
        The Faculty of the Graduate School of Arts and Sciences\\
        Brandeis University\\
        \vspace{1em}
        \@program\\
        \vspace{1em}
        \@advisor, Advisor\\
        \vspace{1em}
        In Partial Fulfillment\\
        of the Requirements for the Degree\\
        Doctor of Philosophy\\
        \vspace{1em}
        by\\
        \@author\\
        \vspace{1em}
        \@month\,\@year
    \end{center}
    \restoregeometry
    \newpage
    \pagenumbering{roman}
    \setcounter{page}{2}
}
%</package>
%<*package>
\newcommand{\makeapproval}{%
    \pagenumbering{gobble}
    \begin{spacing}{2}
    \noindent
    This dissertation, directed and approved by \@author{}'s Committee, has been\\ accepted and approved by the Faculty of Brandeis University in partial fulfillment of the\\  requirements for the degree of:
    \end{spacing}
    
    \hspace{3in}\textbf{DOCTOR OF PHILOSOPHY}
    
    \vspace{3em}
    
    \hspace{3in}\@signoff, \@signofftitle
    
	\hspace{3in}Graduate School of Arts and Sciences\\
    \vspace{1em}
    
    \noindent
    Dissertation Committee:

    \noindent
    \@committeechair, \@committeechairdept
    
    \noindent
    \@committeetwo, \@committeetwodept
    
    \noindent
    \@committeethree, \@committeethreedept
    
    \noindent
    \@outsidereader, \@outsidereaderdept, \@outsidereaderuni
    
    \newpage
    \setcounter{page}{3}
}
%</package>
%<*package>
\newcommand{\makecopyright}{%
    \pagenumbering{gobble}
    \newgeometry{top=6.2in}
    \begin{center}
        Copyright by\\
        \@author{}\\
        \vspace{1em}
        \@year{}
    \end{center}
    \restoregeometry
    \newpage
    \pagenumbering{roman}
    \setcounter{page}{4}
}

%\newcommand{\makeacknowledgements}{
%}
%</package>
%<*package>
\newenvironment{thesis-abstract}
    {
    %\newgeometry{top=1.4in}
    \addcontentsline{toc}{section}{Abstract}
    \begin{center}
        \MakeUppercase{Abstract}\\
        \vspace{1em}
        \@title\\
        \vspace{1em}
        A dissertation presented to the Faculty of the\\
        Graduate School of Arts and Sciences of Brandeis University\\
        Waltham, Massachusetts\\
        \vspace{1em}
        By\,\@author\\
        \vspace{2em}
    \end{center}
    \doublespacing
    }
    {
    \restoregeometry
    }
%</package>
%<*package>
\newcommand{\startbody}{%
    \newpage
    \pagenumbering{arabic}
    \doublespacing
}
%</package>
%
%<*driver>
\documentclass{ltxdoc}
\EnableCrossrefs         
\CodelineIndex
\RecordChanges
\begin{document}
  \DocInput{brandeis-dissertation.dtx}
  \PrintChanges
  \PrintIndex
\end{document}
%</driver>
% \fi
%
% \CheckSum{0}
%
% \CharacterTable
%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%   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
%   Digits        \0\1\2\3\4\5\6\7\8\9
%   Exclamation   \!     Double quote  \"     Hash (number) \#
%   Dollar        \$     Percent       \%     Ampersand     \&
%   Acute accent  \'     Left paren    \(     Right paren   \)
%   Asterisk      \*     Plus          \+     Comma         \,
%   Minus         \-     Point         \.     Solidus       \/
%   Colon         \:     Semicolon     \;     Less than     \<
%   Equals        \=     Greater than  \>     Question mark \?
%   Commercial at \@     Left bracket  \[     Backslash     \\
%   Right bracket \]     Circumflex    \^     Underscore    \_
%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%   Right brace   \}     Tilde         \~}
%
%
% \changes{v1.0}{2020/01/21}{Initial version}
%
% \GetFileInfo{brandeis-dissertation.dtx}
%
% \DoNotIndex{\newcommand,\newenvironment}
% 
%
% \title{The \textsf{brandeis-dissertation} package\thanks{This document
%   corresponds to \textsf{brandeis-dissertation}~\fileversion, dated \filedate.}}
% \author{Brandeis University GSAS \\ \texttt{gradschool@brandeis.edu}}
%
% \maketitle
%
% \section{Introduction}
% 
% This document explains how to use the \textsf{brandeis-dissertation} class in \LaTeX{} to format your dissertation according to the specifications of Brandeis University's Graduate School of Arts and Sciences. 
% 
% The \textsf{brandeis-dissertation} class will do the following for you:
% \begin{itemize}
%     \item Create your title, approval, copyright, and abstract pages.
%     \item Ensure your dissertation has the correct margins, spacing, and pagination.
% \end{itemize}
% 
% \section{Usage}
% \label{Sec:usage}
% 
% \subsection{Title Information}
% \label{Sec:general}
% 
% The following commands are used to save information that is used to % render your title page:
% 
% \begin{description}
% \item[\texttt{\textbackslash title\{\}}:] The title of your dissertation.
% \item[\texttt{\textbackslash author\{\}}:] Your name.
% \item[\texttt{\textbackslash month\{\}}:] The month in which you graduate.
% \item[\texttt{\textbackslash year\{\}}:] The year in which you graduate.
% \item[\texttt{\textbackslash program\{\}}:] Your program.
% \item[\texttt{\textbackslash advisor\{\}}:] Your advisor's name.
% \item[\texttt{\textbackslash signoff\{\}\{\}}:] The name of the individual signing off on your approval page, followed by their title. This likely is the dean.
% \item[\texttt{\textbackslash committeechair\{\}}:] Your committee chair's name, followed by their department.
% \item[\texttt{\textbackslash committeetwo\{\}\{\}}:] The name of your second committee member, followed by their department.
% \item[\texttt{\textbackslash committeethree\{\}\{\}}:] The name of your third committee member, followed by their department.
% \item[\texttt{\textbackslash outsidereader\{\}\{\}\{\}}:] The name of your outside reader, followed by their department, followed by their university.
% \end{description}
% 
% For example, including the following in your document:
% 
% \begin{verbatim}
% \title{LaTeXing Your Dissertation}
% \author{Deanna Daly}
% \month{May}
% \year{2020}
% \program{Philosophy}
% \advisor{Alan Turing}
% \signoff{Eric Chasalow}{Dean}
% \committeechair{Bertrand Russell}{Philosophy}
% \committeetwo{Alfred North Whitehead}{Mathematics}
% \committeethree{Ludwig Wittgenstein}{Philosophy}
% \outsidereader{Emmy Noether}{Mathematics}{Bryn Mawr College}
% \end{verbatim}
% 
% would set your dissertation to one with a title of ``LaTeXing Your Dissertation'', an author of ``Deanna Daly'', a graduation time of May 2020, with the advisor ``Alan Turing'' in the Philosophy program. Your approval page should be signed off by Eric Chasalow, the dean. Your committee would be set to consist of Bertrand Russell from the Philosophy Department, Alfred North Whitehead from the Mathematics Department, and Ludwig Wittgenstein from the Philosophy Department. Your outside reader would be set to be Emmy Noether from Bryn Mawr College's Mathematics Department.
% 
% \subsection{Creating Front Matter}
% 
% The title, approval, and copyright pages of your dissertation can be % created with just one line each:
% 
% \begin{verbatim}
% \maketitlepage
% \makeapproval
% \makecopyright
% \end{verbatim}
% 
% The abstract is created with the \texttt{dissertation-abstract} environment, as in the following example:
% 
% \begin{verbatim}
% \begin{dissertation-abstract}
% I present a simple explanation of how to LaTeX your dissertation.
% \end{dissertation-abstract}
% \end{verbatim}
% 
% This will create your abstract page, with the abstract being ``I present a simple explanation of how to LaTeX your dissertation.''
% 
% Table of Contents, List of Figures, etc. can be generated as usual using \LaTeX.
% 
% To end the front matter section of your dissertation and begin the body of your dissertation, use the command \texttt{\textbackslash startbody}.
% 
% The rest of your dissertation may be written as normal; margins, spacing, and pagination should be set automatically.
% 
% \section{Example}
% 
% The below example provides the source code for a simple dissertation with no figures or citations.
% 
% \begin{verbatim}
% \documentclass[red]{brandeis-dissertation}
% \usepackage[utf8]{inputenc}
% 
% \title{LaTeXing Your Dissertation}
% \author{Deanna Daly}
% \month{May}
% \year{2020}
% \program{Philosophy}
% \advisor{Alan Turing}
% \signoff{Eric Chasalow}{Dean}
% \committeechair{Bertrand Russell}{Philosophy}
% \committeetwo{Alfred North Whitehead}{Mathematics}
% \committeethree{Ludwig Wittgenstein}{Philosophy}
% \outsidereader{Emmy Noether}{Mathematics}{Bryn Mawr College}
% 
% \begin{document}
% 
% \maketitlepage
% \makeapproval
% \makecopyright
% 
% \begin{dissertation-abstract}
% I present a simple explanation of how to LaTeX your dissertation.
% \end{dissertation-abstract}
% 
% \addcontentsline{toc}{section}{Table of Contents}
% \tableofcontents
% 
% \startbody
% 
% \section{Introduction}
% Using \LaTeX for your dissertation is easy.
% 
% \section{Body}
% You can copy paste this code, and add your own dissertation.
% 
% \section{Conclusion}
% The dissertation class should help you with your formatting.
% 
% \end{document}
% \end{verbatim}
%
% \Finale
\endinput