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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply