repositories
/
ssproject1617.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor latex changes: changed the presentation of requirement results slightly for...
[ssproject1617.git]
/
report
/
preamble.tex
diff --git
a/report/preamble.tex
b/report/preamble.tex
index
a72256a
..
692cea3
100644
(file)
--- a/
report/preamble.tex
+++ b/
report/preamble.tex
@@
-7,12
+7,27
@@
\usepackage{enumitem}
\usepackage{pifont}
\usepackage[dvipsnames]{xcolor}
\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}}
\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}}
% Tools afkortingen
\newcommand{\PHP}{\textsc{PHP}}
\newcommand{\SQL}{\textsc{SQL}}
@@
-26,8
+41,12
@@
\newcommand{\srcref}[2]{{\small\texttt{#1}} (line (s) #2)}
% Pass en fail
\newcommand{\srcref}[2]{{\small\texttt{#1}} (line (s) #2)}
% Pass en fail
-\newcommand{\pass}{\ding{51}}
-\newcommand{\fail}{\ding{55}}
+\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}}
\renewcommand\thesubsection{V\arabic{subsection}}