aboutsummaryrefslogtreecommitdiff
path: root/src/layout/headers.tex
blob: 88709cb8bb0d8be88a053ead61fc1ae76cc98218 (plain)
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

% % % % % % % % % %
% P A C K A G E S %
% % % % % % % % % %

\usepackage[english]{babel}
\usepackage{anonchap}
\usepackage[left=3cm,top=3cm,right=3cm,bottom=3cm]{geometry}
\usepackage{fancyhdr}
\usepackage[x11names]{xcolor}
\usepackage{hyphenat} 
\usepackage[pdftex]{graphicx}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{enumerate}
\usepackage{listings}
\usepackage{verbatim}
\usepackage{caption}
\usepackage{multirow}
\usepackage{appendix}
\usepackage{tikz}
\usepackage{pgf}
\usepackage{url}
\usepackage[super,square,comma]{natbib}
\usepackage{hyperref}
\usepackage{amsmath}

% % % % % % % % % %
% S E T T I N G S %
% % % % % % % % % %
\title{333networks masterserver technical reference}
\author{Darkelarious}

\usetikzlibrary{shapes,arrows,angles, calc}

\simplechapter

\newcommand{\HRule}{\rule{\linewidth}{0.1mm}}
\renewcommand{\simplechapterdelim}{.}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}

%\setlength{\parindent}{0in}

% header/footer
\pagestyle{fancyplain}
\setlength{\headheight}{14pt}
\fancyhf[LH]{\nouppercase\leftmark}
\fancyhf[CH]{}
\fancyhf[RH]{Masterserver}
\fancyhf[LF]{\raisebox{-10pt}{\includegraphics[height=20pt]{./img/333networks-bw}}}
\fancyhf[CF]{}
\fancyhf[RF]{\thepage{}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}

%misc
\hbadness 10000

\hypersetup{
  colorlinks=true,
  linkcolor=black,
  citecolor=SpringGreen4,
  filecolor=darkgray,
  urlcolor=blue
} 

\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{lightgray}{rgb}{0.95,0.95,0.95}
\definecolor{darkgray}{rgb}{.3,.3,.3}


\lstset{
  basicstyle=\footnotesize,       % the size of the fonts that are used for the code
  numbers=left,                   % where to put the line-numbers
  numberstyle=\color{gray},       % the style that is used for the line-numbers
  stepnumber=1,                   % the step between two line-numbers. If it's 1, each line 
                                  % will be numbered
  numbersep=10pt,                 % how far the line-numbers are from the code
  backgroundcolor=\color{lightgray}, % choose the background color. You must add \usepackage{color}
  %showspaces=false,               % show spaces adding particular underscores
  %showstringspaces=false,         % underline spaces within strings
  %showtabs=false,                 % show tabs within strings adding particular underscores
  frame=tb,                       % lines above and below
  %rulecolor=\color{gray},          % colored in a slightly darker gray
  %framesep=3pt,
  %tabsize=2,                      % sets default tabsize to 2 spaces
  %captionpos=b,                   % sets the caption-position to bottom
  %breaklines=true,                % sets automatic line breaking
  %breakatwhitespace=true,         % sets if automatic breaks should only happen at whitespace
  %keywordstyle=\bfseries,          % keywords are bold
  %emphstyle=\itshape\color{green!30!black},
  %xleftmargin=5pt,
  framexleftmargin=1cm,
  xleftmargin=4cm,
  xrightmargin=4cm,
  %keywordstyle=\bfseries\color{green!40!black},
  %commentstyle=\itshape\color{gray!40!black},
  %identifierstyle=\color{black},
  %stringstyle=\color{orange},
  firstnumber=1
}