view thesis/thesis.sty @ 348:4ced91b9a2ca

reworked last part of permissions
author meillo@marmaro.de
date Tue, 27 Jan 2009 12:13:58 +0100
parents 1adee5512ab9
children f9a7a72170a2
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)
%\linespread{2.05}  % for proof-reading



% global formating
\pagestyle{headings}
\setlength{\parindent}{0em}
\setlength{\parskip}{1.0ex plus 1.0ex minus 0.5ex}
\setcounter{tocdepth}{2}
\setlength{\labelsep}{1em}

% formating macros
%\renewcommand{\path}[1]{\textit{#1}}
\newcommand{\name}[1]{\emph{#1}\index{#1}}
\newcommand{\NAME}[1]{{\smaller\textsc{#1}}\index{#1}}
\newcommand{\person}[1]{\textsc{#1}}

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

\newcommand{\mta}{mail transfer agent}
\newcommand{\debian}{\name{Debian}}
\newcommand{\gnulinux}{\NAME{GNU}/\name{Linux}}
\newcommand{\MTA}{\NAME{MTA}}
\newcommand{\RFC}{\NAME{RFC}}
\newcommand{\GNU}{\NAME{GNU}}
\newcommand{\unix}{\name{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}\,}



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