%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% theorem stuff ... %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% comment the following line out to get theorems and such numbered %%% on the left %%\swapnumbers %%% Define UNTtheorems style for theorems, lemmas, etc... and %%% UNTdefinitions for definitions notes, whatever -- the idea is %%% that only statements that require proof of some sort should be in %%% math italics, other highlighted statements should be in the normal %%% text font. \newtheoremstyle{UNTtheorems}% name {10pt}% Space above {0pt}% Space below {\itshape}% Body font {}% Indent amount (empty = no indent, \parindent = paragraph indent) {\scshape}% Thm head font {.}% Punctuation after thm head {.5em}% Space after thm head: " " = normal interword space; % \newline = linebreak {}% Thm head spec (can be left empty, meaning `normal') \newtheoremstyle{UNTdefinitions}% name {10pt}% Space above {10pt}% Space below {}% Body font {}% Indent amount (empty = no indent, \parindent = paragraph indent) {\scshape}% Thm head font {.}% Punctuation after thm head {.5em}% Space after thm head: " " = normal interword space; % \newline = linebreak {}% Thm head spec (can be left empty, meaning `normal') %%% Now define the theorem and definition environment names %%% The following environments will be in UNTtheorem style \theoremstyle{UNTtheorems} \newtheorem{lemma}{Lemma}[chapter] \newtheorem{corollary}[lemma]{Corollary} \newtheorem{proposition}[lemma]{Proposition} \newtheorem{theorem}[lemma]{Theorem} \newtheorem{claim}[lemma]{Claim} %%% The following environments will be in UNTdefinition style \theoremstyle{UNTdefinitions} \newtheorem{definition}[lemma]{Definition} \newtheorem{assumption}[lemma]{Assumption} \newtheorem{convention}[lemma]{Convention} \newtheorem{remark}[lemma]{Remark} \newtheorem{example}[lemma]{Example} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% formatting stuff... %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% %%% Page Dimensions %%% %%% \voffset shifts the whole ``page'' up (negative) or down (positive) %%% on the paper. %%% %%% \topmargin is the distance from 1'' down on the page (assuming %%% \voffset=0pt) and the top of the headline. %%% %%% \headheight is the height of the headline above its baseline %%% %%% \headsep is the distance from the baseline of the headline to the %%% top of the page body. %%% %%% The first baseline for a line on the page body is: %%% 1'' + \topmargin + \headheight + \headsep + point size (12pt) %%% %%% \textheight is the goal distance from the top of the first line of text %%% to the baseline of the last line of text. %%% %%% If TeX can't get a baseline exactly \texheight from the top of the %%% first line of text, the first line stays put and space is added %%% ``more-or-less'' evenly between each line of text on the page. %%% %%% \footsep is the distance from the bottom of the body of the text %%% on the page to the baseline of the footline. %%% %%% To get page numbers .5in = 36pt from the bottom of the page for 8 %%% 1/2 x 11 paper, we need: %%% 1'' + \topmargin + \headheight + \headsep + \textheight + \footskip %%% = 756 pt -- except that this results in page numbers that look too %%% low. Mess with \textheight and \footskip to change the size of the %%% body of the page and the distance from the last baseline to the %%% baseline of the footline. To move the whole shebang up, using %%% \voffset is probably safest. \setlength{\voffset}{0pt} \setlength{\topmargin}{0pt} \setlength{\headheight}{0pt} \setlength{\headsep}{0pt} \setlength{\textheight}{636pt} % 648pt = 9in \setlength{\footskip}{36pt} %Exercise: Solve Xpt = .5in for X. %%% \hoffset is the horizontal analog of \voffset, positive to shift %%% right, negative to shift left %%% %%% \oddsidemargin is the left hand margin minus 1'' on odd numbered %%% pages. %%% \evensidemargin is the left hand margin minus 1'' on even numbered %%% pages. %%% %%% \textwidth is the width of the body of the text on the page. \setlength{\hoffset}{0pt} \setlength{\evensidemargin}{0pt} \setlength{\oddsidemargin}{0pt} \setlength{\textwidth}{6.5in} %%% ``Double'' spacing can be achieved by either of the following -- %%% the LaTeX book recommends \baselinestretch and some online source %%% says \linespread is to draconian. \renewcommand{\baselinestretch}{1.66} %\linespread{1.66} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Modifying amsbook.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% %%% The following supersedes the amsbook.cls class file. %%% %%% \makeatletter is necessary to be able to access the more primitive %%% macros in amsbook.cls (usually @ is a special character for %%% AMSLaTeX). \makeatletter %%% This is the page style, no headline, footline contains the page %%% number, which is centered. \pagestyle{plain} %%% AMS document classes seem to like scriptsize page numbers. Why both %%% of the following definitions are needed, I have NO EARTHLY IDEA, but %%% it might have to do with what the AMS Tex gremlins put into %%% \AtBeginDocument ...... or not. %%%In any case, this seems to give 12 point page numbers. \def\ps@plain{\ps@empty% \def\@oddfoot{\normalfont \hfil\textrm{\thepage}\hfil}% \let\@evenfoot\@oddfoot} \renewcommand{\@evenfoot}{\hfil\textrm{\thepage}\hfil}% \renewcommand{\@oddfoot}{\@evenfoot}% %%% The numbering commands: %%% chapters and sections are in arabic numerals and sections are %%% numbered as chapter.section. %%% Only chapters (level 1 heads) and sections (level two heads) are %%% numbered and these are the only headings that will appear in the %%% table of contents. Changing \secnumdepth will change this behavior %%% If it's increased, the table of contents and the document itself %%% will become more confusing for a reader and some \subsubsection %%% commands will need to be modified. \renewcommand\thechapter {\arabic{chapter}}% \renewcommand{\thechapter}{\arabic{chapter}} \renewcommand{\thesection}{\thechapter.\arabic{section}} \setcounter{secnumdepth}{1} %%% This redefines the \section command so that it's flush left and the %%% font is the normal text font. \renewcommand\section{\@startsection{section}{1}% \z@{.35\linespacing\@plus\linespacing}{.25\linespacing}% {\normalfont}} %%% This redefines the \subsection command so that it's flush left and %%% italicized. \renewcommand\subsection{\@startsection{subsection}{2}% \z@{.35\linespacing\@plus.7\linespacing}{.25\linespacing}% {\normalfont\itshape}} %%% These redefine how chapters are started and the table of contents %%% entries are written... \@makechapterhead is %%% for numbered chapters (called with \chapter{my chapter}), which %%% will be all in upper case, and \@makeshapterhead is for unnumbered %%% chapters, such as an appendix, if there's only one, and the table %%% of contents (it's called with \chapter*{my unnumbered %%% chapter}). For example, \chapter*{Appendix} would be a great way %%% to start an appendix. If there's more than one appendix, then look %%% up how the \appendix command affects chapter numbering... \renewcommand\@makechapterhead[1]{\global\topskip 7.5pc\relax% \begingroup% \fontsize{\@xivpt}{18}\centering% \ifnum\c@secnumdepth>\m@ne% \leavevmode \hskip-\leftskip% \rlap{\vbox to\z@{\vss% \centerline{\normalsize\mdseries% \uppercase\@xp{\chaptername}\enspace\thechapter}% \vskip 3pc}}\hskip\leftskip\fi% \uppercase{#1}\par \endgroup% \skip@34\p@ \advance\skip@-\normalbaselineskip% \vskip\skip@} \renewcommand\@makeschapterhead[1]{\global\topskip 7.5pc\relax% \begingroup% \fontsize{\@xivpt}{18}\centering\uppercase{#1}\par \endgroup% \skip@34\p@ \advance\skip@-\normalbaselineskip% \vskip\skip@ } %%% Make the contents, chapter and appendix all uppercase. \renewcommand\contentsname{CONTENTS} \renewcommand\chaptername{CHAPTER} \renewcommand\appendixname{APPENDIX} \renewcommand\bibname{BIBLIOGRAPHY} %%% This redfines the proof environment -- the only change to the %%% original is to have ``Proof:'' appear in caps/smallcaps and not %%% bold. \renewenvironment{proof}[1][\proofname]{\par \pushQED{\qed}% \normalfont \topsep6\p@\@plus6\p@\relax \trivlist \itemindent0pt \item[\hskip\labelsep \scshape #1\@addpunct{.}]\ignorespaces }{% \popQED\endtrivlist\@endpefalse } %%% Here's where the titlepage magic happens... \renewcommand\titlepage{% \clearpage \thispagestyle{empty}\setcounter{page}{0}} \renewcommand\maketitle{\par \@topnum\z@ % this prevents figures from falling at the top of page 1 \begingroup \@maketitle \endgroup \c@footnote\z@ \def\do##1{\let##1\relax}% \do\maketitle \do\@maketitle \do\title \do\@xtitle \do\@title \do\author \do\@xauthor \do\address \do\@xaddress \do\email \do\@xemail \do\curraddr \do\@xcurraddr \do\dedicatory \do\@dedicatory \do\thanks \do\thankses \do\keywords \do\@keywords \do\subjclass \do\@subjclass } \renewcommand*{\title}[1]{\gdef\@title{\uppercase {#1}}} \renewcommand\@maketitle{% \clearpage \thispagestyle{empty}% \begingroup \topskip\z@skip \null \vfil \begingroup \centering \@title\par \def\and{\par\medskip}\centering \mdseries\authors\par\bigskip \endgroup \vfill \begingroup \centering \ifx\@empty\degree \else \@degree\par \fi \vfill \ifx\@empty\degreedate \else \@degreedate\par \fi \endgroup \vfill \begingroup \parindent=0pt \raggedleft \begin{tabular}{l} APPROVED: \\ \noalign{\smallskip} \@approved \end{tabular}\par \endgroup \endgroup} \newcommand\degree[1]{\def\@degree{#1}} \let\@degree=\@empty \newcommand\degreedate[1]{\def\@degreedate{UNIVERSITY OF NORTH TEXAS\\ #1}} \let\@degreedate=\@empty \newcommand\approved[1]{\def\@approved{#1}} \let\@approved\@empty %%% These need to be redefined to disable the usual AMS book style %%% which mandates inserting blank pages all over creation. To get %%% blank pages between the frontmatter, mainmatter, and backmatter, %%% replace \clearpage with \cleardouble page. \def\frontmatter{\clearpage\pagenumbering{roman}} \def\mainmatter{\clearpage\pagenumbering{arabic}} \def\backmatter{\if@openright\clearpage\else\clearpage\fi} %%% Get rid of the bold face in citations. \def\@cite#1#2{{% \m@th\upshape\mdseries[{#1}{\if@tempswa, #2\fi}]}} %%% @ needs to go back to being an active character. \makeatother %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This will change the figure and table numbers for the TOC % added 4-3-2006 \setcounter{secnumdepth}{4} \setcounter{tocdepth}{2} \renewcommand{\thefigure}{\arabic{chapter}.\arabic{figure}} \renewcommand{\thetable}{\arabic{chapter}.\arabic{table}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%