GeneralHow to set header line in each of the page of my thesis..

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
chandangiri
Posts: 20
Joined: Thu Sep 06, 2007 7:31 pm

How to set header line in each of the page of my thesis..

Post by chandangiri »

How to set the header line in my thesis for each of the page so that it wil give a line after showing the header and footer contents..
Now I am using the following style..
% *************** Page layout ***************
\settypeblocksize{*}{32pc}{1.618}

\setlrmargins{*}{1.47in}{*}
\setulmargins{*}{*}{1.3}

\setheadfoot{\onelineskip}{2\onelineskip}
\setheaderspaces{*}{2\onelineskip}{*}

\def\baselinestretch{1.1}

\checkandfixthelayout

% *************** Chapter and section style ***************
\makechapterstyle{mychapterstyle}{%
\renewcommand{\chapnamefont}{\LARGE\sffamily\bfseries}%
\renewcommand{\chapnumfont}{\LARGE\sffamily\bfseries}%
\renewcommand{\chaptitlefont}{\Huge\sffamily\bfseries}%
\renewcommand{\printchaptertitle}[1]{%
\chaptitlefont\hrule height 0.5pt \vspace{1em}%
{##1}\vspace{1em}\hrule height 0.5pt%
}%
\renewcommand{\printchapternum}{%
\chapnumfont\thechapter%
}%
}

\chapterstyle{mychapterstyle}

\setsecheadstyle{\Large\sffamily\bfseries}
\setsubsecheadstyle{\large\sffamily\bfseries}
\setsubsubsecheadstyle{\normalfont\sffamily\bfseries}
\setparaheadstyle{\normalfont\sffamily}

\makeevenhead{headings}{\thepage}{}{\small\slshape\leftmark}
\makeoddhead{headings}{\small\slshape\rightmark}{}{\thepage}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply