-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.tex
52 lines (43 loc) · 1.4 KB
/
config.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
\usepackage[margin=0.3cm]{geometry}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{multicol}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{microtype}
\usepackage{boites}
\usepackage{pgf}
\usepackage{stmaryrd}
\usepackage{minted}
\usepackage{lipsum}
\usepackage{xcolor}
\usepackage{mdframed}
\usepackage{enumitem}
\usepackage{tikz}
\usetikzlibrary{shapes,shapes.geometric,arrows,automata,fit,calc,positioning,matrix,backgrounds,decorations.pathreplacing}
\tikzset{initial text={}}
% change title sizes
\usepackage{titlesec}
\titleformat*{\section}{\small\bfseries}
\titleformat*{\subsection}{\small\bfseries}
\titleformat*{\subsubsection}{\small\bfseries}
\titleformat*{\paragraph}{\small\bfseries}
\titleformat*{\subparagraph}{\small\bfseries}
% remove indent of new paragraphs
\setlength\parindent{0pt}
% configure indents of breakboxes
\def\breakboxparindent{0pt}
\def\breakboxskip{2pt}
% remove page numbering
\pagenumbering{gobble}
%minted code
\definecolor{tango-bg}{HTML}{F8F8F8}
\newminted{haskell}{bgcolor=tango-bg,frame=lines,framesep=2mm,samepage=true,fontsize=\tiny}
\newminted{prolog}{bgcolor=tango-bg,frame=lines,framesep=2mm,fontsize=\tiny}
\newminted{scala}{bgcolor=tango-bg,frame=lines,framesep=2mm,fontsize=\tiny}
%new itemize signs (pos neg)
\newcommand\pro{\item[$+$]}
\newcommand\con{\item[$-$]}
% no spaces with items
\setlist{nolistsep,leftmargin=*}