Browse Source

Initialize template

master
Arthur Poulet 4 years ago
commit
5a6a0fdf92
No known key found for this signature in database GPG Key ID: 655B758190EFBCD2
13 changed files with 267 additions and 0 deletions
  1. +1
    -0
      .gitignore
  2. BIN
      Logo.jpg
  3. +29
    -0
      Makefile
  4. +27
    -0
      body.tex
  5. +1
    -0
      body/abstract.tex
  6. +0
    -0
      body/blablabla.tex
  7. +2
    -0
      body/conclusion.tex
  8. +2
    -0
      body/introduction.tex
  9. +2
    -0
      glossary.tex
  10. +5
    -0
      header.tex
  11. +7
    -0
      report.bib
  12. +127
    -0
      report.tex
  13. +64
    -0
      titlepage.tex

+ 1
- 0
.gitignore View File

@ -0,0 +1 @@
/report.pdf

BIN
Logo.jpg View File

Before After
Width: 1654  |  Height: 1116  |  Size: 152 KiB

+ 29
- 0
Makefile View File

@ -0,0 +1,29 @@
NAME = report
all: build
build: #build_one build_bib build_index build_two
pdflatex $(NAME).tex
bibtex $(NAME).aux
makeglossaries $(NAME)
makeindex -s $(NAME).ist -t $(NAME).glg -o $(NAME).gls $(NAME).glo
pdflatex $(NAME).tex
pdflatex $(NAME).tex
build_one:
pdflatex $(NAME).tex
build_bib:
bibtex $(NAME).aux
build_index:
makeglossaries $(NAME)
makeindex -s $(NAME).ist -t $(NAME).glg -o $(NAME).gls $(NAME).glo
clean:
@rm -vf *.log *.out *.aux *.pdf
@rm -vf *.bbl *.blg
@rm -vf *.gls* *.glo *.glg *.ist *.acn *.acr *.alg
@rm -vf *.toc
.PHONY: all build build_one clean

+ 27
- 0
body.tex View File

@ -0,0 +1,27 @@
\begin{abstract}
\input{body/abstract.tex}
\end{abstract}
\vspace*{2cm}
% \pagebreak
\section{Introduction}
\input{body/introduction.tex}
\pagebreak
%\vspace*{2cm}
\setlength{\columnsep}{1cm}
\begin{multicols*}{2}
\raggedcolumns
\section{Blablabla}
\subsection{Blablabla} \input{body/blablabla.tex} \columnbreak
\subsection{Blablabla} \input{body/blablabla.tex} \columnbreak
\section{Blablabla}
\subsection{Blablabla} \input{body/blablabla.tex} \columnbreak
\subsection{Blablabla} \input{body/blablabla.tex} \columnbreak
\end{multicols*}
\pagebreak
%\vspace*{2cm}
\section{Conclusion} \input{body/conclusion.tex}

+ 1
- 0
body/abstract.tex View File

@ -0,0 +1 @@
This document is a presentation of the security software ``Snort''.

+ 0
- 0
body/blablabla.tex View File


+ 2
- 0
body/conclusion.tex View File

@ -0,0 +1,2 @@
\paragraph{}
This report has explained ...

+ 2
- 0
body/introduction.tex View File

@ -0,0 +1,2 @@
\paragraph{}
Nowadays\cite{OpticFibreRP}, ...

+ 2
- 0
glossary.tex View File

@ -0,0 +1,2 @@
\newacronym{NIDS}{NIDS}{Network based Intrusion Detection System}

+ 5
- 0
header.tex View File

@ -0,0 +1,5 @@
\newcommand{\mytitle}{Snort Intrusion Detection System}
\newcommand{\myauthor}{Arthur \textsc{Poulet} \\ agp8@kent.ac.uk, 16909734}
\title{\mytitle}
\author{\myauthor}

+ 7
- 0
report.bib View File

@ -0,0 +1,7 @@
@online{OpticFibreRP,
url = "https://www.rp-photonics.com/fibers.html",
title = "RP Photonics Encyclopedia, Fibers",
author = "Dr. Rüdiger Paschotta",
year = 2006,
}

+ 127
- 0
report.tex View File

