Mercurial > docs > diploma
annotate thesis/thesis.sty @ 316:f3a86ce788ec
spell checking
author | meillo@marmaro.de |
---|---|
date | Wed, 21 Jan 2009 15:19:25 +0100 |
parents | 78987bc2c809 |
children | 1adee5512ab9 |
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) | |
21 %\linespread{2.05} % for proof-reading | |
8
1d35768e1643
first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff
changeset
|
22 |
1d35768e1643
first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff
changeset
|
23 |
10 | 24 |
268 | 25 % global formating |
26 \pagestyle{headings} | |
27 \setlength{\parindent}{0em} | |
28 \setlength{\parskip}{1.0ex plus 1.0ex minus 0.5ex} | |
29 \setcounter{tocdepth}{2} | |
30 \setlength{\labelsep}{1em} | |
31 | |
32 % formating macros | |
309 | 33 %\renewcommand{\path}[1]{\textit{#1}} |
268 | 34 \newcommand{\name}[1]{\emph{#1}\index{#1}} |
35 \newcommand{\NAME}[1]{{\smaller\textsc{#1}}\index{#1}} | |
36 \newcommand{\person}[1]{\textsc{#1}} | |
37 | |
38 % shortcuts | |
39 \newcommand{\masqmail}{\name{masqmail}} | |
40 \newcommand{\sendmail}{\name{sendmail}} | |
41 \newcommand{\qmail}{\name{qmail}} | |
42 \newcommand{\exim}{\name{exim}} | |
43 \newcommand{\postfix}{\name{postfix}} | |
44 \newcommand{\mta}{mail transfer agent} | |
45 \newcommand{\email}{email} | |
46 \newcommand{\debian}{\name{Debian}} | |
47 \newcommand{\linux}{\name{Linux}} | |
48 \newcommand{\gnulinux}{\NAME{GNU}/\name{Linux}} | |
49 \newcommand{\MTA}{\NAME{MTA}} | |
50 \newcommand{\RFC}{\NAME{RFC}} | |
51 \newcommand{\GNU}{\NAME{GNU}} | |
52 \newcommand{\unix}{\name{Unix}} | |
53 \newcommand{\freesw}{Free Software} | |
54 \newcommand{\gpl}{General Public License} | |
55 \newcommand{\GPL}{\NAME{GPL}} | |
56 \newcommand{\SMTP}{\NAME{SMTP}} | |
57 \newcommand{\TLS}{\NAME{TLS}} | |
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}\,} | |
63 | |
64 \newcommand{\nth}{\textsuperscript{th}} | |
65 \newcommand{\st}{\textsuperscript{st}} | |
66 \newcommand{\nd}{\textsuperscript{nd}} | |
67 \newcommand{\rd}{\textsuperscript{rd}} | |
10 | 68 |
69 | |
70 | |
268 | 71 \newcommand{\codeinput}[1]{ |
72 \begin{quote} | |
73 \ttfamily\footnotesize | |
74 \verbatiminput{#1} | |
75 \end{quote} | |
76 } | |
133
653ff21b89be
the last commit had a bad message better is:
meillo@marmaro.de
parents:
132
diff
changeset
|
77 |