docs/diploma

view thesis/thesis.sty @ 350:f9a7a72170a2

added a new formating function (which is already in use)
author meillo@marmaro.de
date Tue, 27 Jan 2009 12:15:08 +0100
parents 1adee5512ab9
children 0850f0a9dbb3
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)
21 %\linespread{2.05} % for proof-reading
25 % global formating
26 \pagestyle{headings}
27 \setlength{\parindent}{0em}
28 \setlength{\parskip}{1.0ex plus 1.0ex minus 0.5ex}
29 \setcounter{tocdepth}{2}
30 \setlength{\labelsep}{1em}
32 % formating macros
33 %\renewcommand{\path}[1]{\textit{#1}}
34 \newcommand{\name}[1]{\emph{#1}\index{#1}}
35 \newcommand{\NAME}[1]{{\smaller\textsc{#1}}\index{#1}}
36 \newcommand{\person}[1]{\textsc{#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{\mta}{mail transfer agent}
47 \newcommand{\debian}{\name{Debian}}
48 \newcommand{\gnulinux}{\NAME{GNU}/\name{Linux}}
49 \newcommand{\MTA}{\NAME{MTA}}
50 \newcommand{\RFC}{\NAME{RFC}}
51 \newcommand{\GNU}{\NAME{GNU}}
52 \newcommand{\unix}{\name{Unix}}
53 \newcommand{\freesw}{Free Software}
54 \newcommand{\SMTP}{\NAME{SMTP}}
55 \newcommand{\TLS}{\NAME{TLS}}
57 \newcommand{\TODO}{\NAME{TODO}\,}
58 \newcommand{\RF}{\NAME{RF}\,}
59 \newcommand{\RG}{\NAME{RG}\,}
60 \newcommand{\RA}{\NAME{RA}\,}
61 \newcommand{\St}{\NAME{S}\,}
65 \newcommand{\codeinput}[1]{
66 \begin{quote}
67 \ttfamily\footnotesize
68 \verbatiminput{#1}
69 \end{quote}
70 }