@ -0,0 +1,127 @@
\documentclass[paper=a4, fontsize=11pt]{scrartcl}
%%%%%% PACKAGES %%%%%
\usepackage[T1]{fontenc}
\usepackage{fourier}
\usepackage[protrusion=true,expansion=true]{microtype}
%%% Lang / Locale
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
%%% Format
\usepackage{multicol} % multi colums
\usepackage[margin=2.6cm]{geometry} % margin
\usepackage{datetime} % dates formatted
\usepackage{abstract} % abstract
%%% Glossary and references
\usepackage[acronym]{glossaries} % acronyms
\usepackage[hidelinks]{hyperref} % removes ugly colored border arround the links
\usepackage[super]{natbib} % makes the reference as word¹
\usepackage{natbib} % references
\usepackage{url} % \url
%%% Code
\usepackage{listings} % embed code
\usepackage{xcolor} % colors with words
%%% Images
\usepackage{graphicx}
\usepackage{tikz}
\usetikzlibrary{arrows,shapes,decorations.pathmorphing,backgrounds,positioning,fit,petri}\usepackage{caption}
\usepackage{xifthen}
\usepackage{capt-of}
%%% Math packages
\usepackage{amsmath,amsfonts,amsthm}
\usepackage{graphicx}
\usepackage{url}
%%% Custom sectioning
\usepackage{sectsty}
\allsectionsfont{\centering \normalfont\scshape}
%%% Custom headers/footers (fancyhdr package)
\usepackage{lastpage}
\usepackage{fancyhdr}
\pagestyle{fancyplain}
\fancyhead{} % No page header
\fancyfoot[L]{} % Empty
\fancyfoot[C]{} % Empty
\fancyfoot[R]{\thepage\space of \pageref{LastPage}} % Pagenumbering
\renewcommand{\headrulewidth}{0pt} % Remove header underlines
\renewcommand{\footrulewidth}{0pt} % Remove footer underlines
\setlength{\headheight}{13.6pt}
%%% Equation and float numbering
\numberwithin{equation}{section} % Equationnumbering: section.eq#
\numberwithin{figure}{section} % Figurenumbering: section.fig#
\numberwithin{table}{section} % Tablenumbering: section.tab#
%%% CONFIGURATION
% Configure code embed
\hypersetup{pdfborder={0 0 0}}
\lstdefinestyle{colored}{
belowcaptionskip=1\baselineskip,
breaklines=true,
frame=L,
xleftmargin=\parindent,
language=Ruby,
showstringspaces=false,
basicstyle=\footnotesize\ttfamily,
numberstyle=\color{red},
keywordstyle=\color{green},
commentstyle=\itshape\color{purple},
identifierstyle=\color{blue},
stringstyle=\color{orange},
}
\lstset{escapechar=@,style=colored}
% Configure abstract title
%\renewcommand{\abstractname}{}
% ...
\usepackage{setspace}
% METADATA
\input{header.tex}
\loadglsentries[main]{glossary}
\makeglossaries
\newcommand{\horrule}[1]{\rule{\linewidth}{#1}} % Horizontal rule
%%% NEW Commands
\newcommand{\inlinecode}{\texttt}
\newcommand{\italic}[1]{{\em #1}}
\newcommand{\italicpl}[1]{{\em #1}{\em s}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DOCUMENT %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%\input{glossary.tex}
\input{titlepage.tex}
\newpage
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\tableofcontents
\newpage
{
\onehalfspacing
\input{body.tex}
}
\newpage
\medskip
\bibliographystyle{agsm}
\bibliography{report}
\newpage
\medskip
\printglossaries
\end{document}

+ 64
- 0
titlepage.tex View File

@ -0,0 +1,64 @@
\begin{titlepage}
\vspace*{2cm}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % Defines a new command for the horizontal lines, change thickness here
\center % Center everything on the page
% ----------------------------------------------------------------------------------------
% HEADING SECTIONS
% ----------------------------------------------------------------------------------------
% \textsc{\LARGE University of Kent}\\[1.5cm] % Name of your university/college
\includegraphics[width=4cm]{Logo}\\[1cm] % Include a department/university logo - this will
\textsc{\Large Msc Computer Security}\\[0.5cm] % Major heading such as course name
\textsc{\large CO876 - Network Security}\\[0.5cm] % Minor heading such as course title
% ----------------------------------------------------------------------------------------
% TITLE SECTION
% ----------------------------------------------------------------------------------------
\HRule \\[0.4cm]
{ \huge \bfseries \mytitle}\\[0.4cm] % Title of your document
\HRule \\[1.5cm]
% ----------------------------------------------------------------------------------------
% AUTHOR SECTION
% ----------------------------------------------------------------------------------------
% \begin{minipage}{0.4\textwidth}
% \begin{flushleft} \large
% \emph{Author:}\\
% Arthur \textsc{Poulet}\\ % Your name
% agp8, 16909734
% \end{flushleft}
% \end{minipage}
% ~
% \begin{minipage}{0.4\textwidth}
% \begin{flushright} \large
% \emph{Supervisor:} \\
% Dr. P. \textsc{Kenny} % Supervisor's Name
% \end{flushright}
% \end{minipage}\\[4cm]
% If you don't want a supervisor, uncomment the two lines below and remove the section above
\Large \emph{Author:}\\
\myauthor \\[3cm] % Your name
% ----------------------------------------------------------------------------------------
% DATE SECTION
% ----------------------------------------------------------------------------------------
{\large \today}\\[3cm] % Date, change the \today to a set date if you want to be precise
% ----------------------------------------------------------------------------------------
% LOGO SECTION
% ----------------------------------------------------------------------------------------
% \includegraphics[width=4cm]{Logo}\\[1cm] % Include a department/university logo - this will require the graphicx package
% ----------------------------------------------------------------------------------------
\vfill % Fill the rest of the page with whitespace
\end{titlepage}

Loading…
Cancel
Save