Mercurial > docs > diploma
annotate thesis/thesis.sty @ 376:ef7db2d0f3a1
applied comments by joachim breitner
author | meillo@marmaro.de |
---|---|
date | Tue, 03 Feb 2009 17:09:20 +0100 |
parents | d51894e48762 |
children | 6494832a798c |
rev | line source |
---|---|
24 | 1 \ProvidesPackage{thesis} |
8
1d35768e1643
first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff
changeset
|
2 |
268 | 3 \usepackage[utf8]{inputenc} |
8
1d35768e1643
first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff
changeset
|
4 |
268 | 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 | |
8
1d35768e1643
first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff
changeset
|
10 |
268 | 11 \usepackage{makeidx} |
12 \makeindex | |
13 | |
14 \usepackage{multibib} | |
15 \newcites{web}{Websites} | |
8
1d35768e1643
first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff
changeset
|
16 |
268 | 17 % font |
18 \usepackage[T1]{fontenc} | |
19 \usepackage[sc,osf]{mathpazo} | |
20 \linespread{1.05} % Palatino needs more leading (space between lines) | |
8
1d35768e1643
first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff
changeset
|
21 |
1d35768e1643
first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff
changeset
|
22 |
10 | 23 |
268 | 24 % global formating |
25 \pagestyle{headings} | |
368 | 26 \setcounter{tocdepth}{2} |
268 | 27 \setlength{\parindent}{0em} |
28 \setlength{\parskip}{1.0ex plus 1.0ex minus 0.5ex} | |
29 \setlength{\labelsep}{1em} | |
368 | 30 \let\OLDquote\quote |
31 \renewcommand{\quote}{\OLDquote\small} % blockquotes in smaller size | |
268 | 32 |
33 % formating macros | |
371
44a3188bf6d2
removed automated index generation; new aliases
meillo@marmaro.de
parents:
368
diff
changeset
|
34 \newcommand{\name}[1]{\emph{#1}} |
44a3188bf6d2
removed automated index generation; new aliases
meillo@marmaro.de
parents:
368
diff
changeset
|
35 \newcommand{\NAME}[1]{{\smaller\textsc{#1}}} |
373
d51894e48762
started indexing; mta -> MTA (many small changes)
meillo@marmaro.de
parents:
371
diff
changeset
|
36 \newcommand{\person}[1]{\textsc{#1}\index{#1}} |
350
f9a7a72170a2
added a new formating function (which is already in use)
meillo@marmaro.de
parents:
322
diff
changeset
|
37 \newcommand{\obsoleted}[1]{\quad{\small(obsoleted by \RFC\,#1)}} |
268 | 38 |
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}} | |
322 | 45 |
268 | 46 \newcommand{\debian}{\name{Debian}} |
47 \newcommand{\gnulinux}{\NAME{GNU}/\name{Linux}} | |
48 \newcommand{\MTA}{\NAME{MTA}} | |
371
44a3188bf6d2
removed automated index generation; new aliases
meillo@marmaro.de
parents:
368
diff
changeset
|
49 \newcommand{\MUA}{\NAME{MUA}} |
44a3188bf6d2
removed automated index generation; new aliases
meillo@marmaro.de
parents:
368
diff
changeset
|
50 \newcommand{\MDA}{\NAME{MDA}} |
268 | 51 \newcommand{\RFC}{\NAME{RFC}} |
52 \newcommand{\GNU}{\NAME{GNU}} | |
362 | 53 \newcommand{\unix}{Unix} |
268 | 54 \newcommand{\freesw}{Free Software} |
55 \newcommand{\SMTP}{\NAME{SMTP}} | |
56 \newcommand{\TLS}{\NAME{TLS}} | |
322 | 57 |
268 | 58 \newcommand{\TODO}{\NAME{TODO}\,} |
59 \newcommand{\RF}{\NAME{RF}\,} | |
60 \newcommand{\RG}{\NAME{RG}\,} | |
61 \newcommand{\RA}{\NAME{RA}\,} | |
62 \newcommand{\St}{\NAME{S}\,} | |
368 | 63 %fixme: remove the \, and insert them in the text directly |
268 | 64 |
10 | 65 |
66 | |
268 | 67 \newcommand{\codeinput}[1]{ |
68 \begin{quote} | |
69 \ttfamily\footnotesize | |
70 \verbatiminput{#1} | |
71 \end{quote} | |
72 } | |
133
653ff21b89be
the last commit had a bad message better is:
meillo@marmaro.de
parents:
132
diff
changeset
|
73 |