docs/diploma

view thesis/thesis.sty @ 393:6494832a798c

fixed all half-spaces after RF, RG, TODO
author meillo@marmaro.de
date Sat, 07 Feb 2009 12:00:11 +0100
parents d51894e48762
children 7d85fd0da3df
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 \newcommand{\name}[1]{\emph{#1}}
35 \newcommand{\NAME}[1]{{\smaller\textsc{#1}}}
36 \newcommand{\person}[1]{\textsc{#1}\index{#1}}
37 \newcommand{\obsoleted}[1]{\quad{\small(obsoleted by \RFC\,#1)}}
39 % shortcuts
40 \newcommand{\masqmail}{\name{masqmail}}
41 \newcommand{\sendmail}{\name{sendmail}}
42 \newcommand{\qmail}{\name{qmail}}
43 \newcommand{\exim}{\name{exim}}
44 \newcommand{\postfix}{\name{postfix}}
46 \newcommand{\gnulinux}{\NAME{GNU}/\name{Linux}}
47 \newcommand{\MTA}{\NAME{MTA}}
48 \newcommand{\MUA}{\NAME{MUA}}
49 \newcommand{\MDA}{\NAME{MDA}}
50 \newcommand{\RFC}{\NAME{RFC}}
51 \newcommand{\GNU}{\NAME{GNU}}
52 \newcommand{\SMTP}{\NAME{SMTP}}
53 \newcommand{\TLS}{\NAME{TLS}}
55 \newcommand{\TODO}{\NAME{TODO}}
56 \newcommand{\RF}{\NAME{RF}}
57 \newcommand{\RG}{\NAME{RG}}
61 \newcommand{\codeinput}[1]{
62 \begin{quote}
63 \ttfamily\footnotesize
64 \verbatiminput{#1}
65 \end{quote}
66 }