
\typeout{WDS LaTeX2e usepackage calls  <Aug 2001>   wdspacks.sty.}
%\usepackage{amstex}  %is obsolete, amsmath is newer.
\usepackage{calc}
\usepackage{keyval}

%\usepackage[
%left={0.5in},
%right={0.5in-21pt},
%top={0.3in},
%bottom={0.3in},
%marginparsep={11pt},
%marginparwidth={10pt},
%headheight={0.25in},
%headsep={0.1in},
%footskip={0.25in},
%includeemp,
%dvips,
%letterpaper
%]{geometry}
%also can put: landscape or portrait, and pfdtex overruling dvips
%The above disabled since \marginpar does not work with multicol

\usepackage[
body={7.5in,10.1in},
headheight={0.25in},
headsep={0.05in},
footskip={0.25in},
dvips,
letterpaper
]{geometry}
%also can put: landscape or portrait, and pfdtex overruling dvips

\usepackage{fancyhdr}   %fucking thing refuses to put headers on page 1
\pagestyle{fancy}

%\usepackage{tocloft}   %???

\usepackage{multicol}
%could instead just use \onecolumn and \twocolumn to switch
%between 1 & 2 column formats, BUT every such switch needs a page break.
%This provides the following environment:
%\begin{multicols}{NumOfColumns}
%[OptionalMultiColumnWideHeader, e.g. \section{The User Interface}]
%YourText
%\end{multicols}
%within this environment floating figures and tables are disabled -
%although * versions (full wide) are allowed, though "h" disabled.
%Also longtable is incompatible with multicols.
%If want vertical line between columns do
%\setlength\columnseprule{.3pt}   %0pt for no line
%Also multicols* environment same except in last page, no flush column
%ends; instead all white space is concentrated in last column.
%Multicols can occasionally put footnotes on wrong page (you will
%be warned if it is worried); put \pagebreak in strategic places to
%fix that.

\usepackage[reqno]{amsmath}  %reqno = eq #s on right side

\usepackage{epsfig}
\usepackage{wasysym} %more symbols; seems flaky, use others in preference
\usepackage{pifont}  %ZapfDingbats; dinglist, dingline, dingautolist
\usepackage{stmaryrd}  %more symbols
\usepackage[mathscr]{eucal}  %mathscr caligraphic symbols from AMS
\usepackage{amssymb}   %more symbols (presumably take precedence?)
%\usepackage{amsfonts} gets loaded automatically with amssymb
%ams latex %macro package for latex %http://www.ctan.org/
%install in  texmf/tex/latex/amslatex ?

%\usepackage{oldgerm}   %old german gothic fonts

\usepackage{amsthm}   %annoyingly names not in bold, must do it by self
\usepackage{mdwmath}  %\sqrt* like \sqrt with no vinculum. 
   %also provides C-like operators in mathmode: \dbland \& \bitor \dblor

\usepackage{acronym}  %facilities for acronym expansion contraction 
  %and maintenance of list (make sure never use without defining)

\usepackage{array}
\usepackage{xspace}

%\usepackage{algorithmic} %obsoleted by wdsalgo
%\usepackage{algorithm}   %obsoleted by wdsalgo
\usepackage{wdsalgo}
\usepackage{verbatim} %also allows \verbatiminput{filename}
\usepackage{alltt}
\usepackage{enumerate}

\usepackage{dcolumn}   %tabular now has ``.'' columns (aligns decimal pts)
\newcolumntype{.}{D{.}{.}{-1}}  %Also can use d{5}  if at most 5 digits after dec pt
                                %(it spaces better if knows that info):
