forked from Sravan2j/SJSU-thesis-LaTeX
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy paththesis.tex
executable file
·165 lines (139 loc) · 4.14 KB
/
thesis.tex
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
%
%
% ***** used to mark places where you need to make changes in this file
%
% Abstract, acknowledgements, chapters, appendices, and references are in separate tex files
%
%
\documentclass[oneref]{urithesis}
\usepackage{amsmath,amsthm, amsfonts, amssymb, amsxtra,amsopn}
\usepackage{graphicx}
\usepackage{multirow}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{cmap}
\PassOptionsToPackage{hyphens}{url}
\usepackage{xcolor, colortbl} % Used for coloring the cells of tables
\usepackage{amsmath}
\usepackage[T1]{fontenc}
\usepackage{textcomp} % Required for upquote.
\usepackage{listings} % Used for printing source code in papers
\usepackage{microtype}
\usepackage{pgfplots} % Used to create graphs
\usepackage{makecell} % Used to create thick links in tables
\usepackage[shortcuts]{extdash} % Allow the use of unbreakable "extdash" spacers.
% Do not add extra space around itemizes
\usepackage{enumitem}
\setlist[itemize]{noitemsep, topsep=0pt}
\usepackage{algorithm} % Used for writing algorithms in a paper
\usepackage[noend]{algpseudocode} % Allows psuedocode keywords (e.g., "if", "while", "for", etc.) in algorithms.
\usepackage{mdframed}
\usepackage{array} % Needed for centering in the table
\usepackage[export]{adjustbox} % loads also graphicx
\usepackage{graphicx}
\usepackage{hyperref} % Creates links in the PDF document.
\hypersetup{hidelinks} % Do not include boxes around links
\usepackage[tableposition=top]{caption}
% Top=1.25 inches - 0.05 inches for the header.
%
%\usepackage[total={6.0in, 8.5in},
% top=1.25in, left=1.5in]{geometry}
\usepackage[vmargin={1.25in, 1.25in}, hmargin={1.5in, 1in},
textwidth=6in,
textheight=5.25in]{geometry}
\usepackage{microtype}
\DisableLigatures{encoding = *, family = * }
\newcommand{\numbwithdegreesymbol}[1]{#1$^\circ$}
\newcommand{\MiniAssembly}{M\hspace{-.08em}A}
% no limit on percentage of floats per page
\renewcommand{\floatpagefraction}{1.0}
\renewcommand{\topfraction}{1.0}
\renewcommand{\textfraction}{0.0}
% Prevent hyphenation in the TOC, List of Figures, and List of Tables
\makeatletter
\renewcommand{\@tocrmarg}{2.3em plus1fil}
\makeatother
% eref puts parenthesis around reference, like "equation (1)"
\def\eref#1{(\ref{#1})}
%
% ***** project type: For CS 298 use "\projectType{Project}" and for CS 299 use "\projectType{Thesis}"
%
%\def\projectType{Thesis}
\def\projectType{Project}
% ***** graduation month
%
\def\graduationMonth{May}
%
% ***** advisor's name
%
\def\advisorName{Dr. Thomas Austin}
\def\advisorAffiliation{Department of Computer Science}
%
% ***** first committee member's name
%
\def\firstCommitteeMember{Space Ghost}
\def\firstCommitteeMemberAffiliation{Department of Computer Science}
%
% ***** second committee member's name
%
\def\secondCommitteeMember{Count Dracula}
\def\secondCommitteeMemberAffiliation{Department of Mathematics}
\setcounter{secnumdepth}{3}
\begin{document}
%
% ***** title
%
\title{Typesetting Your Report for Fun and Profit}
%
% ***** author's name
%
\author{Mark Stamp}
%
% ***** graduation year
%
\copyrightyear{2015}
%
% Do not change this...
%
\ifthenelse{\equal{\projectType}{Thesis}}
{\raggedright \parindent=30pt}
{}
\pagestyle{empty}
%
% ***** abstract is file abs.tex
%
\abstract{abs}
%
% ***** acknowledgements in file ack.tex
%
% You can optionally have a dedication as well supported by the URI template.
%
\acknowledgements{ack}
%\dedication{ack}
\setlength{\parskip}{.1 in}
%uncomment the following for single space drafts
%\singlespace
\doublespace
\pagenumbering{arabic}
\setcounter{page}{0}
%
% ***** chapters in files chap1.tex, chap2.tex, and so on
%
\newchapter{chap1}
\newchapter{chap2}
\newchapter{chap3}
\newchapter{chap4}
%
% ***** bibliography/references in file bib.tex
%
%\input bib.tex
% Do not use bibtex if you plan to use references for the URI-derived thesis template.
% Instead, you should reference the file "uribibtex.bat" instead of the standard bibtex
\bibliographystyle{ieeetr}
\reffile{references} % To build the references, double click the file "genbib.bat" in the "build" subdirectory
%
% ***** appendices in appA.tex, appB.tex, ...
%
\newappendix{appA}
\newappendix{appB}
\end{document}