add URL as subtitle. Damn you TeX
[ach-master.git] / src / applied-crypto-hardening.tex
1 %%% LaTeX Template: Two column article
2 %%%
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
6
7 %%% Preamble
8 \documentclass[ DIV=calc,%
9                                 paper=a4,%
10                                 fontsize=9pt,%
11                                 onecolumn]{scrartcl}                                            % KOMA-article class
12
13 \usepackage{lipsum}                                                                                                     % Package to create dummy text
14
15
16
17 \usepackage[english]{babel}                                                                             % English language/hyphenation
18 \usepackage[protrusion=true,expansion=true]{microtype}                          % Better typography
19 \usepackage{amsmath,amsfonts,amsthm}                                    % Math packages
20 \usepackage[pdftex]{graphicx}                                                                   % Enable pdflatex
21 %\usepackage[svgnames]{xcolor}                                                                  % Enabling colors by their 'svgnames'
22 \usepackage[hang, small,labelfont=bf,up,textfont=it,up]{caption}        % Custom captions under/above floats
23 \usepackage{epstopdf}                                                                                           % Converts .eps to .pdf
24 \usepackage{subfig}                                                                                                     % Subfigures
25 \usepackage{booktabs}                                                                                           % Nicer tables
26 \usepackage{fix-cm}                                                                                                     % Custom fontsizes
27
28 \usepackage[usenames,dvipsnames]{color}
29 \usepackage{float}
30 \usepackage{subfig}
31 %\usepackage{tikz}
32 \usepackage{acronym}
33 \usepackage{amsthm}
34 \usepackage{fancyvrb}
35 \usepackage{listings}
36
37
38 % custom changes:
39 \usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
40 \usepackage{placeins}
41 \usepackage{hyperref}
42 \usepackage{draftwatermark}
43
44 \definecolor{green}{RGB}{32,113,10}
45 \definecolor{orange}{RGB}{251,111,16}
46 \definecolor{red}{RGB}{247,56,0}
47 \definecolor{blue}{RGB}{0,28,128}
48
49 \bibliographystyle{plain}
50
51
52 \definecolor{Brown}{cmyk}{0,0.81,1,0.60}
53 \definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40}
54 \definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0}
55 \definecolor{lightlightgray}{gray}{0.9}
56
57 \lstset{
58 language=Bash,                             % Code langugage
59 basicstyle=\ttfamily,                   % Code font, Examples: \footnotesize, \ttfamily
60 keywordstyle=\color{OliveGreen},        % Keywords font ('*' = uppercase)
61 commentstyle=\color{gray},              % Comments font
62 %numbers=left,                           % Line nums position
63 %numberstyle=\tiny,                      % Line-numbers fonts
64 %stepnumber=1,                           % Step between two line-numbers
65 %numbersep=5pt,                          % How far are line-numbers from code
66 backgroundcolor=\color{lightlightgray}, % Choose background color
67 frame=none,                             % A frame around the code
68 tabsize=2,                              % Default tab size
69 captionpos=b,                           % Caption-position = bottom
70 breaklines=true,                        % Automatic line breaking?
71 breakatwhitespace=false,                % Automatic breaks only at whitespace?
72 showspaces=false,                       % Dont make spaces visible
73 showtabs=false,                         % Dont make tabls visible
74 columns=fixed,                          % Column format
75 morekeywords={__global__, __device__},  % 
76 }
77
78
79 %% \todo{} command.
80 %
81 % Outputs red TODOs in the document. Requires \usepackage{color}.
82 %
83 % Usage: \todo{Document the TODO command.}
84 %
85 % Comment out second line to disable.
86 \newcommand{\todo}[1]{}
87 \renewcommand{\todo}[1]{{\color{red} TODO: {#1}}}
88
89
90 %%% Custom sectioning (sectsty package)
91 \usepackage{sectsty}                                                                                                    % Custom sectioning (see below)
92 \allsectionsfont{%                                                                                                                      % Change font of al section commands
93         \usefont{OT1}{phv}{b}{n}%                                                                               % bch-b-n: CharterBT-Bold font
94         }
95
96 \sectionfont{%                                                                                                                          % Change font of \section command
97         \usefont{OT1}{phv}{b}{n}%                                                                               % bch-b-n: CharterBT-Bold font
98         }
99
100 % use more of the page
101 \usepackage{fullpage}
102
103 %%% Headers and footers
104 \usepackage{fancyhdr}                                                                                           % Needed to define custom headers/footers
105         \pagestyle{fancy}                                                                                                               % Enabling the custom headers/footers
106 \usepackage{lastpage}   
107
108 % Header (empty)
109 \lhead{}
110 \chead{}
111 \rhead{}
112 % Footer (you may change this to your own needs)
113 \lfoot{\footnotesize Applied Crypto Hardening \textbullet ~Draft}
114 \cfoot{}
115 \rfoot{\footnotesize page \thepage\ of \pageref{LastPage}}      % "Page 1 of 2"
116 \renewcommand{\headrulewidth}{0.0pt}
117 \renewcommand{\footrulewidth}{0.4pt}
118
119
120
121 %%% Creating an initial of the very first character of the content
122 \usepackage{lettrine}
123 \newcommand{\initial}[1]{%
124      \lettrine[lines=3,lhang=0.3,nindent=0em]{
125                                 \color{DarkGoldenrod}
126                                 {\textsf{#1}}}{}}
127
128
129
130 %%% Title, author and date metadata
131 \usepackage{titling}                                                                                                                    % For custom titles
132
133 \newcommand{\HorRule}{\color{DarkGoldenrod}%                    % Creating a horizontal rule
134                                                                                 \rule{\linewidth}{1pt}%
135                                                                         }
136
137 \pretitle{\vspace{-30pt} \begin{flushleft} \HorRule 
138                                 \fontsize{36}{36} \usefont{OT1}{phv}{b}{n} \color{DarkRed} \selectfont 
139                                 }
140 \title{Applied Crypto Hardening \\ \vskip 0.5em \large www.bettercrypto.org}
141 \posttitle{\par\end{flushleft}\vskip 0.5em}
142
143 \preauthor{\begin{flushleft}
144                                         \large \lineskip 0.5em \usefont{OT1}{phv}{b}{sl} \color{DarkRed}}
145
146                                         \author{Wolfgang Breyha, David Durvaux, Tobias Dussa, L. Aaron
147                                         Kaplan, Christian Mock, Manuel Koschuch, Adi
148                                 Kriegisch, Ramin Sabet, Aaron Zauner, Pepi Zawodsky}
149 %\institute{
150 %FH Campus Wien
151 %\and
152 %VRVis
153 %\and
154 %CERT.at
155 %\and
156 %Karlsruhe Institute of Technology
157 %}
158
159
160 \setlength{\parindent}{0cm}
161
162 \postauthor{\footnotesize \usefont{OT1}{phv}{m}{sl} \color{Black} 
163 \\ \vskip 0.5em  (University of Vienna, CERT.be, KIT-CERT, CERT.at, coretec.at, FH Campus Wien, VRVis, A-Trust, azet.org, maclemon.at)
164                                         \par\end{flushleft}\HorRule}
165
166 \date{\today}
167
168
169
170 %%% Begin document
171 \begin{document}
172 \maketitle
173 \thispagestyle{fancy}                   % Enabling the custom headers/footers for the first page 
174 % The first character should be within \initial{}
175 %\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.}
176
177 \input{abstract}
178 \newpage
179 \tableofcontents
180 \newpage
181 \input{disclaimer}
182 \input{motivation}
183 \input{methods}
184 \input{PKIs}
185 \input{ECC}
186 \input{keylengths}
187 \input{RNGs}
188 \input{cipher_suites}
189 \input{practical_settings}
190 \input{tools}
191 \input{further_research}
192 \input{links}
193 \input{suggested_reading}
194 \input{reviewers}
195
196 \bibliography{applied-crypto-hardening}
197
198 \end{document}