annotate thesis/thesis.sty @ 365:ba9463b43709 seventh preview version for Schaffter

Added tag version for proof-readers for changeset e5033a9cbf53
author meillo@marmaro.de
date Wed, 28 Jan 2009 16:49:45 +0100
parents 0850f0a9dbb3
children 868e11810ac7
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
268
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
3 \usepackage[utf8]{inputenc}
8
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
4
268
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
5 \usepackage{graphicx}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
6 \usepackage{url}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
7 \usepackage{relsize} % for \smaller, used in \NAME
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
8 \usepackage{verbatim} % for \verbatiminput, used in \code
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
9 %\usepackage{showidx} % for index-checking
8
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
10
268
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
11 \usepackage{makeidx}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
12 \makeindex
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
13
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
14 \usepackage{multibib}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
15 \newcites{web}{Websites}
8
1d35768e1643 first prototype of thesis (with some sample content)
meillo@marmaro.de
parents:
diff changeset
16
268
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
17 % font
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
18 \usepackage[T1]{fontenc}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
19 \usepackage[sc,osf]{mathpazo}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
20 \linespread{1.05} % Palatino needs more leading (space between lines)
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
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
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
24
268
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
25 % global formating
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
26 \pagestyle{headings}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
27 \setlength{\parindent}{0em}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
28 \setlength{\parskip}{1.0ex plus 1.0ex minus 0.5ex}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
29 \setcounter{tocdepth}{2}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
30 \setlength{\labelsep}{1em}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
31
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
32 % formating macros
309
78987bc2c809 paths are now in tt not in it anymore
meillo@marmaro.de
parents: 268
diff changeset
33 %\renewcommand{\path}[1]{\textit{#1}}
268
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
34 \newcommand{\name}[1]{\emph{#1}\index{#1}}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
35 \newcommand{\NAME}[1]{{\smaller\textsc{#1}}\index{#1}}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
36 \newcommand{\person}[1]{\textsc{#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
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
38
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
39 % shortcuts
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
40 \newcommand{\masqmail}{\name{masqmail}}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
41 \newcommand{\sendmail}{\name{sendmail}}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
42 \newcommand{\qmail}{\name{qmail}}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
43 \newcommand{\exim}{\name{exim}}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
44 \newcommand{\postfix}{\name{postfix}}
322
1adee5512ab9 removed unused macros
meillo@marmaro.de
parents: 309
diff changeset
45
268
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
46 \newcommand{\mta}{mail transfer agent}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
47 \newcommand{\debian}{\name{Debian}}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
48 \newcommand{\gnulinux}{\NAME{GNU}/\name{Linux}}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
49 \newcommand{\MTA}{\NAME{MTA}}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
50 \newcommand{\RFC}{\NAME{RFC}}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
51 \newcommand{\GNU}{\NAME{GNU}}
362
0850f0a9dbb3 minor changes
meillo@marmaro.de
parents: 350
diff changeset
52 \newcommand{\unix}{Unix}
268
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
53 \newcommand{\freesw}{Free Software}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
54 \newcommand{\SMTP}{\NAME{SMTP}}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
55 \newcommand{\TLS}{\NAME{TLS}}
322
1adee5512ab9 removed unused macros
meillo@marmaro.de
parents: 309
diff changeset
56
268
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
57 \newcommand{\TODO}{\NAME{TODO}\,}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
58 \newcommand{\RF}{\NAME{RF}\,}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
59 \newcommand{\RG}{\NAME{RG}\,}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
60 \newcommand{\RA}{\NAME{RA}\,}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
61 \newcommand{\St}{\NAME{S}\,}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
62
10
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
63
558301bfa9b5 customized listings and code env
meillo@marmaro.de
parents: 8
diff changeset
64
268
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
65 \newcommand{\codeinput}[1]{
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
66 \begin{quote}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
67 \ttfamily\footnotesize
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
68 \verbatiminput{#1}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
69 \end{quote}
807660903834 cleanups and new codeinput command
meillo@marmaro.de
parents: 242
diff changeset
70 }
133
653ff21b89be the last commit had a bad message better is:
meillo@marmaro.de
parents: 132
diff changeset
71