X-Git-Url: https://hackdaworld.org/gitweb/?p=lectures%2Flatex.git;a=blobdiff_plain;f=posic%2Fthesis%2Fthesis.tex;h=82dc58d8e16f845f517e0c921f05b47b4c8c6e49;hp=dd3eacc3c0875893b66ab4877d280a35789086e8;hb=a812d191e3b5f031b2227a3bbb40ec3b4be79b3a;hpb=55e8012443a5732bca95a44b287662670944b661 diff --git a/posic/thesis/thesis.tex b/posic/thesis/thesis.tex index dd3eacc..82dc58d 100644 --- a/posic/thesis/thesis.tex +++ b/posic/thesis/thesis.tex @@ -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} @@ -70,17 +75,17 @@ %} \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{} @@ -131,6 +136,7 @@ \backmatter{} \include{literature} +\include{cv} \include{publications} \include{ack}