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