annotate thesis/thesis.sty @ 205:aa14d1925151

added new pictures; updated makefile
author meillo@marmaro.de
date Sun, 04 Jan 2009 10:05:56 +0100
parents 5c873e6478ef
children d5800d07e08c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
563205a1b07e the header is now a package
meillo@marmaro.de
parents: 19
diff changeset
1 \ProvidesPackage{thesis}
8
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
2
46
d3312a3b6e70 minor stuff; indention by tabs
meillo@marmaro.de
parents: 37
diff changeset
3 \usepackage[utf8]{inputenc}
d3312a3b6e70 minor stuff; indention by tabs
meillo@marmaro.de
parents: 37
diff changeset
4 \usepackage{graphicx}
10
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
5 \usepackage{url}
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
6
8
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
7 \usepackage{makeidx}
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
8 \makeindex
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
9
54
da11c1b9e8cb splitted bib into 2 parts: books and web (using multibib)
meillo@marmaro.de
parents: 46
diff changeset
10 \usepackage{multibib}
131
a496788a30b3 bib stuff: Ref on the Internet -> Websites
meillo@marmaro.de
parents: 125
diff changeset
11 \newcites{web}{Websites}
54
da11c1b9e8cb splitted bib into 2 parts: books and web (using multibib)
meillo@marmaro.de
parents: 46
diff changeset
12
46
d3312a3b6e70 minor stuff; indention by tabs
meillo@marmaro.de
parents: 37
diff changeset
13 \setlength{\parindent}{0em}
d3312a3b6e70 minor stuff; indention by tabs
meillo@marmaro.de
parents: 37
diff changeset
14 \setlength{\parskip}{1.0ex plus 1.0ex minus 0.5ex}
92
e050221efd38 much restructuring again
meillo@marmaro.de
parents: 77
diff changeset
15 \setcounter{tocdepth}{2}
8
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
16
46
d3312a3b6e70 minor stuff; indention by tabs
meillo@marmaro.de
parents: 37
diff changeset
17 \pagestyle{headings}
d3312a3b6e70 minor stuff; indention by tabs
meillo@marmaro.de
parents: 37
diff changeset
18 %\pagestyle{fancy}
8
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
19 %\lhead[\leftmark]{\thepage}
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
20 %\chead[]{}
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
21 %\rhead[\thepage]{\rightmark}
46
d3312a3b6e70 minor stuff; indention by tabs
meillo@marmaro.de
parents: 37
diff changeset
22 %\ifoot[\textsc{Markus Schnalke}]{\textsc{Markus Schnalke}}
d3312a3b6e70 minor stuff; indention by tabs
meillo@marmaro.de
parents: 37
diff changeset
23 %\cfoot[]{}
d3312a3b6e70 minor stuff; indention by tabs
meillo@marmaro.de
parents: 37
diff changeset
24 %\ofoot[\thepage]{\thepage}
8
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
25
13
f4d199ebf793 new macros and relative fontsize for NAME
meillo@marmaro.de
parents: 10
diff changeset
26 \usepackage{setspace}
f4d199ebf793 new macros and relative fontsize for NAME
meillo@marmaro.de
parents: 10
diff changeset
27 \usepackage{relsize}
8
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
28
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
29 % formating
46
d3312a3b6e70 minor stuff; indention by tabs
meillo@marmaro.de
parents: 37
diff changeset
30 \renewcommand{\path}[1]{\textit{#1}}
d3312a3b6e70 minor stuff; indention by tabs
meillo@marmaro.de
parents: 37
diff changeset
31 \newcommand{\name}[1]{\emph{#1}\index{#1}}
d3312a3b6e70 minor stuff; indention by tabs
meillo@marmaro.de
parents: 37
diff changeset
32 \newcommand{\NAME}[1]{{\smaller\textsc{#1}}\index{#1}}
132
a83a29e10b10 new books
meillo@marmaro.de
parents: 131
diff changeset
33 \newcommand{\person}[1]{\textsc{#1}}
8
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
34
46
d3312a3b6e70 minor stuff; indention by tabs
meillo@marmaro.de
parents: 37
diff changeset
35 % \newcommand{\source}[1]{\hspace{1em}\textit{\scriptsize(Quelle: #1)}}
8
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
36 \let\OLDcleardoublepage\cleardoublepage
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
37 \renewcommand{\cleardoublepage}{\thispagestyle{empty}\OLDcleardoublepage}
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
38
13
f4d199ebf793 new macros and relative fontsize for NAME
meillo@marmaro.de
parents: 10
diff changeset
39 % shortcuts
f4d199ebf793 new macros and relative fontsize for NAME
meillo@marmaro.de
parents: 10
diff changeset
40 \newcommand{\masqmail}{\name{masqmail}}
f4d199ebf793 new macros and relative fontsize for NAME
meillo@marmaro.de
parents: 10
diff changeset
41 \newcommand{\sendmail}{\name{sendmail}}
132
a83a29e10b10 new books
meillo@marmaro.de
parents: 131
diff changeset
42 \newcommand{\qmail}{\name{qmail}}
a83a29e10b10 new books
meillo@marmaro.de
parents: 131
diff changeset
43 \newcommand{\exim}{\name{exim}}
a83a29e10b10 new books
meillo@marmaro.de
parents: 131
diff changeset
44 \newcommand{\postfix}{\name{postfix}}
125
aa1fb227e68e unemphasised some terms
meillo@marmaro.de
parents: 119
diff changeset
45 \newcommand{\mta}{mail transfer agent}
aa1fb227e68e unemphasised some terms
meillo@marmaro.de
parents: 119
diff changeset
46 \newcommand{\email}{email}
13
f4d199ebf793 new macros and relative fontsize for NAME
meillo@marmaro.de
parents: 10
diff changeset
47 \newcommand{\debian}{\name{Debian}}
f4d199ebf793 new macros and relative fontsize for NAME
meillo@marmaro.de
parents: 10
diff changeset
48 \newcommand{\linux}{\name{Linux}}
f4d199ebf793 new macros and relative fontsize for NAME
meillo@marmaro.de
parents: 10
diff changeset
49 \newcommand{\gnulinux}{\NAME{GNU}/\name{Linux}}
f4d199ebf793 new macros and relative fontsize for NAME
meillo@marmaro.de
parents: 10
diff changeset
50 \newcommand{\MTA}{\NAME{MTA}}
f4d199ebf793 new macros and relative fontsize for NAME
meillo@marmaro.de
parents: 10
diff changeset
51 \newcommand{\RFC}{\NAME{RFC}}
f4d199ebf793 new macros and relative fontsize for NAME
meillo@marmaro.de
parents: 10
diff changeset
52 \newcommand{\GNU}{\NAME{GNU}}
28
01f154f8f477 added text about the candidates
meillo@marmaro.de
parents: 24
diff changeset
53 \newcommand{\unix}{\name{Unix}}
125
aa1fb227e68e unemphasised some terms
meillo@marmaro.de
parents: 119
diff changeset
54 \newcommand{\freesw}{Free Software}
aa1fb227e68e unemphasised some terms
meillo@marmaro.de
parents: 119
diff changeset
55 \newcommand{\gpl}{General Public License}
37
225669a51b11 new text about free software projects and more
meillo@marmaro.de
parents: 28
diff changeset
56 \newcommand{\GPL}{\NAME{GPL}}
77
a6d67c5f7d78 added macro \SMTP
meillo@marmaro.de
parents: 72
diff changeset
57 \newcommand{\SMTP}{\NAME{SMTP}}
172
5c873e6478ef wrote about encryption
meillo@marmaro.de
parents: 133
diff changeset
58 \newcommand{\TLS}{\NAME{TLS}}
8
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
59
19
caac61e854e8 added shortcuts for 1st, 2nd, etc
meillo@marmaro.de
parents: 15
diff changeset
60 \newcommand{\nth}{\textsuperscript{th}}
caac61e854e8 added shortcuts for 1st, 2nd, etc
meillo@marmaro.de
parents: 15
diff changeset
61 \newcommand{\st}{\textsuperscript{st}}
caac61e854e8 added shortcuts for 1st, 2nd, etc
meillo@marmaro.de
parents: 15
diff changeset
62 \newcommand{\nd}{\textsuperscript{nd}}
caac61e854e8 added shortcuts for 1st, 2nd, etc
meillo@marmaro.de
parents: 15
diff changeset
63 \newcommand{\rd}{\textsuperscript{rd}}
caac61e854e8 added shortcuts for 1st, 2nd, etc
meillo@marmaro.de
parents: 15
diff changeset
64
caac61e854e8 added shortcuts for 1st, 2nd, etc
meillo@marmaro.de
parents: 15
diff changeset
65
8
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
66 %%%% BEGIN DEBUG %%%%
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
67 %\usepackage{showidx}
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
68 %\doublespace
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
69 %%%% END DEBUG %%%%
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
70
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
71
13
f4d199ebf793 new macros and relative fontsize for NAME
meillo@marmaro.de
parents: 10
diff changeset
72 % font
8
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
73 \usepackage[T1]{fontenc}
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
74 \usepackage[sc,osf]{mathpazo}
46
d3312a3b6e70 minor stuff; indention by tabs
meillo@marmaro.de
parents: 37
diff changeset
75 \linespread{1.05} % Palatino needs more leading (space between lines)
119
73fe291f79e6 added missing backslashes
meillo@marmaro.de
parents: 92
diff changeset
76 %\linespread{2.05} % for debugging
8
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
77
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
78
10
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
79
46
d3312a3b6e70 minor stuff; indention by tabs
meillo@marmaro.de
parents: 37
diff changeset
80 \usepackage{listings}
10
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
81 \lstset{
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
82 basicstyle=\ttfamily\footnotesize,
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
83 numberstyle=\tiny,
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
84 basewidth=0.45em,
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
85 numbers=left,
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
86 stepnumber=1,
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
87 numbersep=2em,
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
88 showstringspaces=true,
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
89 showtabs=true,
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
90 tab=\rightarrowfill,
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
91 frame=lines,
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
92 tabsize=4,
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
93 captionpos=b,
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
94 breaklines=false,
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
95 breakatwhitespace=true
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
96 }
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
97
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
98
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
99 \newenvironment{code}[2] {
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
100 \begin{center}
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
101 \lstset{label=#1,caption=#2}
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
102 \begin{list}{}{\setlength{\rightmargin}{2em}\setlength{\leftmargin}{2em}}
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
103 \item\ttfamily\footnotesize
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
104 }{
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
105 \end{list}
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
106 \end{center}
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
107 }
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
108
133
653ff21b89be the last commit had a bad message better is:
meillo@marmaro.de
parents: 132
diff changeset
109