view thesis/thesis.sty @ 390:b4b06bc05059

modified date
author meillo@marmaro.de
date Fri, 06 Feb 2009 21:08:49 +0100
parents d51894e48762
children 6494832a798c
line wrap: on
line source

\ProvidesPackage{thesis}

\usepackage[utf8]{inputenc}

\usepackage{graphicx}
\usepackage{url}
\usepackage{relsize}  % for \smaller, used in \NAME
\usepackage{verbatim}  % for \verbatiminput, used in \code
%\usepackage{showidx}  % for index-checking

\usepackage{makeidx}
\makeindex

\usepackage{multibib}
\newcites{web}{Websites}

% font
\usepackage[T1]{fontenc}
\usepackage[sc,osf]{mathpazo}
\linespread{1.05}  % Palatino needs more leading (space between lines)



% global formating
\pagestyle{headings}
\setcounter{tocdepth}{2}
\setlength{\parindent}{0em}
\setlength{\parskip}{1.0ex plus 1.0ex minus 0.5ex}
\setlength{\labelsep}{1em}
\let\OLDquote\quote
\renewcommand{\quote}{\OLDquote\small}  % blockquotes in smaller size

% formating macros
\newcommand{\name}[1]{\emph{#1}}
\newcommand{\NAME}[1]{{\smaller\textsc{#1}}}
\newcommand{\person}[1]{\textsc{#1}\index{#1}}
\newcommand{\obsoleted}[1]{\quad{\small(obsoleted by \RFC\,#1)}}

% shortcuts
\newcommand{\masqmail}{\name{masqmail}}
\newcommand{\sendmail}{\name{sendmail}}
\newcommand{\qmail}{\name{qmail}}
\newcommand{\exim}{\name{exim}}
\newcommand{\postfix}{\name{postfix}}

\newcommand{\debian}{\name{Debian}}
\newcommand{\gnulinux}{\NAME{GNU}/\name{Linux}}
\newcommand{\MTA}{\NAME{MTA}}
\newcommand{\MUA}{\NAME{MUA}}
\newcommand{\MDA}{\NAME{MDA}}
\newcommand{\RFC}{\NAME{RFC}}
\newcommand{\GNU}{\NAME{GNU}}
\newcommand{\unix}{Unix}
\newcommand{\freesw}{Free Software}
\newcommand{\SMTP}{\NAME{SMTP}}
\newcommand{\TLS}{\NAME{TLS}}

\newcommand{\TODO}{\NAME{TODO}\,}
\newcommand{\RF}{\NAME{RF}\,}
\newcommand{\RG}{\NAME{RG}\,}
\newcommand{\RA}{\NAME{RA}\,}
\newcommand{\St}{\NAME{S}\,}
%fixme: remove the \, and insert them in the text directly



\newcommand{\codeinput}[1]{
	\begin{quote}
	\ttfamily\footnotesize
	\verbatiminput{#1}
	\end{quote}
}