docs/diploma
view thesis/thesis.sty @ 30:6c4b50b44d05
wrote about history of email (new text)
author | meillo@marmaro.de |
---|---|
date | Tue, 07 Oct 2008 12:37:38 +0200 |
parents | 563205a1b07e |
children | 225669a51b11 |
line source
1 \ProvidesPackage{thesis}
3 \usepackage[utf8]{inputenc}
4 \usepackage{graphicx}
5 \usepackage{url}
7 \usepackage{makeidx}
8 \makeindex
10 \setlength{\parindent}{0em}
11 \setlength{\parskip}{1.0ex plus 1.0ex minus 0.5ex}
12 \setcounter{tocdepth}{3}
14 \pagestyle{headings}
15 %\pagestyle{fancy}
16 %\lhead[\leftmark]{\thepage}
17 %\chead[]{}
18 %\rhead[\thepage]{\rightmark}
19 %\ifoot[\textsc{Markus Schnalke}]{\textsc{Markus Schnalke}}
20 %\cfoot[]{}
21 %\ofoot[\thepage]{\thepage}
23 \usepackage{setspace}
24 \usepackage{relsize}
26 % formating
27 \renewcommand{\path}[1]{\textit{#1}}
28 \newcommand{\name}[1]{\emph{#1}}
29 \newcommand{\NAME}[1]{{\smaller\textsc{#1}\larger}}
31 % \newcommand{\source}[1]{\hspace{1em}\textit{\scriptsize(Quelle: #1)}}
32 \let\OLDcleardoublepage\cleardoublepage
33 \renewcommand{\cleardoublepage}{\thispagestyle{empty}\OLDcleardoublepage}
35 % shortcuts
36 \newcommand{\masqmail}{\name{masqmail}}
37 \newcommand{\sendmail}{\name{sendmail}}
38 \newcommand{\mta}{\name{mail transfer agent}}
39 \newcommand{\email}{\name{email}}
40 \newcommand{\debian}{\name{Debian}}
41 \newcommand{\linux}{\name{Linux}}
42 \newcommand{\gnulinux}{\NAME{GNU}/\name{Linux}}
43 \newcommand{\MTA}{\NAME{MTA}}
44 \newcommand{\RFC}{\NAME{RFC}}
45 \newcommand{\GNU}{\NAME{GNU}}
46 \newcommand{\unix}{\name{Unix}}
48 \newcommand{\nth}{\textsuperscript{th}}
49 \newcommand{\st}{\textsuperscript{st}}
50 \newcommand{\nd}{\textsuperscript{nd}}
51 \newcommand{\rd}{\textsuperscript{rd}}
54 %%%% BEGIN DEBUG %%%%
55 %\usepackage{showidx}
56 %\doublespace
57 %%%% END DEBUG %%%%
60 % font
61 \usepackage[T1]{fontenc}
62 \usepackage[sc,osf]{mathpazo}
63 \linespread{1.05} % Palatino needs more leading (space between lines)
67 \usepackage{listings}
68 \lstset{
69 basicstyle=\ttfamily\footnotesize,
70 numberstyle=\tiny,
71 basewidth=0.45em,
72 numbers=left,
73 stepnumber=1,
74 numbersep=2em,
75 showstringspaces=true,
76 showtabs=true,
77 tab=\rightarrowfill,
78 frame=lines,
79 tabsize=4,
80 captionpos=b,
81 breaklines=false,
82 breakatwhitespace=true
83 }
86 \newenvironment{code}[2] {
87 \begin{center}
88 \lstset{label=#1,caption=#2}
89 \begin{list}{}{\setlength{\rightmargin}{2em}\setlength{\leftmargin}{2em}}
90 \item\ttfamily\footnotesize
91 }{
92 \end{list}
93 \end{center}
94 }