-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathreport.tex
More file actions
43 lines (28 loc) · 885 Bytes
/
report.tex
File metadata and controls
43 lines (28 loc) · 885 Bytes
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
\documentclass[12pt,a4paper]{article}
\input{latexmacros.tex}
\title{My Report}
\author{Me}
\date{\today}
\hypersetup{pdfauthor={Me}, pdftitle={My Report}}
\begin{document}
\maketitle
\begin{abstract}
We give a toy example of a report in \emph{literate programming} style.
The main advantage of this is that source code and documentation can
be written and presented next to each other.
We use the listings package to typeset Haskell source code nicely.
\end{abstract}
\vfill
\tableofcontents
\clearpage
% We include one file for each section. The ones containing code should
% be called something.lhs and also mentioned in the .cabal file.
\input{Howto.tex}
\input{lib/Basics.lhs}
\input{exec/Main.lhs}
\input{test/simpletests.lhs}
\input{Conclusion.tex}
\addcontentsline{toc}{section}{References}
\bibliographystyle{alpha}
\bibliography{references.bib}
\end{document}