%================================================================
%  File name: format2.tex
%  Purposes:  1. Input in the file ../thesis.tex; 
%             2. Set the page style and new counters for 
%                 the chapters;
%
%  Name:      Xiaojian Kang
%             Department of Physics
%             Indiana University 
%             Bloomington, IN 47405
%  Date:      Sept. 16, 1997
%================================================================
%
%
% Define new page style for the toc and chapters
% 
  \pagestyle{fancyplain}                 % use the fancy heading
%
%------------------  redefine the layout ----------------------%
%  
  \renewcommand{\chaptermark}[1]%        % chpater title:
               {\markboth{\thechapter.\ #1}{#1}}
% 
  \renewcommand{\sectionmark}[1]%        % section title
               {\markright{\thesection\ #1}}
% 
  \lhead[{\bfseries \thepage}]%          % left and right heads
         {\bfseries \rightmark}          % [Even page]{odd page}
  \rhead[{\bfseries \leftmark}]%
         {\bfseries \thepage}
% 
  \cfoot{}                              % center foot       
  %\cfoot{DRAFT -- \today}             % for draft reference
%------------------------------------------------------------%
%
%  Table of contents, lists of tables and figures:
  \setcounter{tocdepth}{2}       % toc depth

  \tableofcontents             
  \clearemptydoublepage
  \listoftables
  \clearemptydoublepage
  \listoffigures
  \clearemptydoublepage
%
%%%%%%%%%%%%%%%%%%%%%%%   end of front pages %%%%%%%%%%%%%%%%%%%%%%%%
%
%  start new page counter for chapter text
%
  \pagenumbering{arabic}
  \setcounter{page}{1}
  \setcounter{chapter}{0}
  \setcounter{section}{0}
  \setcounter{secnumdepth}{5}
%

% Local Variables: 
% mode: latex
% TeX-master: t
% End: 
