X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=report%2Fpreamble.tex;h=15697c4ba9764c6c156abd035c829d9915425555;hb=44cda6e8361838491689480eb642eefa9b986b1c;hp=692cea34bc72e1549f1711888fede4a7aa36d76a;hpb=f67157c455b6d2362bc3969f55b0f862de0373fd;p=ssproject1617.git diff --git a/report/preamble.tex b/report/preamble.tex index 692cea3..15697c4 100644 --- a/report/preamble.tex +++ b/report/preamble.tex @@ -1,6 +1,7 @@ \documentclass[a4paper,titlepage]{article} \usepackage{CJKutf8} +\usepackage[british]{babel} \usepackage{rutitlepage} \usepackage{geometry} \usepackage{hyperref} @@ -8,9 +9,18 @@ \usepackage{pifont} \usepackage[dvipsnames]{xcolor} \usepackage{mdframed} +\usepackage{titlesec} +\usepackage{calc} +\usepackage{amsmath} +\usepackage{amssymb} +\usepackage{booktabs} \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}} @@ -25,17 +35,38 @@ 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)} @@ -43,12 +74,12 @@ % Pass en fail \newcommand{\pass}{{\large\ding{51}}} \newcommand{\fail}{{\large\ding{55}}} -\newcommand{\TODO}{\ding{111} \textbf{\itshape TODO}} +\newcommand{\TODO}{\ding{111} \textbf{\itshape{} TODO}} % span code fragments \newcommand{\code}[1]{\texttt{#1}} -\renewcommand\thesubsection{V\arabic{subsection}} +\renewcommand{\emph}[1]{\textbf{\textit{#1}}} \author{% Kelley van Evert\\