Merge branch 'master' of gitlab.science.ru.nl:mlubbers/ssproject1617
[ssproject1617.git] / report / preamble.tex
index 692cea3..03b12fd 100644 (file)
@@ -8,9 +8,16 @@
 \usepackage{pifont}
 \usepackage[dvipsnames]{xcolor}
 \usepackage{mdframed}
+\usepackage{titlesec}
+\usepackage{amsmath}
+\usepackage{booktabs}% good looking tables
 
 \hypersetup{hidelinks, pdftitle={OWASP ASVS Souce Code Review Project}}
 
+\newcommand{\sectionbreak}{\clearpage}
+\titleformat{\section}[block]{\Large\bfseries}{\thesection}{1em}{}
+\titleformat{\subsection}[block]{\large\bfseries}{\thesubsection}{1em}{}
+
 % Als een criterium niet applicable is (we doen alleen 1 en 2)
 \newcommand{\notapplicable}[1]{{\color{Gray} #1}}
 
   innertopmargin=2pt,
   innerbottommargin=2pt,
   skipabove=\topsep,
-  skipbelow=\topsep
+  skipbelow=\topsep%
 ]{result}
 
 % Tools afkortingen
+\newcommand{\API}{\emph{API}}
+\newcommand{\CMS}{\emph{CMS}}
+\newcommand{\CSRF}{\emph{CSRF}}
+\newcommand{\DELETE}{\emph{DELETE}}
+\newcommand{\DOM}{\emph{DOM}}
+\newcommand{\GET}{\emph{GET}}
+\newcommand{\GUID}{\emph{GUID}}
+\newcommand{\HTMLF}{\textsc{HTML5}}
+\newcommand{\HTML}{\textsc{HTML}}
+\newcommand{\HTTPS}{\textsc{HTTPS}}
+\newcommand{\HTTP}{\textsc{HTTP}}
+\newcommand{\JQuery}{\textsc{JQuery}}
+\newcommand{\JSON}{\textsc{JSON}}
+\newcommand{\LDAP}{\textsc{LDAP}}
 \newcommand{\PHP}{\textsc{PHP}}
+\newcommand{\PII}{\emph{PII}}
+\newcommand{\POST}{\emph{POST}}
+\newcommand{\PUT}{\emph{PUT}}
+\newcommand{\REST}{\emph{REST}}
+\newcommand{\RSS}{\emph{RSS}}
+\newcommand{\SMTP}{\emph{SMTP}}
 \newcommand{\SQL}{\textsc{SQL}}
-\newcommand{\LDAP}{\textsc{LDAP}}
+\newcommand{\SSO}{\emph{SSO}}
+\newcommand{\TOTP}{\emph{TOTP}}
+\newcommand{\TRACE}{\emph{TRACE}}
 \newcommand{\XML}{\textsc{XML}}
-\newcommand{\HTML}{\textsc{HTML}}
-\newcommand{\JSON}{\textsc{JSON}}
-\newcommand{\JQuery}{\textsc{JQuery}}
+\newcommand{\XSS}{\emph{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}}}
@@ -48,8 +76,6 @@
 % span code fragments
 \newcommand{\code}[1]{\texttt{#1}}
 
-\renewcommand\thesubsection{V\arabic{subsection}}
-
 \author{%
        Kelley van Evert\\
        Charlie Gerhardus\\