X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=posic%2Fthesis%2Fthesis.tex;h=82dc58d8e16f845f517e0c921f05b47b4c8c6e49;hb=a812d191e3b5f031b2227a3bbb40ec3b4be79b3a;hp=c6c3f2ab615df878f03efdb990ff2fa156041577;hpb=8b561b21134ce68789e71a53357177540516d478;p=lectures%2Flatex.git diff --git a/posic/thesis/thesis.tex b/posic/thesis/thesis.tex index c6c3f2a..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,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} @@ -35,6 +48,16 @@ % units \usepackage{units} +% shortcuts +\newcommand{\si}{Si$_{\text{i}}${}} +\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]{% \begin{figure}[#1]% @@ -52,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{} @@ -109,10 +132,12 @@ \include{d_tersoff} \include{vasp_patch} \include{code} -\include{publications} +%\include{publications} \backmatter{} \include{literature} +\include{cv} +\include{publications} \include{ack} \end{document}