some more steps to final version
[lectures/latex.git] / posic / thesis / thesis.tex
index dd3eacc..82dc58d 100644 (file)
@@ -3,8 +3,10 @@
 %\documentclass[twoside,a4paper,11pt,draft]{book}
 \usepackage[activate]{pdfcprot}
 \usepackage{verbatim}
-\usepackage{a4}
-\usepackage{a4wide}
+%\usepackage{layout}
+%\usepackage{a4}
+%\usepackage{a4wide}
+\usepackage[a4paper,textheight=636pt,textwidth=442pt,includeheadfoot]{geometry}
 \usepackage[english,german]{babel}
 \usepackage[latin1]{inputenc}
 \usepackage[T1]{fontenc}
@@ -20,6 +22,9 @@
 \usepackage{rotating}
 \usepackage{fancyhdr}
 
+% custom sections
+\usepackage{titlesec}
+
 % cites
 \usepackage[numbers,sort,compress]{natbib}
 
 %}
 
 \pagestyle{fancy}
-\fancyhf{}
-\fancyhead[EL]{\thepage}
-\fancyhead[ER]{\leftmark}
-\fancyhead[OL]{\rightmark}
-\fancyhead[OR]{\thepage}
-\renewcommand{\sectionmark}[1]{
- \markboth{\thesection{} #1}{\thesection{} #1}
+
+\renewcommand{\chaptermark}[1]{
+ \markboth{\thechapter.\ #1}{}
 }
-\renewcommand{\subsectionmark}[1]{
- \markright{\thesubsection{} #1}
+\renewcommand{\sectionmark}[1]{
+ \markright{\thesection.\ #1}
 }
+\fancyhf{}
+\fancyhead[LE,RO]{\thepage}
+\fancyhead[LO]{\nouppercase\rightmark}
+\fancyhead[RE]{\nouppercase\leftmark}
 
 % hyphenation
 \hyphenation{}
 
 \backmatter{}
 \include{literature}
+\include{cv}
 \include{publications}
 \include{ack}