X-Git-Url: https://hackdaworld.org/gitweb/?p=lectures%2Flatex.git;a=blobdiff_plain;f=posic%2Fthesis%2Fthesis.tex;h=776b94c0d473a4fa8831ffe1682069f22cf1d559;hp=0b32cf1bae817205e85c166041856805805095b7;hb=17d5c879c418790a154098e51c524eca183c4d98;hpb=20131536ceadd87f72f2fdd993f0aa39cfc6d2d2 diff --git a/posic/thesis/thesis.tex b/posic/thesis/thesis.tex index 0b32cf1..776b94c 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,9 +22,20 @@ \usepackage{rotating} \usepackage{fancyhdr} +% custom sections +\usepackage{titlesec} + % cites \usepackage[numbers,sort,compress]{natbib} +% list of publications +\usepackage{multibib} +%\usepackage[resetlabels]{multibib} +\newcites{pub}{List of publications} + +% box around verbatim text +\usepackage{fancyvrb} + % miller \usepackage{miller} @@ -37,8 +50,13 @@ % shortcuts \newcommand{\si}{Si$_{\text{i}}${}} -\newcommand{\ci}{Ci$_{\text{i}}${}} -\newcommand{\cs}{Ci$_{\text{s}}${}} +\newcommand{\ci}{C$_{\text{i}}${}} +\newcommand{\cs}{C$_{\text{s}}${}} +\newcommand{\degc}[1]{\unit[#1]{$^{\circ}$C}{}} +\newcommand{\degk}[1]{\unit[#1]{K}{}} +\newcommand{\distn}[1]{\unit[#1]{nm}{}} +\newcommand{\dista}[1]{\unit[#1]{\AA}{}} +\newcommand{\perc}[1]{\unit[#1]{\%}{}} % (re)new commands \newcommand{\printimg}[5]{% @@ -57,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{} @@ -88,7 +106,7 @@ % author & title \author{Frank Zirkelbach} -\title{Atomistic simulation study on the silicon carbide precipitation in silicon} +\title{Atomistic simulation study on silicon carbide precipitation in silicon} \begin{document} @@ -108,16 +126,25 @@ \include{md} %\include{const_sic} %\include{results} +\renewcommand{\chaptermark}[1]{ + \markboth{\thechapter.\ #1}{\thechapter.\ #1} +} \include{summary_outlook} +\renewcommand{\chaptermark}[1]{ + \markboth{\thechapter.\ #1}{\thechapter.\ #1} + \markright{\thesection.\ #1} +} \appendix{} \include{d_tersoff} \include{vasp_patch} \include{code} -\include{publications} +%\include{publications} \backmatter{} \include{literature} +\include{cv} +\include{publications} \include{ack} \end{document}