1 %%% LaTeX Template: Two column article
3 %%% Source: http://www.howtotex.com/
4 %%% Feel free to distribute this template, but please keep to referal to http://www.howtotex.com/ here.
5 %%% Date: February 2011
8 \documentclass[ DIV=calc,%
11 %onecolumn]{scrartcl} % KOMA-article class
12 onecolumn]{scrreprt} % KOMA-article class
13 %onecolumn]{report} % KOMA-article class
15 \usepackage{lipsum} % Package to create dummy text
17 \usepackage[utf8]{inputenc}
19 \usepackage[english]{babel} % English language/hyphenation
20 \usepackage[protrusion=true,expansion=true]{microtype} % Better typography
21 \usepackage{amsmath,amsfonts,amsthm} % Math packages
22 \usepackage[pdftex]{graphicx} % Enable pdflatex
23 %\usepackage[svgnames]{xcolor} % Enabling colors by their 'svgnames'
24 \usepackage[hang, small,labelfont=bf,up,textfont=it,up]{caption} % Custom captions under/above floats
25 \usepackage{epstopdf} % Converts .eps to .pdf
26 \usepackage{subfig} % Subfigures
27 \usepackage{fix-cm} % Custom fontsizes
29 \usepackage[usenames,dvipsnames]{color}
37 \usepackage{longtable}
41 % \epigraphsize{\small}% Default
42 \setlength\epigraphwidth{8cm}
43 \setlength\epigraphrule{0pt}
45 \providecommand{\epitextfont}{\itshape}
46 \providecommand{\episourcefont}{}
48 \patchcmd{\@epitext}{#1}{{\epitextfont #1}}{}{}
49 \patchcmd{\@episource}{#1}{{\episourcefont --- #1}}{}{}
57 \usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
59 \usepackage{draftwatermark}
63 \renewcommand{\arraystretch}{1.25}
67 %\usepackage{tcolorbox}
68 \newenvironment{WrapText}[1][r]
69 {\wrapfigure{#1}{0.5\textwidth}\tcolorbox}
70 {\endtcolorbox\endwrapfigure}
74 \newcommand{\yes}{\textcolor{green}{\ding{51}}}
75 \newcommand{\no}{\textcolor{red}{\ding{55}}}
79 \definecolor{green}{RGB}{32,113,10}
80 \definecolor{orange}{RGB}{251,111,16}
81 \definecolor{red}{RGB}{247,56,0}
82 \definecolor{blue}{RGB}{0,28,128}
83 \definecolor{lightgreen}{RGB}{187,218,216}
84 \definecolor{intersectgreen}{RGB}{103,133,155}
85 \definecolor{darkblue}{RGB}{76,87,117}
87 \bibliographystyle{alphalink}
89 \definecolor{Brown}{cmyk}{0,0.81,1,0.60}
90 \definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40}
91 \definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0}
92 \definecolor{lightlightgray}{gray}{0.9}
95 %\allsectionsfont{\color{darkblue}\itshape\underline}
96 %\sectionfont{\color{darkblue}\itshape\selectfont}
97 %\subsectionfont{\color{darkblue}\itshape\selectfont}
98 \renewcommand*\sectfont{\sffamily\color{darkblue}\mdseries}
99 %\renewcommand*\sectfont{\rmfamily\mdseries\itshape}
101 % changes font encoding to T1
102 \usepackage[T1]{fontenc}
103 \usepackage{textcomp}
105 % make font Open Sans
106 \usepackage[defaultsans]{opensans}
108 % makes default font sans-serif
109 \renewcommand{\familydefault}{\sfdefault}
112 %language=Bash, % Code langugage
113 basicstyle=\ttfamily, % Code font, Examples: \footnotesize, \ttfamily
114 keywordstyle=\color{OliveGreen}, % Keywords font ('*' = uppercase)
115 commentstyle=\color{gray}, % Comments font
116 %numbers=left, % Line nums position
117 %numberstyle=\tiny, % Line-numbers fonts
118 %stepnumber=1, % Step between two line-numbers
119 %numbersep=5pt, % How far are line-numbers from code
120 backgroundcolor=\color{lightlightgray}, % Choose background color
121 frame=none, % A frame around the code
122 tabsize=2, % Default tab size
123 captionpos=b, % Caption-position = bottom
124 breaklines=true, % Automatic line breaking?
125 breakatwhitespace=false, % Automatic breaks only at whitespace?
126 showspaces=false, % Dont make spaces visible
127 showtabs=false, % Dont make tabls visible
128 columns=fixed, % Column format
129 morekeywords={__global__, __device__}, %
134 % Outputs red TODOs in the document. Requires \usepackage{color}.
135 % Usage: \todo{Document the TODO command.}
136 % Comment out second line to disable.
137 \newcommand{\todo}[1]{}
138 \renewcommand{\todo}[1]{{\color{Red} TODO: {#1}}}
141 %%% Custom sectioning (sectsty package)
143 \allsectionsfont{\bfseries}
144 \sectionfont{\bfseries}
146 % use more of the page
147 \usepackage{fullpage}
149 %%% Headers and footers
150 \usepackage{fancyhdr} % Needed to define custom headers/footers
151 \pagestyle{fancy} % Enabling the custom headers/footers
152 \usepackage{lastpage}
158 % Footer (you may change this to your own needs)
159 \lfoot{\footnotesize Applied Crypto Hardening \textbullet ~Draft revision\gitVtags: \gitAbbrevHash{} (\gitCommitterIsoDate) \gitCommitterName}
161 \rfoot{\footnotesize page \thepage\ of \pageref{LastPage}} % "Page 1 of 2"
162 \renewcommand{\headrulewidth}{0.0pt}
163 \renewcommand{\footrulewidth}{0.4pt}
166 % customized spaces between text and footnotes
167 \setlength{\skip\footins}{3\baselineskip}
170 %%% Creating an initial of the very first character of the content
171 \usepackage{lettrine}
172 \newcommand{\initial}[1]{%
173 \lettrine[lines=3,lhang=0.3,nindent=0em]{
177 %%% Title, author and date metadata
178 \usepackage{titling} % For custom titles
180 %defines horizontal rule for title
181 \newcommand{\HorRule}{\color{darkblue}\rule{\linewidth}{1pt}}
183 % no indent on first line of a paragraph
184 \setlength{\parindent}{0cm}
186 %tell TeX where to look for graphics/logos
187 \graphicspath{ {/img/} }
189 % hyperref needs to be the last package you load.
190 \usepackage[pdftex,breaklinks,colorlinks,linkcolor=darkblue,citecolor=blue,urlcolor=blue]{hyperref}
199 \thispagestyle{fancy} % Enabling the custom headers/footers for the first page
200 % The first character should be within \initial{}
201 %\initial{H}\textbf{ere is some sample text to show the initial in the introductory paragraph of this template article. The color and lineheight of the initial can be modified in the preamble of this document.}
209 \input{acknowledgements}
212 \chapter{Introduction}
213 \label{chapter:Intro}
214 \input{whoshouldread}
215 \input{related_publications}
221 \chapter{Practical recommendations}
222 \label{chapter:PracticalSettings}
223 \input{practical_settings}
226 %\epigraph{``Number theorists are like lotus-eaters - having tasted this food they can never give it up.''}{Leopold Kronecker}
227 \label{chapter:Theory}
232 \input{suggested_reading}
233 \input{cipher_suite_names}
234 \input{further_research}