This repository was archived by the owner on Nov 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpreamble.tex
More file actions
83 lines (69 loc) · 2.27 KB
/
preamble.tex
File metadata and controls
83 lines (69 loc) · 2.27 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
\documentclass{article}
\usepackage{blindtext}
%%% FONTS %%%
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
%\usepackage{tgpagella} % set the document font to TeX Gyre Pagella
%\usepackage{tgbonum} % set the document font to TeX Gyre Bonum
%\usepackage{fontawesome5} % The Creative Commons icons
%%% DRAFT watermark %%%
%\usepackage{draftwatermark}
%\SetWatermarkText{DRAFT}
%\SetWatermarkScale{5.1}
%\SetWatermarkLightness{0.8}
\usepackage{xcolor} % \textcolor{red}{text} will be red for notes
\definecolor{lightgray}{gray}{0.6}
\definecolor{medgray}{gray}{0.4}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
urlcolor= blue,
citecolor=blue,
linkcolor= blue,
% bookmarks=true,
% bookmarksopen=false,
}
% Code to add paragraph numbers and titles
\newif\ifptitle
\newif\ifpnumber
\newcounter{para}
\newcommand\ptitle[1]{\par\refstepcounter{para}
{\ifpnumber{\noindent\textcolor{lightgray}{\textbf{\thepara}}\indent}\fi}
{\ifptitle{\textbf{[{#1}]}}\fi}}
\ptitletrue % comment this line to hide paragraph titles
\pnumbertrue % comment this line to hide paragraph numbers
% for inserting images in line
\usepackage{graphicx}
\graphicspath{ {images/} }
% Allows to rewrite the same title in the supplement
\newcommand{\mytitle}{A Cloud Based Lab Environment for Network Security Research}
\usepackage{authblk}
\usepackage{comment} % allows block comments
\usepackage{ragged2e} % use flush and justify for text blocks
\usepackage{csquotes} % use \displayquote{} in the doc
%%% GRAPHICS AND CODE BLOCKS %%%
\usepackage[listings, minted]{tcolorbox}
\usepackage{xcolor,colortbl}
\definecolor{myblue}{RGB}{0,163,243}
\definecolor{mygrey}{RGB}{128,128,128}
\definecolor{whitesmoke}{RGB}{245,245,245}
\newtcolorbox[auto counter, number within=section]{mybox}[2][]{
colbacktitle=mygrey,
colback=whitesmoke,
title={#2},
fonttitle=\ttfamily\small,
fontupper=\sffamily\small,
halign=flush left,
rounded corners
}
%\usepackage[verbose]{wrapfig} % wrap text around image
\definecolor{myblue}{HTML}{4285F4} % color table cells
\usepackage[tablegrid]{vhistory} % version history package
% Headers and footers
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\lhead{A Cloud Native Security Lab}
\lfoot{\tiny{December 27, 2022}}
\rfoot{\tiny{version: \vhCurrentVersion}}