1 \documentclass[a4paper,10pt,titlepage]{report}
4 %\onehalfspacing % 1.5 spacing is uuuglly
5 \parskip 10pt % sets spacing between paragraphs
6 %\renewcommand{\baselinestretch}{1.5} % Uncomment for 1.5 spacing between lines
7 %\parindent 0pt % sets leading space for paragraphs
14 %\usepackage{subfigure}
16 %\usepackage{lscape} % Needed for landscaping when printing
17 \usepackage{pdflscape} % Needed for landscaping - in pdf viewer
19 \usepackage{amsmath, amsthm,amssymb}
25 \usepackage[compact]{titlesec}
26 \titlespacing{\chapter}{0pt}{0pt}{0pt}
27 \titleformat{\chapter}
28 {\normalfont\LARGE\bfseries}{\thechapter.}{1em}{}
33 \definecolor{darkgray}{rgb}{0.95,0.95,0.95}
34 \definecolor{darkred}{rgb}{0.75,0,0}
35 \definecolor{darkblue}{rgb}{0,0,0.75}
36 \definecolor{pink}{rgb}{1,0.5,0.5}
37 \lstset{language=Java}
38 \lstset{backgroundcolor=\color{darkgray}}
39 \lstset{numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt}
40 \lstset{keywordstyle=\color{darkred}\bfseries}
41 \lstset{commentstyle=\color{darkblue}}
42 %\lstset{stringsyle=\color{red}}
43 \lstset{showstringspaces=false}
44 \lstset{basicstyle=\small}
46 %\usepackage{endfloat}
48 \topmargin -1.5cm % read Lamport p.163
49 \oddsidemargin -0.04cm % read Lamport p.163
50 \evensidemargin -0.04cm % same as oddsidemargin but for left-hand pages
53 %\pagestyle{empty} % Uncomment if don't want page numbers
54 \parskip 6.2pt % sets spacing between paragraphs
55 \renewcommand{\baselinestretch}{1.5} % Uncomment for 1.5 spacing between lines
56 \parindent 0pt % sets leading space for paragraphs
58 \usepackage{fancyheadings}
60 \addtolength{\headheight}{2.5pt}
61 \renewcommand{\chaptermark}[1]{\markboth{\thechapter~~#1}{}}
62 \renewcommand{\sectionmark}[1]{\markright{\thesection~~#1}{}}
63 \ifthenelse{\boolean{@twoside}}
65 \rhead[\bfseries \rightmark]{\bfseries \thepage}
66 \lhead[\bfseries \leftmark]{\bfseries \thepage}
67 \addtolength{\headwidth}{\marginparsep}
68 \addtolength{\headwidth}{\marginparwidth}
70 \lhead{\bfseries \leftmark}
71 \rhead{\bfseries \thepage}
75 %---------------------------------------------------------
76 %---------------------------------------------------------
79 \include{titlepage/Titlepage} % This is who you are
83 %---------------------------------------------------------
84 % Do the table of Contents and lists of figures and tables
85 %---------------------------------------------------------
90 \pagenumbering{arabic}
91 %---------------------------------------------------------
92 %---------------------------------------------------------
93 %Include the chapters!
95 %\include{chapters/Demonstration}
96 \include{chapters/Introduction}
97 \include{chapters/Approach}
98 \include{chapters/Design}
99 \include{chapters/Results}
101 %---------------------------------------------------------
102 \renewcommand{\bibname}{References}
103 \bibliography{references/refs}
104 %\bibliographystyle{apalike}
105 \addcontentsline{toc}{part}{References}
106 %---------------------------------------------------------
110 %---------------------------------------------------------