General ⇒ How to set header line in each of the page of my thesis..
-
- Posts: 20
- Joined: Thu Sep 06, 2007 7:31 pm
How to set header line in each of the page of my thesis..
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}
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