%===================================================================
%  File name: format1.tex
%  Purposes:  1. Included in the file thesis.tex; 
%             2. Define the page format and new commands;
%
%  Name:      Xiaojian Kang
%             Department of Physics
%             Indiana University 
%             Bloomington, IN 47405
%  Date:      Sept. 16, 1997
%====================================================================
%
\documentclass[12pt,twoside]{book}        % for two side style
%\documentclass[12pt,oneside]{book}        % for one side style
%
% some useful packages:
\usepackage{fancyheadings, multicol, amstex} 
\usepackage{graphicx, epsfig, subfigure}
\usepackage[hang]{caption}                % other caption paras are
                                          % set below
\setlength{\textheight}{8.0in}            % set hight of the text
\setlength{\topmargin}{5 mm}        % set margin of the head to the text 
\setlength{\oddsidemargin}{0.5in}         % set left margin to the text
\setlength{\evensidemargin}{0.0in}
\setlength{\rightmargin}{0.0in}           % set right margin to the text
\setlength{\headheight}{15.0pt}        
\setlength{\textwidth}{6.0in}             % set width of the text
\renewcommand{\baselinestretch}{1.5}      % double the space between lines
\makeatletter              % '@' is a regular letter
%
% Customize the caption in figures and tables:
% ( two ways of doing it)
% Define a style for the caption: 
%\def\capcrunch{
%    \protect\small
%    \setlength{\baselineskip}{0.9\baselineskip}   % change leading
%    \setlength{\hangindent}{0.05\textwidth}        % indent
%    \setlength{\hsize}{0.9\textwidth}}           % change right margin
%\newcommand{\mycaption}[1]{\caption[]{\capcrunch{#1}}}
%
% ( Find the variables in 
%   /usr/local/teTeX/texmf/tex/latex/misc/caption.sty)
%  \captionstyle is defined in the package command above
\setlength{\abovecaptionskip}{5mm}           % space above caption
\setlength{\belowcaptionskip}{5mm}
\setlength{\captionmargin}{.1\textwidth}     % change the caption width
%\renewcommand{\captionsize}{\small}         % caption size
\renewcommand{\captionlabelfont}{\bfseries}  % font of ``Figur'', ``Table''
%
% self-defined commands:
%\newcommand{\clearemptydoublepage}%
            %{\newpage{\thispagestyle{empty}\cleardoublepage}}
\newcommand{\clearemptydoublepage}{\newpage{\cleardoublepage}}
            % the comand makes sure that next page is a right-
            % hand(odd-number) one, such as the start of a chapter.
\newcommand{\myvec}[1]{\vec{\bf #1}}
\newcommand{\mypar}[2]{\frac{\partial #1}{\partial #2}}
\newcommand{\pgref}[1]{\ref{#1} on page~\pageref{#1}}
\newcommand{\Nu}[2]{{$^{#1}$}{#2}}
\newcommand{\Deg}{^{\circ}}
\newcommand{\D}{\displaystyle}
\newcommand{\Dfrac}[2]{\D \frac{#1}{#2}}       % display style in eqns
\newcommand{\ave}[1]{\left < #1 \right>}         % average
\newcommand{\bigarc}[1]{ \left ( #1 \right )}    % big {[( )]}
\newcommand{\bigbra}[1]{ \left [ #1 \right ]}
\newcommand{\bigbrace}[1]{ \left \{ #1 \right \}} 
%
\setcounter{secnumdepth}{5}                     % section depth
%
%\renewcommand{\thesection}{\Roman{section}}    % set numbering style
%\renewcommand{\thesubsection}%                 % subsection number
%              {\thesection.\arabic{subsection}}
\renewcommand{\thesubsubsection}%               % subsubsection number
              {\Roman{subsubsection}}
\renewcommand{\theparagraph}{\Alph{paragraph}}  % paragraph

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