docs/diploma
annotate thesis/thesis.sty @ 400:5254a119ad56
fixed all major trashing of the right margin
author | meillo@marmaro.de |
---|---|
date | Sat, 07 Feb 2009 23:47:34 +0100 |
parents | 6494832a798c |
children |
rev | line source |
---|---|
meillo@24 | 1 \ProvidesPackage{thesis} |
meillo@8 | 2 |
meillo@268 | 3 \usepackage[utf8]{inputenc} |
meillo@10 | 4 |
meillo@268 | 5 \usepackage{graphicx} |
meillo@268 | 6 \usepackage{url} |
meillo@268 | 7 \usepackage{relsize} % for \smaller, used in \NAME |
meillo@268 | 8 \usepackage{verbatim} % for \verbatiminput, used in \code |
meillo@268 | 9 %\usepackage{showidx} % for index-checking |
meillo@8 | 10 |
meillo@268 | 11 \usepackage{makeidx} |
meillo@268 | 12 \makeindex |
meillo@54 | 13 |
meillo@268 | 14 \usepackage{multibib} |
meillo@268 | 15 \newcites{web}{Websites} |
meillo@8 | 16 |
meillo@268 | 17 % font |
meillo@268 | 18 \usepackage[T1]{fontenc} |
meillo@268 | 19 \usepackage[sc,osf]{mathpazo} |
meillo@268 | 20 \linespread{1.05} % Palatino needs more leading (space between lines) |
meillo@8 | 21 |
meillo@8 | 22 |
meillo@8 | 23 |
meillo@268 | 24 % global formating |
meillo@268 | 25 \pagestyle{headings} |
meillo@368 | 26 \setcounter{tocdepth}{2} |
meillo@268 | 27 \setlength{\parindent}{0em} |
meillo@268 | 28 \setlength{\parskip}{1.0ex plus 1.0ex minus 0.5ex} |
meillo@268 | 29 \setlength{\labelsep}{1em} |
meillo@368 | 30 \let\OLDquote\quote |
meillo@368 | 31 \renewcommand{\quote}{\OLDquote\small} % blockquotes in smaller size |
meillo@8 | 32 |
meillo@268 | 33 % formating macros |
meillo@371 | 34 \newcommand{\name}[1]{\emph{#1}} |
meillo@371 | 35 \newcommand{\NAME}[1]{{\smaller\textsc{#1}}} |
meillo@373 | 36 \newcommand{\person}[1]{\textsc{#1}\index{#1}} |
meillo@350 | 37 \newcommand{\obsoleted}[1]{\quad{\small(obsoleted by \RFC\,#1)}} |
meillo@8 | 38 |
meillo@268 | 39 % shortcuts |
meillo@268 | 40 \newcommand{\masqmail}{\name{masqmail}} |
meillo@268 | 41 \newcommand{\sendmail}{\name{sendmail}} |
meillo@268 | 42 \newcommand{\qmail}{\name{qmail}} |
meillo@268 | 43 \newcommand{\exim}{\name{exim}} |
meillo@268 | 44 \newcommand{\postfix}{\name{postfix}} |
meillo@322 | 45 |
meillo@268 | 46 \newcommand{\MTA}{\NAME{MTA}} |
meillo@371 | 47 \newcommand{\MUA}{\NAME{MUA}} |
meillo@371 | 48 \newcommand{\MDA}{\NAME{MDA}} |
meillo@268 | 49 \newcommand{\RFC}{\NAME{RFC}} |
meillo@268 | 50 \newcommand{\SMTP}{\NAME{SMTP}} |
meillo@322 | 51 |
meillo@393 | 52 \newcommand{\TODO}{\NAME{TODO}} |
meillo@393 | 53 \newcommand{\RF}{\NAME{RF}} |
meillo@393 | 54 \newcommand{\RG}{\NAME{RG}} |
meillo@19 | 55 |
meillo@8 | 56 |
meillo@8 | 57 |
meillo@268 | 58 \newcommand{\codeinput}[1]{ |
meillo@268 | 59 \begin{quote} |
meillo@268 | 60 \ttfamily\footnotesize |
meillo@268 | 61 \verbatiminput{#1} |
meillo@268 | 62 \end{quote} |
meillo@268 | 63 } |
meillo@8 | 64 |