-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocstyle.sty
75 lines (62 loc) · 2.1 KB
/
docstyle.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Penetration Test Report Template %
% cyber@cfreg %
% https://hack.newhaven.edu/ %
% %
% Contributors: %
% TJ Balon - https://github.com/balon %
% Samuel Zurowski - https://github.com/samuelzurowski %
% Charles Barone - https://github.com/CharlesBarone %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ProvidesPackage{docstyle}
% French support packages
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage{pgf-pie}
\usepackage[USenglish]{babel}
% Layout packages
\usepackage{lmodern}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{fancyhdr}
\usepackage{placeins}
\usepackage{wrapfig}
\usepackage[letterpaper, left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm, headheight=15pt]{geometry}
\usepackage{hyperref}
\hypersetup{colorlinks, allcolors=black}
% References
\usepackage{csquotes}
\usepackage[style=numeric,
backend=biber,
sorting=none
]{biblatex}
\addbibresource{references.bib}
% Caption
\usepackage{capt-of}
% For dotted table of content
\makeatletter
\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
\renewcommand*\l@subsection{\@dottedtocline{2}{2.3em}{3.2 em}}
\makeatother
%more control over table layouts
\usepackage{tabulary}
\newcolumntype{R}{>{\raggedleft\arraybackslash}X}
\usepackage{float}
\restylefloat{table}
% Horizontal line and separator
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\newcommand{\hseparator}{\hspace{0.3em}-\hspace{0.3em}}
\newcommand{\doctitle}{}
\fancypagestyle{footmark}{
\ps@@fancy % use {fancy} style as a base of {footmark}
\fancyfoot[C]{\footmark}
}
% sets value of \footmark and sets the correct style for this page only
\newcommand\markfoot[1]{\gdef\footmark{#1}\thispagestyle{footmark}}
% Page layout
\pagestyle{fancy}
\lhead{\client\ - \teamname}
\rhead{\doctitle}
\cfoot{\color{red}{NOTICE: CONFIDENTIAL FOR \cptc\ ONLY}}
\rfoot{Page \thepage}