A lot of minor (mostly textual) changes
[ssproject1617.git] / report / preamble.tex
1 \documentclass[a4paper,titlepage]{article}
2
3 \usepackage{CJKutf8}
4 \usepackage{rutitlepage}
5 \usepackage{geometry}
6 \usepackage{hyperref}
7 \usepackage{enumitem}
8 \usepackage{pifont}
9 \usepackage[dvipsnames]{xcolor}
10 \usepackage{mdframed}
11 \usepackage{titlesec}
12 \usepackage{amsmath}
13 \usepackage{booktabs}% good looking tables
14
15 \hypersetup{hidelinks, pdftitle={OWASP ASVS Souce Code Review Project}}
16
17 \newcommand{\sectionbreak}{\clearpage}
18 \titleformat{\section}[block]{\Large\bfseries}{\thesection}{1em}{}
19 \titleformat{\subsection}[block]{\large\bfseries}{\thesubsection}{1em}{}
20
21 % Als een criterium niet applicable is (we doen alleen 1 en 2)
22 \newcommand{\notapplicable}[1]{{\color{Gray} #1}}
23
24 % Layout voor resultaat van requirement check.
25 % (Anders loopt de tekst vd requirement direct over in het resultaat, wat niet duidelijk leest.)
26 \newmdenv[
27 topline=false,
28 bottomline=false,
29 rightline=false,
30 linewidth=1.5pt,
31 innerrightmargin=0pt,
32 innertopmargin=2pt,
33 innerbottommargin=2pt,
34 skipabove=\topsep,
35 skipbelow=\topsep%
36 ]{result}
37
38 % Tools afkortingen
39 \newcommand{\API}{\emph{API}}
40 \newcommand{\CMS}{CMS}
41 \newcommand{\CSRF}{CSRF}
42 \newcommand{\DELETE}{\code{DELETE}}
43 \newcommand{\DOM}{DOM}
44 \newcommand{\GET}{\code{GET}}
45 \newcommand{\GUID}{GUID}
46 \newcommand{\HTMLF}{HTML5}
47 \newcommand{\HTML}{HTML}
48 \newcommand{\HTTPS}{HTTPS}
49 \newcommand{\HTTP}{HTTP}
50 \newcommand{\JQuery}{jQuery}
51 \newcommand{\JSON}{JSON}
52 \newcommand{\LDAP}{LDAP}
53 \newcommand{\PHP}{PHP}
54 \newcommand{\PII}{PII}
55 \newcommand{\POST}{\code{POST}}
56 \newcommand{\PUT}{\code{PUT}}
57 \newcommand{\REST}{REST}
58 \newcommand{\RSS}{RSS}
59 \newcommand{\SMTP}{SMTP}
60 \newcommand{\SQL}{SQL}
61 \newcommand{\SSO}{SSO}
62 \newcommand{\TOTP}{TOTP}
63 \newcommand{\TRACE}{\code{TRACE}}
64 \newcommand{\XML}{XML}
65 \newcommand{\XSS}{XSS}
66
67
68 % Reference naar de source
69 \newcommand{\srcref}[2]{{\small\texttt{#1}} (line(s) #2)}
70
71 % Pass en fail
72 \newcommand{\pass}{{\large\ding{51}}}
73 \newcommand{\fail}{{\large\ding{55}}}
74 \newcommand{\TODO}{\ding{111} \textbf{\itshape TODO}}
75
76 % span code fragments
77 \newcommand{\code}[1]{\texttt{#1}}
78
79 \renewcommand{\emph}[1]{\textbf{\textit{#1}}}
80
81 \author{%
82 Kelley van Evert\\
83 Charlie Gerhardus\\
84 Wouter Kuhnen\\
85 Mart Lubbers\\
86 Daan Sprenkels}
87 \date{\today}
88 \title{OWASP ASVS Souce Code Review Project}