X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=report%2Fpreamble.tex;h=692cea34bc72e1549f1711888fede4a7aa36d76a;hb=4cfce62881e08e89e155c7965c138568a336cdb1;hp=df6f0c1753db69c0e71d190d0e50e693ea6e08d3;hpb=df7e2e55032a0398edc1041e0f85328858b7fcd1;p=ssproject1617.git diff --git a/report/preamble.tex b/report/preamble.tex index df6f0c1..692cea3 100644 --- a/report/preamble.tex +++ b/report/preamble.tex @@ -1,13 +1,60 @@ \documentclass[a4paper,titlepage]{article} +\usepackage{CJKutf8} +\usepackage{rutitlepage} \usepackage{geometry} +\usepackage{hyperref} +\usepackage{enumitem} +\usepackage{pifont} +\usepackage[dvipsnames]{xcolor} +\usepackage{mdframed} + +\hypersetup{hidelinks, pdftitle={OWASP ASVS Souce Code Review Project}} + +% 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}} + +\renewcommand\thesubsection{V\arabic{subsection}} \author{% - Kelley van Evert\and - Charlie Gerhardus\and - Wouter Kuhnen\and - Mart Lubbers\and - Daan Sprenkels -} + Kelley van Evert\\ + Charlie Gerhardus\\ + Wouter Kuhnen\\ + Mart Lubbers\\ + Daan Sprenkels} \date{\today} \title{OWASP ASVS Souce Code Review Project}