docs/diploma
annotate thesis/thesis.sty @ 273:92578f124df6
reorganized the input files and sorted old ones out
author | meillo@marmaro.de |
---|---|
date | Thu, 15 Jan 2009 12:29:54 +0100 |
parents | aff94e950f39 |
children | 78987bc2c809 |
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@268 | 21 %\linespread{2.05} % for proof-reading |
meillo@8 | 22 |
meillo@8 | 23 |
meillo@8 | 24 |
meillo@268 | 25 % global formating |
meillo@268 | 26 \pagestyle{headings} |
meillo@268 | 27 \setlength{\parindent}{0em} |
meillo@268 | 28 \setlength{\parskip}{1.0ex plus 1.0ex minus 0.5ex} |
meillo@268 | 29 \setcounter{tocdepth}{2} |
meillo@268 | 30 \setlength{\labelsep}{1em} |
meillo@8 | 31 |
meillo@268 | 32 % formating macros |
meillo@268 | 33 \renewcommand{\path}[1]{\textit{#1}} |
meillo@268 | 34 \newcommand{\name}[1]{\emph{#1}\index{#1}} |
meillo@268 | 35 \newcommand{\NAME}[1]{{\smaller\textsc{#1}}\index{#1}} |
meillo@268 | 36 \newcommand{\person}[1]{\textsc{#1}} |
meillo@8 | 37 |
meillo@268 | 38 % shortcuts |
meillo@268 | 39 \newcommand{\masqmail}{\name{masqmail}} |
meillo@268 | 40 \newcommand{\sendmail}{\name{sendmail}} |
meillo@268 | 41 \newcommand{\qmail}{\name{qmail}} |
meillo@268 | 42 \newcommand{\exim}{\name{exim}} |
meillo@268 | 43 \newcommand{\postfix}{\name{postfix}} |
meillo@268 | 44 \newcommand{\mta}{mail transfer agent} |
meillo@268 | 45 \newcommand{\email}{email} |
meillo@268 | 46 \newcommand{\debian}{\name{Debian}} |
meillo@268 | 47 \newcommand{\linux}{\name{Linux}} |
meillo@268 | 48 \newcommand{\gnulinux}{\NAME{GNU}/\name{Linux}} |
meillo@268 | 49 \newcommand{\MTA}{\NAME{MTA}} |
meillo@268 | 50 \newcommand{\RFC}{\NAME{RFC}} |
meillo@268 | 51 \newcommand{\GNU}{\NAME{GNU}} |
meillo@268 | 52 \newcommand{\unix}{\name{Unix}} |
meillo@268 | 53 \newcommand{\freesw}{Free Software} |
meillo@268 | 54 \newcommand{\gpl}{General Public License} |
meillo@268 | 55 \newcommand{\GPL}{\NAME{GPL}} |
meillo@268 | 56 \newcommand{\SMTP}{\NAME{SMTP}} |
meillo@268 | 57 \newcommand{\TLS}{\NAME{TLS}} |
meillo@268 | 58 \newcommand{\TODO}{\NAME{TODO}\,} |
meillo@268 | 59 \newcommand{\RF}{\NAME{RF}\,} |
meillo@268 | 60 \newcommand{\RG}{\NAME{RG}\,} |
meillo@268 | 61 \newcommand{\RA}{\NAME{RA}\,} |
meillo@268 | 62 \newcommand{\St}{\NAME{S}\,} |
meillo@19 | 63 |
meillo@268 | 64 \newcommand{\nth}{\textsuperscript{th}} |
meillo@268 | 65 \newcommand{\st}{\textsuperscript{st}} |
meillo@268 | 66 \newcommand{\nd}{\textsuperscript{nd}} |
meillo@268 | 67 \newcommand{\rd}{\textsuperscript{rd}} |
meillo@19 | 68 |
meillo@8 | 69 |
meillo@8 | 70 |
meillo@268 | 71 \newcommand{\codeinput}[1]{ |
meillo@268 | 72 \begin{quote} |
meillo@268 | 73 \ttfamily\footnotesize |
meillo@268 | 74 \verbatiminput{#1} |
meillo@268 | 75 \end{quote} |
meillo@268 | 76 } |
meillo@8 | 77 |