X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=report%2Fpreamble.tex;h=0869d91782ddec15f0ed3cf8905e21994b69f886;hb=06d7ae862f750a89968a0c7c2104b133e801d3a5;hp=65856c54bd6adf72a101326764874a64d5dc0ee9;hpb=fa960dd59b57f192940b7eb3faecc40e0093c75a;p=ssproject1617.git diff --git a/report/preamble.tex b/report/preamble.tex index 65856c5..0869d91 100644 --- a/report/preamble.tex +++ b/report/preamble.tex @@ -1,7 +1,59 @@ \documentclass[a4paper,titlepage]{article} +\usepackage{CJKutf8} \usepackage{rutitlepage} \usepackage{geometry} +\usepackage{hyperref} +\usepackage{enumitem} +\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}} + +% Layout voor resultaat van requirement check. +% (Anders loopt de tekst vd requirement direct over in het resultaat, wat niet duidelijk leest.) +\newmdenv[ + topline=false, + bottomline=false, + rightline=false, + linewidth=1.5pt, + innerrightmargin=0pt, + innertopmargin=2pt, + innerbottommargin=2pt, + skipabove=\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}} + +% Reference naar de source +\newcommand{\srcref}[2]{{\small\texttt{#1}} (line(s) #2)} + +% Pass en fail +\newcommand{\pass}{{\large\ding{51}}} +\newcommand{\fail}{{\large\ding{55}}} +\newcommand{\TODO}{\ding{111} \textbf{\itshape TODO}} + +% span code fragments +\newcommand{\code}[1]{\texttt{#1}} \author{% Kelley van Evert\\