-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprelude.tex
56 lines (45 loc) · 1.07 KB
/
prelude.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
% mosttly stylistic stuff goes here
\titleformat{\title}
{\normalf ont\Large\sffamily\bfseries \titlerule}
{\thetitle}
{.5em}
{\MakeUppercase}
[\vspace{.5ex}\titlerule]
\titleformat{\section}
{\normalfont\Large\sffamily\bfseries \titlerule}
{\thesection}
{.5em}
{\MakeUppercase}
[\vspace{.5ex}\titlerule]
\titleformat{\subsection}
{\normalfont\normalsize\sffamily\bfseries}
{\thesubsection}
{.5em}
{\MakeUppercase}
\newcommand\basicCodeStyle{\ttfamily\small}
\newcommand\keywordCodeStyle{\bfseries}
\lstset{
basicstyle=\basicCodeStyle,
keywordstyle=\keywordCodeStyle,
numberstyle=\scriptsize\sffamily,
commentstyle={\bfseries\textcolor{gray}},
tabsize=4,
captionpos=b,
frame=lines,
% numbers=left,
language=ML,
% xleftmargin=2em,
% framexleftmargin=1.5em,
backgroundcolor=\color[rgb]{1,0.98,.98},
breaklines=false,
breakautoindent=false,
postbreak=\space,
breakindent=5pt,
escapeinside={/*@}{@*/},
aboveskip=1em,
belowskip=0pt,
belowcaptionskip=0pt,
morecomment=[l]{//},
morecomment=[s]{/*}{*/},
mathescape=true
}