% various style tweaks % a few minor resizings \parindent 2em \topmargin 0.35in \headheight \baselineskip \headsep = \baselineskip % uncomment this--looks better for bottom margin \addtolength{\textheight}{10pt} \addtolength{\textwidth}{-5pt} \newcounter{notes} \newenvironment{Notes}% {\begin{list}{{(\roman{notes})\hfill}}{\usecounter{notes}% \setlength{\itemindent}{\parindent}% \setlength{\labelwidth}{\parindent}% \setlength{\labelsep}{0pt}% \setlength{\leftmargin}{0pt}% \setlength{\listparindent}{\parindent}}}% {\end{list}} \renewenvironment{acknowledgements} {\begin{alwayssingle} \chapter*{\acknowledgename} \markboth{\acknowledgename}{\acknowledgename} \addcontentsline{toc}{chapter}{\acknowledgename} } {\end{alwayssingle}} \usepackage{fancyheadings} % One-sided style %\lhead{\fancyplain{}{\scshape \leftmark}} %\rhead{\fancyplain{\thepage}{\thepage}} \pagestyle{fancyplain} % Two-sided style - use in the document itself \lhead[\fancyplain{\thepage}{\thepage}]{\fancyplain{}{\scshape\rightmark}} \rhead[\fancyplain{}{\scshape\leftmark}]{\fancyplain{\thepage}{\thepage}} \chead{} \cfoot{} \lfoot{} \rfoot{} \newcommand{\blankpage}{\thispagestyle{empty}\cleardoublepage} \newcommand{\twosidebreak}{% \if@twoside\raggedbottom\newpage\flushbottom\fi} % Redefine these environments so that they don't uppercase the headings \def\chaptermark#1{% \markboth{\@chapapp\ \thechapter.~~ #1}{}} \def\sectionmark#1{% \markright{Section \thesection.~~ #1}} %%%% commented out by steve -- put two "bibliography" lines in table of contents %% \def\thebibliography#1{\chapter*{\bibname\@mkboth %% {{\bibname}}{{\bibname}}} %% \addcontentsline{toc}{chapter}{\bibname} %% \list{\@biblabel{\arabic{enumiv}}}{\settowidth\labelwidth{\@biblabel{#1}}% %% \leftmargin 20pt %% \itemindent -20pt %% % \setlength{\parskip}{-8pt} % AMG experiment %% % \setlength{\baselineskip}{14pt} % AMG experiment %% % \advance\leftmargin\labelsep %% \usecounter{enumiv}% %% \let\p@enumiv\@empty %% \def\theenumiv{\arabic{enumiv}}}% %% \def\newblock{\hskip .11em plus.33em minus.07em}% %% \sloppy\clubpenalty4000\widowpenalty4000 %% \sfcode`\.=\@m} \def\tableofcontents{\@restonecolfalse \if@twocolumn\@restonecoltrue\onecolumn\fi \chapter*{\contentsname \@mkboth{{\contentsname}}{{\contentsname}}}% {\ssp\@starttoc{toc}}\if@restonecol\twocolumn\fi} \def\listoffigures{\@restonecolfalse \if@twocolumn\@restonecoltrue\onecolumn\fi \chapter*{\listfigurename\@mkboth{{\listfigurename}}% {{\listfigurename}}} \addcontentsline{toc}{chapter}{\listfigurename} {\ssp\@starttoc{lof}}\if@restonecol \twocolumn\fi} % Remove the indent in the list of figures \def\l@figure{\@dottedtocline{1}{0em}{2.3em}} % Make Chapter # font as big as the chapter heading font \def\@makechapterhead#1{% \vspace*{50\p@}% {\parindent \z@ \raggedright \normalfont \ifnum \c@secnumdepth >\m@ne \Huge\bfseries \@chapapp\space \thechapter \par\nobreak \vskip 20\p@ \fi \interlinepenalty\@M \Huge \bfseries #1\par\nobreak \vskip 40\p@ }} \newcommand{\longpage}{\enlargethispage{\baselineskip}} \newcommand{\shortpage}{\enlargethispage{-\baselineskip}}