move package loadings to system.tex
authorTobias Pape <tobias@netshed.de>
Fri, 27 Dec 2013 18:33:47 +0000 (19:33 +0100)
committerTobias Pape <tobias@netshed.de>
Sat, 28 Dec 2013 00:26:32 +0000 (01:26 +0100)
src/applied-crypto-hardening.tex
src/common/system.tex

index de38278..d5e3166 100644 (file)
 \documentclass{scrreprt}
 \input{common/system}
 
-\usepackage[english]{babel}
-\usepackage[final,babel=true]{microtype}[2011/08/18]
-\usepackage{graphicx}
-
-
-\usepackage{epstopdf}
-\usepackage{subfig}
-
-\usepackage[usenames,dvipsnames]{color}
-\usepackage{float}
-\usepackage{subfig}
-\usepackage{acronym}
-\usepackage{fancyvrb}
-\usepackage{listings}
-\usepackage{longtable}
-
 % Epigraph / dictum
 \renewcommand*{\dictumrule}{}
 \renewcommand*{\dictumauthorformat}[1]{--- #1}
 \setkomafont{dictumauthor}{\normalfont}
 \renewcommand{\dictumwidth}{8cm}
 
-\usepackage{gitinfo}
-
-% custom changes:
-\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
-\usepackage{placeins}
-\usepackage{draftwatermark}
-
-% human tables
-\usepackage{booktabs}
-\renewcommand{\arraystretch}{1.25}
-
-% side box
-\usepackage{wrapfig}
-%\usepackage{tcolorbox}
-\newenvironment{WrapText}[1][r]
-  {\wrapfigure{#1}{0.5\textwidth}\tcolorbox}
-  {\endtcolorbox\endwrapfigure}
-
-% Add text symbols
-\usepackage{pifont}
-\newcommand{\yes}{\textcolor{green}{\ding{51}}}
-\newcommand{\no}{\textcolor{red}{\ding{55}}}
-
-
 % Colours
 \definecolor{green}{RGB}{32,113,10}
 \definecolor{orange}{RGB}{251,111,16}
 \definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0}
 \definecolor{lightlightgray}{gray}{0.9}
 
-
-% make font Open Sans
-\usepackage[defaultsans]{opensans}
-
 % makes default font sans-serif
  \renewcommand{\familydefault}{\sfdefault}
 
@@ -126,9 +82,7 @@ morekeywords={__global__, __device__},  %
 \renewcommand{\todo}[1]{{\color{Red} TODO: {#1}}}
 
 \addtokomafont{disposition}{\color{darkblue}\bfseries}
-\usepackage[footsepline]{scrpage2}
 \setkomafont{pagefoot}{\normalfont\sffamily\footnotesize}
-\usepackage{lastpage}
 
 \ifoot%
 [Applied Crypto Hardening \textbullet{} Draft revision\gitVtags: \gitAbbrevHash{} (\gitCommitterIsoDate) \gitCommitterName]%
@@ -151,7 +105,6 @@ morekeywords={__global__, __device__},  %
 %tell TeX where to look for graphics/logos
 \graphicspath{ {/img/} }
 
-\usepackage{hyperref}
 \hypersetup{%
   breaklinks,%
   colorlinks,%
@@ -162,21 +115,15 @@ morekeywords={__global__, __device__},  %
 }
 \urlstyle{same}
 
-% Package to create dummy text
-\usepackage{blindtext}
-% debug page layout
-%\usepackage{showframe}
 
 %%% Begin document
 \begin{document}
-
 %\maketitle
 \pagestyle{scrheadings}
 % new title page
 \input{title.tex}
 
 
-
 \input{neboltai}
 \input{acknowledgements}
 \input{abstract}
index d4e7c95..873ed48 100644 (file)
   ,parskip=true%
 }
 
+% Language
+\usepackage[english]{babel}
+
+% Color
+\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
+\usepackage{color}
+
+% Packages for fonts
+\usepackage{lmodern}
+\usepackage[defaultsans]{opensans}
+\usepackage[final,babel=true]{microtype}[2011/08/18]
+
+\usepackage{pifont}
+\newcommand{\yes}{\textcolor{green}{\ding{51}}}
+\newcommand{\no}{\textcolor{red}{\ding{55}}}
+
+% Figures and graphics
+\usepackage{graphicx}
+\usepackage{epstopdf}
+\usepackage{float}
+\usepackage{subfig}
+\usepackage{placeins}
+\usepackage{wrapfig}
+
+% Tables
+\usepackage{longtable}
+\usepackage{booktabs}
+\renewcommand{\arraystretch}{1.25}
+
+
+% Verbatims and listings
+\usepackage{fancyvrb}
+\usepackage{listings}
+
+% The page
+\usepackage[footsepline]{scrpage2}
+\usepackage{lastpage}
+
+% Misc
+\usepackage{draftwatermark}
+\usepackage{gitinfo}
+\usepackage{hyperref}
+% Package to create dummy text
+\usepackage{blindtext}
+% debug page layout
+%\usepackage{showframe}
+
 
 %%% Local Variables: 
 %%% mode: latex