1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
% Set up LaTeX for an article.
% This should work for LaTeX 2.08.
% This file contains everything up to
% the \begin{document} command,
% and should be read in with an \input command.
\documentclass[12pt]{article}
\usepackage{threepart}
\usepackage{times}
\usepackage{color}
% Formatting niceties.
% ensure that all pages are the same length
\flushbottom{}
% bump up the widow and club penalties
\makeatletter
\clubpenalty=\@highpenalty
\widowpenalty=\@highpenalty
\makeatother
% save the value of \baselinestretch (this is the global default)
\let\BLS=\baselinestretch
% These allow switching interline spacing. The size changes ensure that the
% change takes effect immediately.
\makeatletter
\newcommand{\singlespacing}{\let\CS=\@currsize\renewcommand{\baselinestretch}{1}\tiny\CS}
\newcommand{\doublespacing}{\let\CS=\@currsize\renewcommand{\baselinestretch}{1.75}\tiny\CS}
\newcommand{\normalspacing}{\let\CS=\@currsize\renewcommand{\baselinestretch}{\BLS}\tiny\CS}
\makeatother
% undo LaTeX's decision to make citation labels be \hbox'd.
\makeatletter
\def\@cite#1#2{[#1\if@tempswa , #2\fi]}
\makeatother
\setlength{\unitlength}{1mm}
% Number footnotes with symbols.
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{corollary}{Corollary}
\newtheorem{definition}{Definition}
% Definition of the proof-environment:
\newenvironment{proof}{{\bf Proof:}\quad}{\hfill$\Box$\newline}
|