fancyhdr + migration chapter finish
[lectures/latex.git] / posic / thesis / thesis.tex
index c2b7c43..48c2546 100644 (file)
 \usepackage{pstricks}
 \usepackage{pst-node}
 \usepackage{rotating}
-%\usepackage{fancyhdr}
-%\pagestyle{fancy}
+\usepackage{fancyhdr}
 
 \usepackage{miller}
 
+\usepackage{slashbox}
+
 % (re)new commands
 \newcommand{\printimg}[5]{%
  \begin{figure}[#1]%
 % \renewcommand{\tablename}{Table}%
 %}
 
+\pagestyle{fancy}
+\fancyhf{}
+\fancyhead[EL]{\thepage}
+\fancyhead[ER]{\leftmark}
+\fancyhead[OL]{\rightmark}
+\fancyhead[OR]{\thepage}
+\renewcommand{\sectionmark}[1]{
+ \markboth{\thesection{} #1}{\thesection{} #1}
+}
+\renewcommand{\subsectionmark}[1]{
+ \markright{\thesubsection{} #1}
+}
+
 % hyphenation
 \hyphenation{}
 
@@ -67,6 +81,7 @@
 
 \appendix{}
 \include{d_tersoff}
+\include{vasp_patch}
 \include{publications}
 
 \backmatter{}