This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
68 lines (54 loc) · 1.51 KB
/
main.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
\documentclass{book}
% to include algorithm environments
\usepackage[chapter]{algorithm}
\usepackage{algorithmic}
% -------------- took from conjure journal ----------------
\usepackage{listings}
\usepackage{courier}% Get courier font that has bold teletype for listings.
\lstset{
basicstyle=\small\ttfamily,
mathescape,
escapechar=@,
numbers=left,
keywordstyle=\bfseries,
keywords = {language, ESSENCE, given, letting, find, such, that,
bool, int, matrix, enum, variant, record, set, mset,
sequence, function, relation, partition,
domain, total, surjective, be,
forAll, exists, sum, injective, in, preImage, range,
new, type, intersect, union, from,
minimising, maximising, of, indexed, by,
defined, maxSize, maxNumParts, size, regular, language, cheese
}
showstringspaces=false,
tabsize=1,
breaklines=true,
breakatwhitespace=false
}
% -------------- took from conjure journal ----------------
% to draw figures
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows}
% to be able to have example environments
\newtheorem{example}{Example}[section]
\title{The Essence of Constraint Programming}
\author{Joan Espasa Arxer}
\date{TBA}
\begin{document}
\frontmatter
\maketitle
\chapter{Preface}
Preface here
% ...
\mainmatter
\chapter{Introduction}
\input{introduction}
\chapter{Starting Out}
\input{starting_out}
\appendix
\chapter{First Appendix}
Appendices
\backmatter
\chapter{Last note}
Last notes before closing ...
\end{document}