docs/diploma

view thesis/thesis.sty @ 371:44a3188bf6d2

removed automated index generation; new aliases
author meillo@marmaro.de
date Sat, 31 Jan 2009 19:25:25 +0100
parents 868e11810ac7
children d51894e48762
line source
1 \ProvidesPackage{thesis}
3 \usepackage[utf8]{inputenc}
5 \usepackage{graphicx}
6 \usepackage{url}
7 \usepackage{relsize} % for \smaller, used in \NAME
8 \usepackage{verbatim} % for \verbatiminput, used in \code
9 %\usepackage{showidx} % for index-checking
11 \usepackage{makeidx}
12 \makeindex
14 \usepackage{multibib}
15 \newcites{web}{Websites}
17 % font
18 \usepackage[T1]{fontenc}
19 \usepackage[sc,osf]{mathpazo}
20 \linespread{1.05} % Palatino needs more leading (space between lines)
24 % global formating
25 \pagestyle{headings}
26 \setcounter{tocdepth}{2}
27 \setlength{\parindent}{0em}
28 \setlength{\parskip}{1.0ex plus 1.0ex minus 0.5ex}
29 \setlength{\labelsep}{1em}
30 \let\OLDquote\quote
31 \renewcommand{\quote}{\OLDquote\small} % blockquotes in smaller size
33 % formating macros
34 %\renewcommand{\path}[1]{\textit{#1}}
35 \newcommand{\name}[1]{\emph{#1}}
36 \newcommand{\NAME}[1]{{\smaller\textsc{#1}}}
37 \newcommand{\person}[1]{\textsc{#1}}
38 \newcommand{\obsoleted}[1]{\quad{\small(obsoleted by \RFC\,#1)}}
40 % shortcuts
41 \newcommand{\masqmail}{\name{masqmail}}
42 \newcommand{\sendmail}{\name{sendmail}}
43 \newcommand{\qmail}{\name{qmail}}
44 \newcommand{\exim}{\name{exim}}
45 \newcommand{\postfix}{\name{postfix}}
47 \newcommand{\mta}{mail transfer agent}
48 \newcommand{\debian}{\name{Debian}}
49 \newcommand{\gnulinux}{\NAME{GNU}/\name{Linux}}
50 \newcommand{\MTA}{\NAME{MTA}}
51 \newcommand{\MUA}{\NAME{MUA}}
52 \newcommand{\MDA}{\NAME{MDA}}
53 \newcommand{\RFC}{\NAME{RFC}}
54 \newcommand{\GNU}{\NAME{GNU}}
55 \newcommand{\unix}{Unix}
56 \newcommand{\freesw}{Free Software}
57 \newcommand{\SMTP}{\NAME{SMTP}}
58 \newcommand{\TLS}{\NAME{TLS}}
60 \newcommand{\TODO}{\NAME{TODO}\,}
61 \newcommand{\RF}{\NAME{RF}\,}
62 \newcommand{\RG}{\NAME{RG}\,}
63 \newcommand{\RA}{\NAME{RA}\,}
64 \newcommand{\St}{\NAME{S}\,}
65 %fixme: remove the \, and insert them in the text directly
69 \newcommand{\codeinput}[1]{
70 \begin{quote}
71 \ttfamily\footnotesize
72 \verbatiminput{#1}
73 \end{quote}
74 }