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