-
Notifications
You must be signed in to change notification settings - Fork 0
/
LA_Tech_thesis.tex.bak
executable file
·505 lines (371 loc) · 13.9 KB
/
LA_Tech_thesis.tex.bak
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
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
\documentclass[12pt]{report}
%This is the main thesis file. Even though the chapter contents are saved in other files, you must always TeXify %from the main file.
\usepackage{amsmath,amsthm,amssymb}
\usepackage{setspace}
\usepackage[mathscr]{eucal}
\usepackage{wrapfig}
\usepackage{graphicx}
\usepackage{psfrag}
\usepackage{ifthen}
\usepackage{array}
\usepackage{longtable}
\usepackage{fancyvrb}
\usepackage{fancyhdr}
\usepackage{color}
\usepackage{sectsty}
\usepackage[calcwidth]{titlesec}
\usepackage{tocloft}
\usepackage{float}
\usepackage{indentfirst,microtype}
\usepackage[hang]{caption} %For indented captions for figures and tables
\AtBeginDocument{\setlength\abovedisplayskip{3pt}}
\AtBeginDocument{\setlength\belowdisplayskip{3pt}}
\renewcommand{\cfttoctitlefont}{\large\bfseries}
\renewcommand{\cftloftitlefont}{\large\bfseries}
\renewcommand{\cftlottitlefont}{\large\bfseries}
%\setlength{\cftbeforetoctitleskip}{42pt}
%\setlength{\cftaftertoctitleskip}{12pt}
\setlength{\cftbeforeloftitleskip}{42pt}
\setlength{\cftafterloftitleskip}{12pt}
\setlength{\cftbeforepartskip}{0pt}
\setlength{\cftbeforechapskip}{0pt}
\setlength{\cftbeforesecskip}{0pt}
\setlength{\cftbeforesubsecskip}{0pt}
\newcommand*{\noaddvspace}{\renewcommand*{\addvspace}[1]{}}
\addtocontents{lof}{\protect\noaddvspace}
\setlength{\parskip}{0in}%{2ex plus0.5ex minus0.2ex}
\setlength{\parindent}{0.5in}
%This uses sectsty package to change the style of the headings.
%\allsectionsfont{\sffamily\underline}
%\allsectionsfont{\large\centering\underline}
%\sectionfont{\normalfont\sffamily\large\underline\bfseries}
%\subsectionfont{\normalsize\underline}
%This will underline section and subsection headings
%\titleformat{\section}{\large\centering\bfseries}{\thesection}{1em}{}%{\uline}
%\titleformat{\subsection}{\normalsize\bfseries}{\thesubsection}{1em}{\uline}
\newlength{\SpaceBeforeChapter}
\setlength{\SpaceBeforeChapter}{0.55in}
\setlength{\textwidth}{6in}% 8.5 - 1in - 1.5in = 6in
\setlength{\textheight}{9in}% 11 - 1in - 1in = 9in
% The height of the header
\setlength{\headheight}{0.202in}
% the space between the header and the start of the document is 0.5 - .202, because we want 1in margins
\setlength{\headsep}{0.298in}
% We want the page number to display 0.5 inches from the bottom of the text
\setlength{\footskip}{0.5in }
% This will make the right margin 1in + 0.5
\setlength{\oddsidemargin}{0.5in}
\setlength{\evensidemargin}{0.5in}
% No horizontal offset is needed
\setlength{\hoffset}{0pt}
% We want the header to begin showing at 1.0in + \voffset ~ which is 0.5 for the page number
\setlength{\voffset}{-0.5in}
\setlength{\topmargin}{0pt}
% To create triple spacing, we use single spacing, then add 3ex to create triple spacing ~ there may be a more correct way to do this
\titleformat{\chapter}[display]{\singlespacing\centering\large\bfseries}{\MakeUppercase{\chaptertitlename}~\thechapter}{4ex}{\setlength{\parskip}{0pt}\large\uppercase}[\setlength{\parskip}{0pt}]%{0pt}]
\titlespacing{\chapter}{0pt}{\SpaceBeforeChapter}{2.5ex}
% Section headers should have a triple space before them (3ex), and a double space after (2ex)
\titleformat{\section}[block]{\singlespacing\centering\normalsize\bfseries}{\thetitle}{1ex}{\normalsize}
\titlespacing{\section}{0pt}{3ex}{0ex}
% Subsection headers should have a double space before them (2ex), and a double space after (2ex)
% And they should not be centered
\titleformat{\subsection}{\singlespacing\normalsize\bfseries}{\thetitle}{1ex}{}
\titlespacing{\subsection}{0pt}{3pt}{0ex}
%\titlespacing{\subsection}{0pt}{2ex}{0ex} %original LMK, double space better expressed with 3pt
%spacing for subsubsections
\titlespacing{\subsubsection}{0pt}{3pt}{0ex}
\newcounter{currpart}
\renewcommand{\cftpartfont}{\normalfont}
\renewcommand{\cftpartpagefont}{\normalfont}
\renewcommand{\cftchapfont}{\normalfont}
\renewcommand{\cftchappagefont}{\normalfont}
\renewcommand{\cftchappresnum}{CHAPTER }
\renewcommand{\cftpartpresnum}{PART }
\renewcommand{\cftfigpresnum}{Figure }
\renewcommand{\cftfigaftersnum}{:}
\renewcommand{\cfttabaftersnum}{:}
\renewcommand{\cftchapnumwidth}{7em}
\renewcommand{\cftfignumwidth}{5.5em}
\renewcommand{\cfttabnumwidth}{5.5em}
%\renewcommand{\cftXdotsep}{0}
\renewcommand{\cftpartleader}{\cftdotfill{\cftsecdotsep}}
\renewcommand{\cftchapleader}{\cftdotfill{\cftsecdotsep}}
\renewcommand{\cftdotsep}{0}
\cftsetpnumwidth{1.3em} %1 in LMK's thesis, increased to take care of wide roman numerals
\setlength{\cftchapindent}{0pt}
\setlength{\cftfigindent}{0pt}
\setlength{\cfttabindent}{0pt}
\addtocontents{lof}{\protect\noaddvspace}
\addtocontents{lot}{\protect\noaddvspace}
%\setlength{\itemsep}{0ex}
%\setlength{\topsep}{0ex}
%\setlength{\partopsep}{0ex}
\let\oldthebibliography=\thebibliography
\let\endoldthebibliography=\endthebibliography
\renewenvironment{thebibliography}[1]{%
\begin{oldthebibliography}{#1}%
\setlength{\parskip}{0pt}%
\setlength{\itemsep}{0pt}%
}%
{%
\end{oldthebibliography}%
}
\let\olditemize=\itemize
\let\endolditemize=\enditemize
\renewenvironment{itemize}{%
\vspace{-.15in} %hard codes the vertical space before the environment
\begin{olditemize}%
\setlength{\parsep}{0ex}
\setlength{\topsep}{0ex}
\setlength{\partopsep}{0ex}
\setlength{\parskip}{0pt}%
\setlength{\itemsep}{0pt}%
}%
{%
\end{olditemize}%
}
\let\oldenumerate=\enumerate
\let\endoldenumerate=\endenumerate
\renewenvironment{enumerate}{%
\vspace{-.15in} %hard codes the vertical space before the environment
\begin{oldenumerate}%
\setlength{\parsep}{0ex}
\setlength{\topsep}{0ex}
\setlength{\partopsep}{0ex}
\setlength{\parskip}{0pt}%
\setlength{\itemsep}{0pt}%
}%
{%
\end{oldenumerate}%
}
\renewcommand{\baselinestretch}{2.0}
%Main file to compile the thesis.
%DO NOT CHANGE THIS FILE, EXCEPT FOR THE INCLUDE COMMANDS
%\flushbottom
\allowdisplaybreaks
% THIS WILL FORCE EQUATION NUMBERS TO START OVER WITH EACH
% NEW CHAPTER
\numberwithin{equation}{chapter}
\renewcommand{\theequation}
{\arabic{chapter}.\arabic{equation}}
\renewcommand{\thefigure}
{\arabic{chapter}.\arabic{figure}}
\renewcommand{\thetable}
{\arabic{chapter}.\arabic{table}}
% using fancyhdr ............................................
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]
{\markboth{\textit{\chaptername\ \thechapter.\ #1}}{}}
% the header
\lhead{}%{\textit{Your Name}}
\chead{}%{\leftmark}
\rhead{\thepage}
% the footer
%\lfoot{}
\cfoot{}
\rfoot{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\title{Your Title}
\author{Your Name}
\date{Month Year}
\newcommand{\ds}{\displaystyle}
\newcommand{\p}{\partial}
\newcommand{\R}{\text{I\!R}}
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{example}[theorem]{Example}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{algorithm}{Algorithm}
%\renewcommand{\cftfigfont}{Figure }
%\renewcommand{\cfttabfont}{Table }
%This is to avoid widows, orphans, and hypenations at the end of a page.
\brokenpenalty=10000
\widowpenalty=10000
\clubpenalty=10000
\title{Thesis Title}
\author{Your Name}
\date{Defense Date}
%% note: in the \includeonly{...} command the files that are
%% not to be processed should be commented out
%\includeonly{
%chapter_front % front matter: title, abstract, contents etc.
%,
%chapter_01 % INTRODUCTION
%,
%chapter_02 % Include as many chapters as necessary here
%,
%chapter_03 % Include as many chapters as necessary here
%,
%end_chapter % CONCLUSIONS GO INTO THE LAST CHAPTER
%,
%appendix_a % appendices if needed
%,
%chapter_vita
%}
\begin{document}
\thispagestyle{empty}
\begin{singlespace}
\centerline{\bf \Large Students: Remember This}
\begin{itemize}
\item
When printing from a pdf, you {\bf must select the option
``Page scaling: None."} Otherwise Adobe will be ``helpful" and
mess up all margins. Printing from a dvi or printing pdfs
at office services is safe.
\item
To create a pdf, use a dvi$\to $pdf conversion, not pdf\LaTeX, which is a
different compiler.
\item
Check for ``widows," ``orphans," and words that spill into the margin.
These should be the most common formatting errors that \LaTeX \
does not fix automatically.
\item
Format checkers will mark English mistakes if they happen to see them,
but they are not proofreaders. So passing the format check does not
mean your spelling and grammar are correct, and mistakes that were
not caught in one format check may be caught in another.
(The goal for using this template is to
pass the format check on the first try, though.)
\item
Remove this page, but keep the next
page on top of all drafts submitted for
format and English checks.
\item
Remove this page and the next one from the final version
that is submitted for binding.
\end{itemize}
Good advice for feedback from proofreaders in general:
When the format for a certain type of entry, say a section heading,
is marked as ``to be corrected" (long section headings are supposed
to be in inverted pyramid form), it is best to
check the format of {\em all} these entries, as
the format needs to be
consistent overall.
\end{singlespace}
\clearpage
\thispagestyle{empty}
\begin{singlespace}
\centerline{\bf Notes for Proofreading and Format Checking}
\vspace{.1in}
We appreciate the services provided by proofreaders and
format checkers to assure uniformly high quality of documents
produced at Louisiana Tech University.
Because of the differences between mathematical
documents and other documents, we request that the following
be kept in mind.
\begin{itemize}
\item
This document was typeset using Louisiana Tech's approved
\LaTeX \ template. Therefore most formatting
should be a non-issue.
\item
Issues that should not require correction, except
as indicated below.
\vspace{.1in} %counteracts the macro that is calibrated for double spaced typing
\begin{itemize}
\item
Global margins, order of sections, page numbering,
title page, format of
headings, table of contents, list of figures, list of tables.
(All approved when the template was created.)
\item
\LaTeX \ is {\em the} professional standard for mathematical typesetting.
Equations are typeset with
the \LaTeX \ default options, which should not be adjusted.
\item
Some built in font sizes cannot be changed.
Font sizes for headings, etc.,
were approved, even if they may look a little different
than in WORD documents.
\end{itemize}
\item
Issues that require attention.
There are some situations in which
\LaTeX' automatic formatting is less than optimal.
\vspace{.1in} %counteracts the macro that is calibrated for double spaced typing
\begin{itemize}
\item
Margin infractions on individual lines.
The global margins have been approved, but if the program
does not know how to split a long term, it can spill into the margin.
This is especially likely in typeset equations and can and should be
fixed.
\item
Widows and orphans. Linebreaking is automatic and sometimes
leaves the first line of a paragraph on the preceding page or
puts the last line on the next page.
\item
English spelling, grammar, punctuation, etc.
\item
{\em Gross} infractions on the placement and spacing of figures.
Because of the way \LaTeX \ imports and creates images,
the distance between a figure and its caption can vary slightly.
Large white spaces should be flagged, though.
\end{itemize}
\item
Please mark {\em all} recommended changes in the first
pass through.
\end{itemize}
\end{singlespace}
\clearpage
\setcounter{page}{0}
\pagenumbering{roman}
\thispagestyle{empty}
\include{titlepage}
\newpage
\thispagestyle{empty}
Replace this page with the Signature Page.
\newpage
\include{abstract}
\vfill\vfill
\newpage
\thispagestyle{empty}
Replace this page with the approval for
scholarly dissemination form.
\newpage
\include{dedication}
\newpage
\include{contents} % This file typesets the Table of Contents
% DO NOT CHANGE THIS FILE
\include{tables} % This file typesets the List of Tables
% DO NOT CHANGE THIS FILE
% COMMENT OUT THE LINE IF NO TABLES
\include{figures} % This file typesets the List of Figures
% DO NOT CHANGE THIS FILE
% COMMENT OUT THE LINE IF NO FIGURES
\newpage
\include{acknowledgements}
\newpage
\include{preface}
\pagenumbering{arabic}
% note: none of these commands need to be commented out
% any files that should not be included should be
% commented out in the /includeonly{...} command above
%
\include{chapter_01} % Introduction
\include{chapter_02} % Thesis body starts, as many chapters as necesssary
\include{chapter_03}
\addtocontents{toc}{\protect\renewcommand{\protect\cftchappresnum}{APPENDIX } }
\include{end_chapter} % Conclusions
%MUST PUT LAST CHAPTER IN THIS FILE TO HAVE FIRST APPENDIX CALLED
%APPENDIX, NOT CHAPTER IN TABLE OF CONTENTS
\appendix
%\addcontentsline{toc}{chapter}{APPENDICES}
%~
%\clearpage
\renewcommand{\thefigure}{\Alph{chapter}.\arabic{figure}}
\renewcommand{\thetable}{\Alph{chapter}.\arabic{table}}
\include{appendix_a} %Comment out if there are no appendices
% Bibliography
\addcontentsline{toc}{chapter}{BIBLIOGRAPHY}
\renewcommand{\bibname}{\MakeUppercase{Bibliography}}
%\begin{singlespace}
%\baselineskip = 24pt
\include{bibliography}
%\baselineskip = 24pt
%\end{singlespace}
\include{chapter_vita}
\end{document}