docs/diploma

diff thesis/tex/header.tex @ 15:0b3b806f4eb2

new directory structure; added content about MTAs and history
author meillo@marmaro.de
date Tue, 23 Sep 2008 22:28:29 +0200
parents thesis/header.tex@f4d199ebf793
children caac61e854e8
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/thesis/tex/header.tex	Tue Sep 23 22:28:29 2008 +0200
     1.3 @@ -0,0 +1,88 @@
     1.4 +\documentclass[english,a4paper,twoside,openright]{report}
     1.5 +
     1.6 +  \usepackage[utf8]{inputenc}
     1.7 +  \usepackage{graphicx}
     1.8 +	\usepackage{url}
     1.9 +
    1.10 +	\usepackage{makeidx}
    1.11 +	\makeindex
    1.12 +
    1.13 +  \setlength{\parindent}{0em}
    1.14 +  \setlength{\parskip}{1.0ex plus 1.0ex minus 0.5ex}
    1.15 +  \setcounter{tocdepth}{3}
    1.16 +
    1.17 +  \pagestyle{headings}
    1.18 +  %\pagestyle{fancy}
    1.19 +	%\lhead[\leftmark]{\thepage}
    1.20 +	%\chead[]{}
    1.21 +	%\rhead[\thepage]{\rightmark}
    1.22 +  %\ifoot[\textsc{Markus Schnalke}]{\textsc{Markus Schnalke}}
    1.23 +  %\cfoot[]{}
    1.24 +  %\ofoot[\thepage]{\thepage}
    1.25 +
    1.26 +	\usepackage{setspace}
    1.27 +	\usepackage{relsize}
    1.28 +
    1.29 +	% formating
    1.30 +  \renewcommand{\path}[1]{\textit{#1}}
    1.31 +  \newcommand{\name}[1]{\emph{#1}}
    1.32 +	\newcommand{\NAME}[1]{{\smaller\textsc{#1}\larger}}
    1.33 +
    1.34 +  % \newcommand{\source}[1]{\hspace{1em}\textit{\scriptsize(Quelle: #1)}}
    1.35 +	\let\OLDcleardoublepage\cleardoublepage
    1.36 +	\renewcommand{\cleardoublepage}{\thispagestyle{empty}\OLDcleardoublepage}
    1.37 +
    1.38 +	% shortcuts
    1.39 +	\newcommand{\masqmail}{\name{masqmail}}
    1.40 +	\newcommand{\sendmail}{\name{sendmail}}
    1.41 +	\newcommand{\mta}{\name{mail transfer agent}}
    1.42 +	\newcommand{\email}{\name{email}}
    1.43 +	\newcommand{\debian}{\name{Debian}}
    1.44 +	\newcommand{\linux}{\name{Linux}}
    1.45 +	\newcommand{\gnulinux}{\NAME{GNU}/\name{Linux}}
    1.46 +	\newcommand{\MTA}{\NAME{MTA}}
    1.47 +	\newcommand{\RFC}{\NAME{RFC}}
    1.48 +	\newcommand{\GNU}{\NAME{GNU}}
    1.49 +
    1.50 +	%%%% BEGIN DEBUG %%%%
    1.51 +	%\usepackage{showidx}
    1.52 +	%\doublespace
    1.53 +	%%%% END DEBUG %%%%
    1.54 +
    1.55 +
    1.56 +	% font
    1.57 +	\usepackage[T1]{fontenc}
    1.58 +	\usepackage[sc,osf]{mathpazo}
    1.59 +	\linespread{1.05}         % Palatino needs more leading (space between lines)
    1.60 +
    1.61 +
    1.62 +
    1.63 +  \usepackage{listings}
    1.64 +	\lstset{
    1.65 +		basicstyle=\ttfamily\footnotesize,
    1.66 +		numberstyle=\tiny,
    1.67 +		basewidth=0.45em,
    1.68 +		numbers=left,
    1.69 +		stepnumber=1,
    1.70 +		numbersep=2em,
    1.71 +		showstringspaces=true,
    1.72 +		showtabs=true,
    1.73 +		tab=\rightarrowfill,
    1.74 +		frame=lines,
    1.75 +		tabsize=4,
    1.76 +		captionpos=b,
    1.77 +		breaklines=false,
    1.78 +		breakatwhitespace=true
    1.79 +	}
    1.80 +
    1.81 +
    1.82 +	\newenvironment{code}[2] {
    1.83 +		\begin{center}
    1.84 +		\lstset{label=#1,caption=#2}
    1.85 +		\begin{list}{}{\setlength{\rightmargin}{2em}\setlength{\leftmargin}{2em}}
    1.86 +		\item\ttfamily\footnotesize
    1.87 +	}{
    1.88 +		\end{list}
    1.89 +		\end{center}
    1.90 +	}
    1.91 +