Merge branch 'master' of gitlab.science.ru.nl:mlubbers/ssproject1617
[ssproject1617.git] / report / preamble.tex
index 0de5d4e..3e2046a 100644 (file)
@@ -9,7 +9,9 @@
 \usepackage[dvipsnames]{xcolor}
 \usepackage{mdframed}
 \usepackage{titlesec}
+\usepackage{calc}
 \usepackage{amsmath}
+\usepackage{amssymb}
 \usepackage{booktabs}% good looking tables
 
 \hypersetup{hidelinks, pdftitle={OWASP ASVS Souce Code Review Project}}
   innertopmargin=2pt,
   innerbottommargin=2pt,
   skipabove=\topsep,
-  skipbelow=\topsep
+  skipbelow=\topsep%
 ]{result}
 
 % Tools afkortingen
-\newcommand{\PHP}{\textsc{PHP}}
-\newcommand{\SQL}{\textsc{SQL}}
-\newcommand{\LDAP}{\textsc{LDAP}}
-\newcommand{\XML}{\textsc{XML}}
-\newcommand{\HTML}{\textsc{HTML}}
-\newcommand{\JSON}{\textsc{JSON}}
-\newcommand{\JQuery}{\textsc{JQuery}}
+\newcommand{\API}{\emph{API}}
+\newcommand{\CMS}{CMS}
+\newcommand{\CSRF}{CSRF}
+\newcommand{\DELETE}{\code{DELETE}}
+\newcommand{\DOM}{DOM}
+\newcommand{\GET}{\code{GET}}
+\newcommand{\GUID}{GUID}
+\newcommand{\HTMLF}{HTML5}
+\newcommand{\HTML}{HTML}
+\newcommand{\HTTPS}{HTTPS}
+\newcommand{\HTTP}{HTTP}
+\newcommand{\JQuery}{jQuery}
+\newcommand{\JSON}{JSON}
+\newcommand{\LDAP}{LDAP}
+\newcommand{\PHP}{PHP}
+\newcommand{\PII}{PII}
+\newcommand{\POST}{\code{POST}}
+\newcommand{\PUT}{\code{PUT}}
+\newcommand{\REST}{REST}
+\newcommand{\RSS}{RSS}
+\newcommand{\SMTP}{SMTP}
+\newcommand{\SQL}{SQL}
+\newcommand{\SSO}{SSO}
+\newcommand{\TOTP}{TOTP}
+\newcommand{\TRACE}{\code{TRACE}}
+\newcommand{\XML}{XML}
+\newcommand{\XSS}{XSS}
+
 
 % Reference naar de source
-\newcommand{\srcref}[2]{{\small\texttt{#1}} (line (s) #2)}
+\newcommand{\srcref}[2]{{\small\texttt{#1}} (line(s) #2)}
 
 % Pass en fail
 \newcommand{\pass}{{\large\ding{51}}}
@@ -55,6 +78,8 @@
 % span code fragments
 \newcommand{\code}[1]{\texttt{#1}}
 
+\renewcommand{\emph}[1]{\textbf{\textit{#1}}}
+
 \author{%
        Kelley van Evert\\
        Charlie Gerhardus\\