Style 3 Header

This commit is contained in:
Krishna Kumar 2013-11-22 18:46:10 +00:00
parent cc2a80fa81
commit 0acf244f92
3 changed files with 21 additions and 16 deletions

View File

@ -229,23 +229,29 @@
\pagestyle{fancy} \pagestyle{fancy}
% Style 1: % Style 1:
%\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
%\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
%\fancyhf{}
%\fancyhead[LO]{\rightmark}
%\fancyhead[LE,RO]{\bfseries\thepage}
%\fancyhead[RE]{\leftmark}
% Style 2:
\renewcommand{\chaptermark}[1]{\markboth{#1}{}} \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{} \fancyhf{}
\fancyhead[RO]{\bfseries\rightmark} \fancyhead[LO]{\rightmark}
\fancyhead[LE]{\bfseries\leftmark} \fancyhead[LE,RO]{\bfseries\thepage}
\fancyfoot[C]{\thepage} \fancyhead[RE]{\leftmark}
% Style 2:
%\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
%\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
%\fancyhf{}
%\fancyhead[RO]{\bfseries\rightmark}
%\fancyhead[LE]{\bfseries\leftmark}
%\fancyfoot[C]{\thepage}
% Style 3:
%\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
%\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1\ }}
%\fancyhf{}
%\fancyhead[RO]{\rightmark | \bfseries{\thepage} }
%\fancyhead[LE]{{\bfseries\thepage} | \leftmark }
\setlength{\headheight}{14.5pt} \setlength{\headheight}{14.5pt}
%\renewcommand{\headrulewidth}{0.5pt} %\renewcommand{\headrulewidth}{0.5pt}
%\renewcommand{\footrulewidth}{0pt} %\renewcommand{\footrulewidth}{0pt}

View File

@ -157,16 +157,15 @@ You can run the following command:
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
# Known Issues / Bugs # Known Issue(s) / Bugs
* Abstract, Acknowlegment and Dedication have extra spacing at the top: needs removal?
* Content gets capitalised on the header
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
# TODO list # TODO list
* Support custom margins * Support custom margins
* Support custome headers * Support custom headers
* Headheight should be fixed according to the fontsize used! * Headheight should be fixed according to the fontsize used!

Binary file not shown.