f1f996cf9befadb335e8b1bc7a950fc845d88ea4
[ach-master.git] / src / common / system.tex
1 %%%
2 %%% system.tex
3 %%% Necessary packages and sytem changes
4 %%%
5 % Document Encoding. important.
6 \usepackage[utf8]{inputenc}
7
8 % changes font encoding to T1
9 \usepackage[T1]{fontenc}
10 \usepackage{textcomp}
11
12 % For searchable pdfs
13 \input glyphtounicode
14 \pdfgentounicode=1
15
16 \usepackage{fixltx2e}
17
18 % Setup KOMA script
19 \usepackage{scrhack}
20 \KOMAoptions{paper=a4%
21   ,fontsize=10pt%
22   ,DIV=12%
23   ,parskip=true%
24 }
25
26 % Language
27 \usepackage[english]{babel}
28
29 % Color
30 \usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
31 \usepackage{color}
32
33 % Packages for fonts
34 \usepackage{lmodern}
35 \usepackage[defaultsans]{opensans}
36 \usepackage[final,babel=true]{microtype}[2011/08/18]
37
38 \usepackage{pifont}
39 \newcommand{\yes}{\textcolor{green}{\ding{51}}}
40 \newcommand{\no}{\textcolor{red}{\ding{55}}}
41
42 % Figures and graphics
43 \usepackage[final]{graphicx}
44 \usepackage{epstopdf}
45 \usepackage{float}
46 \usepackage{subfig}
47 \usepackage{placeins}
48 \usepackage{wrapfig}
49 \usepackage{tikz}
50 \usetikzlibrary{shapes,arrows}
51
52 % Tables
53 \usepackage{longtable}
54 \usepackage{booktabs}
55 \renewcommand{\arraystretch}{1.25}
56 \usepackage{multicol}
57
58 % Verbatims and listings
59 \usepackage{fancyvrb}
60 \usepackage[final]{listings}
61
62 % The page
63 \usepackage[footsepline]{scrpage2}
64 \usepackage{lastpage}
65
66 % Misc
67 %\usepackage{draftwatermark}
68 \usepackage{gitinfo}
69 \usepackage{catchfile}
70 \usepackage{hyperref}
71
72 % for development
73 \usepackage{ifdraft}
74 \ifdraft{%
75   %% Heavy debugging
76   %\usepackage{showframe}
77   \usepackage{blindtext}
78   \usepackage{draftwatermark}
79   \SetWatermarkLightness{0.95}
80   %\AtEndDocument{\listoftodos}
81 }{
82   \let\blindtext\relax
83   \let\Blindtext\relax
84   \let\blinddocument\relax
85   \let\Blinddocument\relax
86 }
87
88 %%% Local Variables: 
89 %%% mode: latex
90 %%% TeX-master: "../applied-crypto-hardening"
91 %%% End: