1 \documentclass[a4paper,10pt,titlepage]{report}
10 %\usepackage{subfigure}
12 %\usepackage{lscape} % Needed for landscaping when printing
13 \usepackage{pdflscape} % Needed for landscaping - in pdf viewer
15 \usepackage{amsmath, amsthm,amssymb}
21 \usepackage[compact]{titlesec}
22 \titlespacing{\chapter}{0pt}{0pt}{0pt}
23 \titleformat{\chapter}
24 {\normalfont\LARGE\bfseries}{\thechapter.}{1em}{}
26 \usepackage[usenames,dvipsnames]{color}
29 \definecolor{darkgray}{rgb}{0.95,0.95,0.95}
30 \definecolor{darkred}{rgb}{0.75,0,0}
31 \definecolor{darkblue}{rgb}{0,0,0.75}
32 \definecolor{pink}{rgb}{1,0.5,0.5}
33 \lstset{language=Java}
34 \lstset{backgroundcolor=\color{darkgray}}
35 \lstset{numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt}
36 \lstset{keywordstyle=\color{darkred}\bfseries}
37 \lstset{commentstyle=\color{darkblue}}
38 %\lstset{stringsyle=\color{red}}
39 \lstset{showstringspaces=false}
40 \lstset{basicstyle=\small}
42 %\usepackage{endfloat}
44 \topmargin -1.5cm % read Lamport p.163
45 \oddsidemargin -0.04cm % read Lamport p.163
46 \evensidemargin -0.04cm % same as oddsidemargin but for left-hand pages
49 %\pagestyle{empty} % Uncomment if don't want page numbers
50 \parskip 6.2pt % sets spacing between paragraphs
51 %\renewcommand{\baselinestretch}{1.5} % Uncomment for 1.5 spacing between lines
52 \parindent 0pt % sets leading space for paragraphs
54 \usepackage{fancyheadings}
56 \addtolength{\headheight}{2.5pt}
57 \renewcommand{\chaptermark}[1]{\markboth{\thechapter~~#1}{}}
58 \renewcommand{\sectionmark}[1]{\markright{\thesection~~#1}{}}
59 \ifthenelse{\boolean{@twoside}}
61 \rhead[\bfseries \rightmark]{\bfseries \thepage}
62 \lhead[\bfseries \leftmark]{\bfseries \thepage}
63 \addtolength{\headwidth}{\marginparsep}
64 \addtolength{\headwidth}{\marginparwidth}
66 \lhead{\bfseries \leftmark}
67 \rhead{\bfseries \thepage}
71 %---------------------------------------------------------
72 %---------------------------------------------------------
75 \include{titlepage/Titlepage} % This is who you are
79 %---------------------------------------------------------
80 % Do the table of Contents and lists of figures and tables
81 %---------------------------------------------------------
86 \pagenumbering{arabic}
87 %---------------------------------------------------------
88 %---------------------------------------------------------
89 %Include the chapters!
91 %\include{chapters/Demonstration}
92 \include{chapters/Introduction}
93 \include{chapters/Design}
94 \include{chapters/Approach}
95 \include{chapters/Results}
97 %---------------------------------------------------------
98 \renewcommand{\bibname}{References}
99 \bibliography{references/refs}
100 %\bibliographystyle{apalike}
101 \addcontentsline{toc}{part}{References}
102 %---------------------------------------------------------
106 %---------------------------------------------------------