-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathheader.tex
More file actions
108 lines (88 loc) · 2.44 KB
/
Copy pathheader.tex
File metadata and controls
108 lines (88 loc) · 2.44 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
\documentclass[10pt]{book}
% Use the following set up, it works for CreateSpace and IngramSpark.
\usepackage{geometry}
\geometry{paperwidth=7.5in,paperheight=9.25in, bindingoffset=2cm,
left=1.00in,right=0.50in,top=0.75in,bottom=0.50in,twoside}
\usepackage[most]{tcolorbox}
\usepackage{times}
\usepackage{epsf}
\usepackage{epsfig}
\usepackage{amsmath, alltt, amssymb, xspace}
\usepackage{wrapfig}
\usepackage{fancyhdr}
\usepackage{url}
\usepackage{verbatim}
\usepackage{fancyvrb}
\usepackage{listings}
\usepackage{color}
\usepackage{minitoc}
\usepackage{makeidx}
\usepackage{lipsum}
\usepackage{subfigure}
%\usepackage[style=numeric]{biblatex}
%\usepackage{cite}
\usepackage[square]{natbib}
\usepackage{hyperref}
\hypersetup{%
pdfborder = {0 0 0}
}
\usepackage{sidecap}
\usepackage{pifont}
\usepackage{mdframed}
\usepackage{textcomp}
\usepackage{comment}
\usepackage{enumitem}
% for watermark
%\usepackage{draftwatermark}
\newcommand{\ubuntutwo}{{\tt Ubuntu12.04}\xspace}
\newcommand{\ubuntusix}{{\tt Ubuntu16.04}\xspace}
\newcommand{\todo}[1]{
\vspace{0.1in}
\fbox{\parbox{0.9\textwidth}{TODO: #1}}
\vspace{0.1in}
}
\newcommand{\mybox}[1]{
\vspace{0.2in}
\noindent
\fbox{\parbox{6.5in}{#1}}
\vspace{0.1in}
}
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\definecolor{lightgray}{gray}{0.90}
\lstset{%
frame=none,
language=,
backgroundcolor=\color{lightgray},
aboveskip=3mm,
belowskip=3mm,
showstringspaces=false,
% columns=flexible,
basicstyle={\small\ttfamily},
numbers=none,
numberstyle=\tiny\color{gray},
keywordstyle=\color{blue},
commentstyle=\color{dkgreen},
stringstyle=\color{mauve},
breaklines=true,
breakatwhitespace=true,
tabsize=3,
columns=fullflexible,
keepspaces=true,
escapeinside={(*@}{@*)}
}
% This should be turned on when we compile the whole book
% Control the depth of the minitoc. The default is 2, but
% I prefer to use 1.
\setcounter{minitocdepth}{1}
\setcounter{parttocdepth}{0}
% Add chapter number to enumerate list number
% Each chapter will redefine this \mychapternumber variable.
%\newcommand{\mychapternumber}{0}
%\setenumerate[1]{label=\mychapternumber.\arabic*.}
%\setenumerate[1]{label=\thechapter.\arabic*.}
%\setenumerate[2]{label=\arabic*.}
\newcommand{\seedurl}{\url{https://seedsecuritylabs.org}}
\newcommand{\problemurl}{\url{https://www.handsonsecurity.net/}}
\newcommand{\bookurl}{\url{https://www.handsonsecurity.net/}}