docs/diploma

view thesis/header.tex @ 9:8ac9b9fda474

some config and an example for listings
author meillo@marmaro.de
date Fri, 19 Sep 2008 01:15:26 +0200
parents
children 558301bfa9b5
line source
1 \documentclass[english,a4paper,twoside,openright]{report}
3 \usepackage[utf8]{inputenc}
4 \usepackage{graphicx}
5 \usepackage{listings}
6 \usepackage{makeidx}
7 \makeindex
9 \setlength{\parindent}{0em}
10 \setlength{\parskip}{1.0ex plus 1.0ex minus 0.5ex}
11 \setcounter{tocdepth}{3}
13 %\pagestyle{fancy}
14 \pagestyle{headings}
15 %\lhead[\leftmark]{\thepage}
16 %\chead[]{}
17 %\rhead[\thepage]{\rightmark}
18 %\ifoot[\textsc{Markus Schnalke}]{\textsc{Markus Schnalke}}
19 %\cfoot[]{}
20 %\ofoot[\thepage]{\thepage}
22 \usepackage{url}
24 % formating
25 %\renewcommand{\path}[1]{\texttt{#1}}
26 \newcommand{\name}[1]{\emph{#1}}
27 \newcommand{\NAME}[1]{{\footnotesize\textsc{#1}}}
29 % \newcommand{\source}[1]{\hspace{1em}\textit{\scriptsize(Quelle: #1)}}
30 \let\OLDcleardoublepage\cleardoublepage
31 \renewcommand{\cleardoublepage}{\thispagestyle{empty}\OLDcleardoublepage}
33 % abbreviations
34 \newcommand{\m}{\emph{masqmail}}
37 %%%% BEGIN DEBUG %%%%
38 %\usepackage{showidx}
39 \usepackage{setspace}
40 %\doublespace
41 %%%% END DEBUG %%%%
44 \usepackage[T1]{fontenc}
45 \usepackage[sc,osf]{mathpazo}
46 \linespread{1.05} % Palatino needs more leading (space between lines)