PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/doc/report/report.tex

http://github.com/hhughes/ocaml-frui
LaTeX | 88 lines | 50 code | 10 blank | 28 comment | 0 complexity | 1a0fabe195be96e9a853b2740ae0feda MD5 | raw file
 1\documentclass[12pt,a4paper]{book}
 2\usepackage{hyperref}
 3\usepackage{parskip}
 4\usepackage{listings}
 5\usepackage{color}
 6\usepackage{amsmath}
 7\usepackage{alltt}
 8\usepackage[pdftex]{graphicx}
 9\usepackage{graphviz}
10\usepackage{multirow}
11\usepackage{graphicx}
12\usepackage{epstopdf}
13\usepackage{geometry}
14\geometry{bindingoffset=1cm}
15%\usepackage{float}
16%\floatstyle{boxed} 
17%\restylefloat{figure}
18
19\usepackage{pdfpages}
20
21\usepackage[toc]{glossaries}
22
23\begin{document}
24\input{helpers.tex}
25
26%\lstlistoflistings
27\definecolor{darkgray}{rgb}{0.95,0.95,0.95}
28\lstset{language=caml}
29\lstset{backgroundcolor=\color{darkgray}}
30\lstset{frame=leftline}
31\lstset{identifierstyle=\ttfamily}
32\lstset{numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt}
33\lstset{morekeywords={setglobal,apply,makeblock,var,return,class,object,val,method}}
34\lstset{keywordstyle=\color{blue}\bfseries}
35\lstset{commentstyle=\color[rgb]{0.133,0.545,0.133}}
36\lstset{stringstyle=\color[rgb]{0.627,0.126,0.941}}
37\lstset{breaklines=false}
38
39\makeatletter\newenvironment{graybox}{%
40   \begin{lrbox}{\@tempboxa}\begin{minipage}{\columnwidth}}{\end{minipage}\end{lrbox}%
41   \colorbox{darkgray}{\usebox{\@tempboxa}}
42}\makeatother
43
44%% \lstset{
45%%   language=caml,
46%%   basicstyle=\scriptsize,
47%%   upquote=true,
48%% %  aboveskip={1.5\baselineskip},
49%%   columns=fixed,
50%%   showstringspaces=false,
51%%   extendedchars=true,
52%%   breaklines=true,
53%% %  prebreak = \raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},
54%%   frame=single,
55%%   showtabs=false,
56%%   showspaces=false,
57%%   showstringspaces=false,
58%%   identifierstyle=\ttfamily,
59%%   keywordstyle=\color[rgb]{0,0,1},
60%%   commentstyle=\color[rgb]{0.133,0.545,0.133},
61%%   stringstyle=\color[rgb]{0.627,0.126,0.941},
62%%   numbers=left,
63%% }
64\setcounter{tocdepth}{1}
65
66  \frontmatter
67  \input{cover.tex}
68  \input{prof.tex}
69  \input{orig.tex}
70  \tableofcontents
71
72  \mainmatter
73  \input{intro.tex}
74  \input{prep.tex}
75  \input{impl.tex}
76  \input{eval.tex}
77  \input{concl.tex} 
78
79%  \backmatter
80  \input{bibl.tex}
81%  \printglossaries
82%  \appendix
83%  \input{app.tex}
84\cleardoublepage
85  \addcontentsline{toc}{chapter}{Project Proposal}
86  \includepdf[pages={1-4}]{../proposal/proposal_final_final.pdf}
87
88\end{document}