\newcolumntype{d}[1]{D{.}{.}{#1}}  

\usepackage{mdwlist}  %makes compact lists enumerate* description* etc available
                      %\makecompactlist{name*}{name}  will convert anything to compact form
                      %also nicer description treatment of long labels (with options)
\usepackage{mdwtab}  %makes footnotes work in tables, has many other goodies
%\usepackage{mathenv} %this fucks up AMS's bmatrix environment

\usepackage{graphpap}

\usepackage{graphicx}  
%provides:
%\includegraphics{file.eps}
%\includegraphics[height=4cm,clip]{file.eps}
%\includegraphics[angle=40]{file.eps} 
%    (rotates 40 degrees ccw about lower left corner)
%\includegraphics[angle=45,origin=c]{file.eps}   (rotates about center)
%\includegraphics[angle=45,totalheight=3cm,scale=2,width=3in]{file.eps}
%\scalebox{0.68}{anybox}
%\scalebox{0.68}[yscale]{any box}   
%    scalefacs can be negative causing mirroring
%\resizebox{1in}{2in}{anybox}  scales x and y into box of specified dimens
%\resizebox{1in}{!}{anybox}    preserves aspect ratio
%\resizebox*{1in}{!}{anybox}   * means clip off stuff outside the box
%\rotatebox{45}{anybox}   about box lowerleft
%\fbox{anybox}   draws frame around the box

%\usepackage{lcircuit}  by Adrian Johnstone for circuit diagrams?
%\usepackage{chess}     by Piet Tutelaers for chess diagrams and moves?
%\usepackage{xymtex & several related eg carom etc} for chemical formulas
%\usepackage{SIunits}  %seems a silly package. \ensuremath\mathrm{mol} & 
   %similar is all one needs; I've defined \units{} for that

\usepackage{setspace}  %allows \doublespacing  
                       %\onehalfspacing \singlespacing

\usepackage{bm}  %\bm{\alpha}  causes \alpha  to be in bold print

%\usepackage{barenv}    %not in TeTeX distribution??
%\usepackage{pict2e}    %Lamport says better??

\usepackage{ae}  %T1 fonts?
%\usepackage[T1]{fontenc}  %allows access to guillemotleft etc. symbols
%\usepackage{textcomp}     %but %T1 fonts not available??

%usepackage{latexsym} %makes 11 symbols available but already have anyway
%Kopka book also alleges the guillemet single symbols 
%(and 90-degree rotated versionsm of them) are available 
%from this package, but I cannot see them in their source code...

\usepackage{ifthen}  %if-then-else & while constructs made available for 
                     %latex programming:
                     % \ifthenelse{cond}{ifclause}{elseclause},
                     % \whiledo{cond}{body},  <, =, >, \isodd{x}, 
                     % \lengthtest{a < b}.    In conditions:
                     %use of A \and B, similarly \or \not \) \(
                     %\newboolean{NAME}   \boolean{NAME} 
                     %\setboolean{NAME}{true}

\ifthenelse{0=0}{   %\boolean{@draft}}{ %\value{draft}>0}{
\usepackage[light]{draftcopy}  %causes light gray DRAFT on every page.
   %fucking thing is invoked even if documentclass says final. BUG???
   %Here I'm attempting to fix that by using ifthenelse
   %but I do not know what to put in the test!
\draftcopySetGrey{.94}  %lighter than default light value .90  (default dark is .80)
}{}

\usepackage{endnotes}  %\endnote{stuff}  works like \footnote{stuff}
  %\PutEndNotesHere in wdsmacros regurgitates them. See doc.

\DeclareMathOperator{\dist}{dist}     %distance
\DeclareMathOperator{\arccosh}{arccosh}
\DeclareMathOperator{\meas}{meas}
\DeclareMathOperator{\arccot}{arccot}
\DeclareMathOperator{\arccoth}{arccoth}
\DeclareMathOperator{\arccsc}{arccsc}
\DeclareMathOperator{\arccsch}{arccsch}
\DeclareMathOperator{\arcsec}{arcsec}
\DeclareMathOperator{\arcsech}{arcsech}
\DeclareMathOperator{\re}{re}
\DeclareMathOperator{\im}{im}
\DeclareMathOperator{\li}{li}
\DeclareMathOperator{\E}{E}
\DeclareMathOperator{\Ei}{Ei}
\DeclareMathOperator{\Ai}{Ai}
\DeclareMathOperator{\sech}{sech}
\DeclareMathOperator{\erfc}{erfc}
\DeclareMathOperator{\arcsinh}{arcsinh}
\DeclareMathOperator{\arctanh}{arctanh}
\DeclareMathOperator{\area}{area}
\DeclareMathOperator{\erf}{erf}
\DeclareMathOperator{\length}{length}
\DeclareMathOperator{\sign}{sign}
\DeclareMathOperator{\tg}{tg}
\DeclareMathOperator{\vol}{vol}
\DeclareMathOperator{\diam}{diam}

%math operators with ``limits'' that are typeset above and/or below
\DeclareMathOperator*{\average}{average}
\DeclareMathOperator*{\avg}{avg}
\DeclareMathOperator*{\Avg}{Avg}
\DeclareMathOperator*{\Var}{Var}
%\DeclareMathOperator*{\max}{max}
%\DeclareMathOperator*{\min}{min}


