%%To compile:
%% latex  templateart.tex
%latexn???
%% rm templateart.ps
%% dvips -f templateart.dvi > templateart.ps
%% OR (this is unreliable beta software):
%% pdftex  templateart.ps
%% THEN
%% ghostview  templateart.ps
%% (ghostscript  templateart.ps seems inferior)
%% OR
%% lpr   templateart.ps
%%
\documentclass[10pt,letterpaper,final,onecolumn,oneside,reqno,notitlepage]{article}

\usepackage{wdspacks}
\usepackage{wdsmacros}
\usepackage{wdsthms} %Use wdsintthms instead for integer thm numbering.

\begin{document}

\Title{WDS's article template}
{Warren D. Smith\thanks{NECI, 4 Independence Way Princeton NJ 08540 USA}}
{wds@research.NJ.NEC.COM}
{LeftHead=Authors}
{RightHead=ShortTitle}
{DocNumber=DRAFT or \# if done}{\shortdate or final date}

\begin{multicols}{2} %[optional title]

\begin{Abstract}
WDS's \LaTeX test sample article driving his style file.
A lot of \TeX stuff seems not to work
in \LaTeX2e.
To do:
Put if-draft on the draftcopy package?
{\tt pict2e}?
Test fancy enumerate, tables.
%special footnotes? \verb+\fntsymbol{1-9}+.
{\tt barenv}?
more pictures?
chemistry, chess?
%multicol 2wide escape?
%Title and tableofcontents suck in {\tt amsart}.
%But enumerate itemize description suck in {\tt article},
%latter now largely fixed by me.
\end{Abstract}

\begin{Keywords}
Fermat, theorem.
\end{Keywords}

\tableofcontents

\Bsection{Introduction} \label{sec:intro}
\BigL{N}OW IS THE TIME for all good men to come to the
aid of their country \cite{patriot}\footnote{footnote}.
AMS ``Huge'' math-environment DOES NOT WORK:
\BE
\begin{Huge} 
\E
\end{Huge}
\dist (x,y) = \Pr \sqrt[3]{5} (\im z) \int_0^5 x \d x
.
\EE

\Bsubsection{Subsection title}
See table \ref{tab:tablelabel} on page \pageref{tab:tablelabel}.

\Btheorem[\bf Ancients \cite{ancients}]
The world is flat.
\Etheorem

\Bsubsubsection{Subsubsection title}

Hence
\BE \label{eq:eqlabel}
\innerprod{a}{b} = \pFq{p}{q}{x \; y}{r \; s}{z} .
\EE
See \eqr{eq:eqlabel} and figure \ref{fig:thefig}.
$\sqrt{76}$.

\Bsection{Next section title} \label{sec:next}

!`Gau{\ss}! 
H{\o}yer, Herv\'e, \v{o} \u{o} see \sref{sec:intro}.
Ch\^ateau. F\"ur mich. H\'a\v{c}ek. P\'al Erd\H{o}s. G\"odel.
Ernesto Ces\'aro. {\O}ystein Ore. J\'anos Koml\'os.
al-Khw\^arizan\^\i.
Stanis{\l}aw \'Swie.
Saut\'e.
Voil\`a.
Aqu\'{\i}.
\leftguill     %T1 fonts not available??
l'Ann\'ee R\'esum\'e, Gar\c{c}on.
\rightguill   %T1 fonts not available??
Here is a dittomark \dittomark.

%Igor Durdanovic's name macros... available here only.
\def\cx{\'c}
\def\dx{d\kern -0.6em \raise 0.10ex \hbox{-}\kern 0.68ex \hbox{}}
\def\DX{D\kern -0.7em \raise 0.25ex \hbox{-}\kern 0.83ex \hbox{}}
\def\dy{d\kern -0.32em\raise 0.69ex \hbox{-}\kern-0.051ex \hbox{}}
\def\DY{D\kern -0.7em \raise 0.26ex \hbox{-}\kern 0.829ex \hbox{}}

Se\~nor
\DY ur\dy anovi\'{c}.
\DH \dh \DJ \dj \NG \ng \TH \th.  %T1 fonts not available??
\v{c}\u\i\={o}\'{a}\'{o} \^{o}\DH\inve.
a\~b.
?`Huh?
a\_b.
dag\dag.
ddag\ddag.
copyright\copyright.
AA:\AA\aa\L.
\{ \# \$ \& \pounds \% \}

\Bcorollary[\bf Ancients]
The world is \textfrac{27}{64}-round.
\Ecorollary
\prff
Obvious from algorithm \ref{alg:alglabel}.\qed

\Bcorollary[\bf Ancients]
Is not.
\Ecorollary
\prff
Sure. \qedsymbol

BD, boxed:
\BD
 \left. F(x) \right|_a^b
 = F(b)-F(a)
\ED

BE with special {\tt tag*} (matrix for no parens, 
smallmatrix: 
$\left( \begin{smallmatrix} a&b&c\\ d&e&f\end{smallmatrix} \right)$
pmatrix for round, 
bmatrix for square brackets, 
Bmatrix for curly brackets, 
vmatrix for vertlines,
Vmatrix for 2 vertlines on each side.):
\BE \tag*{[MyTag]}
X_{d \times a} 
=
\begin{bmatrix}
x_{11} & x_{12} & \cdots & x_{1a} \\
x_{21} & x_{22} & \cdots & x_{2a} \\
\vdots & \vdots & \ddots & \vdots \\
x_{d1} & x_{d2} & \cdots & x_{da} \\ 
\end{bmatrix}
\EE

\numberwithin{equation}{section}

BA, 3rd {\tt nonumber}'d:
\BA
x^2 & = y^2 + z^2 
\\
x^3 & < y^3 + z^3
\\
\nonumber
x^4 & < y^4 + z^4 + \text{nonumbered}
\EA

Very long arrows:
\BA
& X \xleftarrow[\text{Very long sub}]{\text{Long super}} Y 
\\
& A \xrightarrow[\text{Very long sub}]{\text{Long super}} B
\EA

bordermatrix:
\BD
\bordermatrix{& c_1 & c_2 & c_3 \cr
          r_1 & 2 & 7 & 6 \cr
          r_2 & 9 & 5 & 1 \cr
          r_3 & 4 & 3 & 8 \cr   }
\ED

\BD
{\it radius} * 2 = {\it diameter}
\ED

\BD
\def\temp{ \multicolumn{1}{c|}{0} }
C = \left[
\begin{array}{cccccc}
1     & 0 & \ast  & 0 & \ast & \ast \\ \cline{1-1} 
\temp & 1 & \ast  & 0 & \ast & \ast \\ \cline{2-3} 
0     & 0 & \temp & 1 & \ast & \ast \\ \cline{4-6} 
0     & 0 & 0     & 0 & 0    & 0     
\end{array}
\right].
\ED

\BD
\def\tempa{ \multicolumn{1}{|c}{} }
\def\tempb{ \multicolumn{1}{c|}{} }
\left|\begin{array}{cccc}
b      & 0      & \ldots & 0     \\ \cline{2-4}
a_2    & \tempa &        & \tempb \\
\vdots & \tempa & D      & \tempb \\
a_n    & \tempa &        & \tempb \\ \cline{2-4}
\end{array}\;\right| = b \det D .
\ED

Hello.
Fill\ExtraFootnoteMark{3}
in your answer {\underbar{\hphantom{this is the answer}}}
%underbar for text, underline for math
here\ExtraFootnote[2]{Special symbol 2 marks this special footnote.}.
\ExtraFootnoteText[4]{Special symbol 4 marks this special footnote text,
which has no text antecedent.}.

BE, cases, and boxed:
\BE
\boxed{
{r \legendre p}
\;=\;
\begin{cases}
       0 & \text{if $r \cong 0 \bmod p$} \\
       1 & \text{if $r\ncong 0$ is a square mod $p$} \\
      -1 & \text{otherwise}\\
\end{cases}
}%end boxed
\EE

%fails:
%\BE
%a=b.
%\EE

\killit{
This is invisible.
}%end killit

\end{multicols}
\dotfill \\
I feel like going single column full wide for a moment. 
Yes this is super fun! Whoowee! Elvis is the King.
Who cares about Monica Lewinsky?\\ 
Start \hrulefill end. \\

\begin{multicols}{2} %[optional title]

Now for an algorithm.
%\begin{algorithm} does not work in multicols 
\Balgorithm %=\begin{algorithmic}[1]  %[5] would make every 5th line numbered
\REQUIRE $n \geq 0 \vee x \neq 0$
\ENSURE $y = x^n$
\COMMENT{ensure postcondition is purpose of algorithm}
\STATE $y \gets 1$
\IF{$n < 0$}
\STATE $X \gets 1 / x$
\STATE $N \gets -n$
%\ELSIF{$n=0$} also available
\ELSE 
\STATE \label{algline:xgetx} $X \gets x$ 
\STATE $N \gets n$
\ENDIF
\WHILE{$N \neq 0$}
%\FORALL{$n > 0$} also available .. \ENDFOR
%\FOR{$n=0$ to $3$} also available .. \ENDFOR
%\REPEAT .. \UNTIL{condition} also avail
%\LOOP .. \ENDLOOP  (infinite) also avail
\IF{$N$ is even}
\STATE $X \gets X \times X$
\STATE $N \gets N / 2$
\ELSE[$N$ is odd]  %the ELSE command takes optional comment argument
\STATE $y \gets y \times X$
\STATE $N \gets N - 1$
\ENDIF
\ENDWHILE
%not available: \BREAK \EXIT \SWITCH-CASE
\Ealgorithm %=end{algorithmic}
\Bcaption
Algorithm to calculate $y = x^n$.
\label{alg:alglabel}
\Ecaption
%\end{algorithm}
A cross ref to the $X \gets x$ line \#\ref{algline:xgetx} FAILS!

\appendix

\Bsection{First appendix section}

\Blemma[\bf Einstein]
$E = m c^2$.
\Elemma

Benumerate:
\Benumerate
\item 
 first
\item 
 second
\suspend{enumerate}
Some commentary text.
\resume{enumerate}
\item 
 third
\Eenumerate

Bflushright:
\Bflushright
This is a right-justified paragraph here.
Hopefully. Maybe this all has some use.
We can only hope so. You can also use {\it Bcenter}
(lines made of roughly equal lengths,
then each line centered, with no attempt
to make lines of exactly equal length) and {\it Bflushleft}.
\Eflushright

BE\footnote{Back to normal.}
continued fraction using cfrac 
tfrac and dfrac 
are supposed to be textstyle and displaystyle...)
idotsint, dotsb ({\it b}inary; also {\it c}omma), sideset for sum prime,
idotsint:
\BE
\sideset{}{'}\sum_{b=1}^N
\overset{a}{\underset{b}{X}} 
=
\idotsint\limits_{|\Vec{x}|<1}  %\limits causes subscript underneath
\frac[1.3pt]{1}{\sqrt{2} +
\cfrac{1}{\sqrt{3} +
\cfrac[l]{1}{\sqrt{4} +
\cfrac{1}{\sqrt{5} +
\cdots
}}}}
\d^d \Vec{x}
\EE
%BE fails under AMS article, works under LATEX article. More Bugs.
EE.

Bitemize with handmade item arguments:
\Bitemize
\setlength{\itemsep}{0pt} %Improves it but still not optimal.
\item[(aa)]
 first
\item[(bb)]
 second
\Eitemize

Bdinglist\{43\}:
\Bdinglist{43}
\item first
\item second
\Edinglist

Bdingautolist\{172\}:
\Bdingautolist{172}  %or 192 for bolder, 
               %or 182 for white-on-black bolder or 
               %or 202 for white-on-black-sans-serif
\item first \label{ding:first}
\item second
\Edingautolist
References \ref{ding:first} to dingautolist items work.

\Bsection{Next appendix section}

\begin{definition}[\bf Edges in graphs]
Two-tuples.
\end{definition}

Bdescription:
\Bdescription
\item[Instance:]
 first
\item[Question:]
 second
\Edescription

Various attempts to make better oint: \fbox{cint}, ccint, cvint, ccwint:
[\verb+\smash{a}b+ does not have any superposing effect??!]
\BE
\cint z \d z
,\;\;
\ccint z \d z
,\;\;
\cvint z \d z
,\;\;
\ccwint  z \d z
,\;\;
\raise0.7ex\hbox{$\angle$}\mkern-17.5mu\oint 
\EE

centered picture:
\Bcenter
\unitlength=.5mm
\Bpicture(110,50)(0,5)  %box size (horiz,vert) 
                       %optional:origin at (0,5)  start 0,0; later adj
\put(55,45){\makebox(0,0){formal methods}}  %center of box at 55,45
\put(20,5){\makebox(0,0){\framebox(37,9){specification}}}
\put(90,5){\makebox(0,0){\dashbox{1.5}(30,9){design}}}
\put(50,40){\line(-1,-1){30}}  %slope specs must be from -6 to 6
\put(60,40){\line(1,-1){30}}
\Epicture
\Ecenter

Various attempts to make tensor duals:
\BD
R_i{}^j{}_{\! k\ell}
\;\;
%\overset{**}{R}_i{}^j{}_{\! k\ell}   %no more than 1 char allowed
\;\;
\tdual{R}_i{}^j{}_{\! k\ell}  %works but a mite too high
\;\;
\ttdual{R}_i{}^j{}_{\! k\ell}
\;\;
{\raise0.42ex\hbox{$\stackrel{*}{R}$}_i{}^j{}_{\! k\ell} }
\ED

big, Big, bigg, Bigg 
scriptstyle scriptscriptstyle displaystyle
can control sizes in math mode.
bigl, Bigl, biggl, Biggl
(and bigr etc.) are useful replacements for left and right
(these sized by hand -- not auto -- and do not
require left-right balancing).

Bverbatimstar (but there are no {\tt Everbatim}, {\tt Everbatimstar})
\Bverbatimstar
first     (a b)
second    (c d)
\end{verbatim*}

\verb=\verb+=: \verb+^*&(#@!\)#+ (the $+$ acts as a delimiter, any
char may be used as delim... \verb=\verb*= does \verb*= = characters
for spaces). 
The {\tt alltt} environment (like {\tt verbatim} but
with \verb+\{}+ having their usual meanings --
permits font changes and math 
with considerable difficulty since the long escape seqs needed, but
staying const-width) is also worth considering. 
{\obeylines{\obeyspaces Simpler are
\{$\backslash${\it obeylines} stuff\} (refuses
  to move stuff between lines)
               and
\{$\backslash${\it obeyspaces} stuff\} 
  (refuses        to move      stuff  horizontally [but clobbers indents!].)
}}

Centered tabular with shortstack and cline's:
\begin{center}
\def\temp#1{\multicolumn{1}{|r|}{#1}}
\begin{tabular}{r|c|>{\bfseries}c|c|c|}  %3rd column nonmath in bold
\cline{2-5} %like \hline but in cols 2-5 inclusive
 & \shortstack{D\\a\\v\\i\\s}
 & \shortstack{H\\e\\n\\d\\r\\y}
 & \shortstack{P\\a\\r\\r\\o\\t\\t} 
 & \shortstack{W\\h\\o} \\ \hline
\temp{Steve Davis}    & $\times$ & 23 & 19 & 0 \\ \hline
\temp{Thomas Hendry}  & 34 & $\bm{\times}$ & 0 & 4  \\ \hline
\temp{John Parrott}   & 22 & 0  & $\times$ & 18 \\ \hline
\temp{Jimmy Who}      & 0  & 10 & 11 & $\times$ \\ \hline
\end{tabular}
\end{center}
\Bcaption
Here is a Bcaption, MyCaptionCtr is incremented. \label{fig:thefig}
\Ecaption

Btabbing:
\Btabbing
Type\qquad\= Quality\quad\= Color \quad\= Price \\ [0.3ex]
Paper \> med. \> white \> high \\
Leather \> good \> red \> med. \\
\Etabbing

ball, sphere, simpvol, simpsurf, octvol, octsurf, squarevol, squaresurf,
cube:
\BD
\ball_n \;
\sphere_n \;
\simpvol_n \;
\simpsurf_n \;
\octvol_n \;
\octsurf_n  \;
\squarevol_n \;
\squaresurf_n \;
\cube_n 
\ED

Here are ding61, ding164 and ding246: \ding{61} \ding{164} \ding{246}.
And...
\begin{tabular}{| l | >{$}c<{$} |}  %2nd column centered mathmode
\multicolumn{2}{c}{Here are some ZapfDingbats in math mode.} \\
\hline
circphone & \circphone \\
plainphone & \plainphone \\ 
scissors & \scissors \\ 
blender & \blender \\ 
airplane & \airplane \\ 
envelope & \envelope \\ 
pointfinger & \pointfinger \\ 
writinghand & \writinghand \\ 
pencil & \pencil \\ 
xcross & \xcross \\ 
zapfcross & \zapfcross \\ 
crossprism & \crossprism \\ 
maltesecross & \maltesecross \\ 
jewstar & \jewstar \\ 
darkhypsquare & \darkhypsquare_n \\ 
hypsquareoutline & \hypsquareoutline \\ 
darkpentstar & \darkpentstar_n \\ 
pentstaroutline & \pentstaroutline \\ 
starprism & \starprism \\ 
darkhexstar & \darkhexstar \\ 
snowflake & \snowflake \\ 
zapfball & \zapfball_n \\ 
cube & \cube_n \\ 
darksemicircle & \darksemicircle \\ 
darkrectangle & \darkrectangle \\ 
bigleftquote & \bigleftquote \\ 
bigleftdblquote & \bigleftdblquote \\ 
bigrightquote & \bigrightquote \\ 
bigrightdblquote & \bigrightdblquote \\ 
fruit & \fruit \\ 
darkheart & \darkheart \\ 
motionarrow & \motionarrow \\ 
fatarrow & \fatarrow \\ 
arrowprism & \arrowprism \\ 
exxagarrow & \exxagarrow \\ 
\hline 
\end{tabular}
\Bcaption
Another Bcaption.
\Ecaption

\begin{Bib}

\bibitem{ancients}
P.M.Ancient: 
{\sl Bogus book},
McGraw-Hill 1943.
\nolinebreakallowed{\tt http://www.bogus.edu/{\smallsim}potato}.

\bibitem{patriot}
J.Q.Patriot: 
Jingoistic Title,
{\sl Journal Name} 14 (1772) 43-56.

\bibitem[knu]{knuth}
D.E.Knuth:
foo,
55-58 in
{\it Dogshit},
(ed. J.Q.Dog) Viking 1976.

\end{Bib}

\end{multicols}
\newpage

% Positioning Letters: h, t|b|p
%     h=here, t=top of page, b=bottom,  (recommend ``ht'')
%     p=floats all figures onto a separate figures & tables page
% {table*} causes double column table, {table} for single
% body of table
% examples: \vspace{1.5in}  or
%  \begin{tabular}..\end{tabular} (see p. 64 of LATEX book)  or
%  \begin{verbatim}..\end{verbatim}
% #4 = Caption Text
% #5 = label for later \ref{}.
\begin{table}[ht]
 \begin{center}
  \begin{tabular}{r|l}
symbol & you get \\ \hline
oint & $\oint_a^b f(z) \d z$ do not have arrow oint\\
mod md,mymod=\fbox{bmod} pmod & $x \equiv y+z \mod n$ \fbox{$x \equiv y+z \bmod n$} $x \equiv y+z \pmod n$ \\
abs  norm mean floor ceil bra ket & $\abs{x}$  $\norm{x}_2$  $\mean{x}$ $\floor{x}$ $\ceil{x}$ $\bra{x}$ $\ket{x}$ \\
text & $a_{\text{Klein}}^{\text{Gauss}} \;\;\text{(since } a=b \text{).}$ \\
iiint, Vec & $\iiint_G a \d^3 \Vec{x}$ \\
substack & $\sum_{\substack{k \ge 0 \\ j \le k}} a_{kj}$ \\
sideset & $\sideset{_a^b}{_c^d}\prod$\\
overset & $\overset{*}{X}$\\[5pt]
underset & $\underset{*}{X}$\\[5pt] %note optional vertical skip argument
overrightarrow underrightarrow & $\overrightarrow{ABCD}$ $\underrightarrow{ABCD}$\\
xleftarrow & $a \xleftarrow[d]{u} b$\\[3pt]
xrightarrow & $a \xrightarrow[d]{u} b$\\[3pt]
Hat Tilde Dot Ddot dot ddot dddot ddddot vardddot varddddot & 
$\Hat{\Hat{A}}$ $\Tilde{A}$ $\Dot{A}$ $\Ddot{A}$ $\dot{A}$ $\ddot{A}$ $\dddot{A}$ $\ddddot{A}$ $\overset{\therefore}{A}$ ${\raise0.13ex\hbox{$\stackrel{::}{A}$}}$ \\
Hat Tilde Dot Ddot dot ddot dddot ddddot vardddot varddddot & 
$\Hat{\Hat{u}}$ $\Tilde{u}$ $\Dot{u}$ $\Ddot{u}$ $\dot{u}$ $\ddot{u}$ $\dddot{u}$ $\ddddot{u}$ $\vardddot{u}$ $\varddddot{u}$ \\
binom lacute Check mathring & $\binom{t}{b}$ $\lacute x \racute$ $\Check{a}$ $\mathring{a}$ \\
, & $x \, x$ small\\
: & $x \: x$ medium\\
; & $x \; x$ thick\\
quad & $x \quad x$ thicker\\
qquad & $x \qquad x$ thickest\\
! & $x \! x$ negative\\
mathbb & $\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$ uppercase only\\
mathscr & $\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$ uppercase\\
mathcal & $\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$ uppercase\\
mathtt & $\mathtt{A B C D E F G a b c d e f g}$\\
mathrm & $\mathrm{Fe_2^{2+}Cr_2O_4}$\\
chem & \chem{Fe_2^{2+}Cr_2O_4} \\
mathsf & $\mathsf{M \, D \, I}$ sans serif for matrices\\
overline underline overleftarrow & $\overline{ab}$ $\underline{cd}$ $\overleftarrow{cd}$\\
overbrace & $\overbrace{a + \underbrace{b + c}_{2\text{ terms}} + d}^{\text{4 terms}}$ \\[.5ex]
atop brack angchoose choose & ${ a \atop b }$ ${a \brack b}$ ${a \angchoose b}$ ${a \choose b}$\\
defeq (done with stackrel\{def\}\{=\}) \killit{adots} & $a \defeq b$ \killit{$\adots$}\\
\{\} to control super & $R_i{}^j{}_{\! k\ell}$ \\
partial, \# & $\partial x$ ~~~~ $\#\{ x | f(x)=q \}$ \\
epsilon varepsilon eta theta vartheta eta nu & $\epsilon$ $\varepsilon$ $\eta$ $\theta$ $\vartheta$ $\eta$ $\nu$ \\
xi chi rho varrho upsilon phi varphi  &
 $\xi$ $\chi$ $\rho$ $\varrho$ $\upsilon$ $\phi$ $\varphi$ \\
pm mp in propto & $x \pm y$ $x \mp y$ $x \in y$ $x \propto y$\\
leftarrow=gets rightarrow=to swap nto ngets leadsto & $a \gets b$ $a \to b$ $a \swap b$ $a \nto b$ $a \ngets b$ $a \leadsto b$\\
perp parallel notin &  $a \perp b$ $a \parallel b$ $a \notin b$\\
mapsto le ne cong notcong & $a \mapsto b$ $a \le b$ $a \ne b$ $a \cong b$ $a \notcong b$\\
Longleftarrow & $a \Longleftarrow b$\\
Longleftrightarrow=iff & $a \Longleftrightarrow b$\\
Longrightarrow=implies & $a \Longrightarrow b$\\
rightleftharpoons & $a \rightleftharpoons b$\\
nearrow searrow & $a \nearrow b$ $a \searrow b$\\
ll gg lll ggg lwig gwig lnsim gnsim & $a \ll b$ $a \gg b$ $a \lll b$ $a \ggg b$ $a \lwig b$ $a \gwig b$ $a \lnsim b$ $a \gnsim b$ \\
succ succe prec prece & $a \succ b$ $a \succe b$ $a \prec b$ $a \prece b$ \\
div times & $a \div b$ $a \times b$\\
 \hline
  \end{tabular}
\Bcaption
This is the caption of the table. \label{tab:tablelabel} 
\Ecaption
 \end{center}
\end{table}


\begin{table}[ht]
 \begin{center}
  \begin{tabular}{r|l}
symbol & you get \\ \hline
half onethird & $A \half B \onethird C \twothirds D \onefourth E \threefourths F$ $a \half b \onethird c \twothirds d \onefourth e \threefourths f$ \\
dagger ddagger & $a \dagger b$ $a \ddagger b$\\
pluseq minuseq timeseq diveq slasheq stareq upeq &
$a \pluseq b$ $a \minuseq b$ $a \timeseq b$ $a \diveq b$ $a \slasheq b$ $a \stareq b$ $a \upeq b$ \\
quoteeq xoreq landeq loreq := & $a \quoteeq b$ $a \xoreq b$ $a \landeq b$  $a \loreq b$ $a := b$\\
colons &  $a : b :: c : d : e :: f$\\
plusplus \verb+{\bf ;}+ & $a \plusplus ;$  $a \minusminus \fatsemi$ $a \minusminus$; $a \plusplus${\bf ;}\\
%mathtt plusplus & $a \mathtt\plusplus b$  $a \mathtt\minusminus b$ \\
frown smile smallfrown smallsmile twogets twoto & $a \frown b$ $a \smile b$ $a \smallfrown b$ $a \smallsmile b$ $a \twogets b$ $a \twoto b$\\
maltese checkmark yen pitchfork & $\maltese$ $\checkmark$ $\yen$ $\pitchfork$ \\
cdot ast star bigstar $*$ &  $a \cdot b$ $a \ast b$ $a \star b$ $a \bigstar b$ $a * b$\\
odot oplus otimes ominus oslash &  $a \odot b$ $a \oplus b$ $a \otimes b$ $a \ominus b$ $a \oslash b$ \\
obslash olessthan obar circledast circledcirc circleddash &  $a \obslash b$ $a \olessthan b$ $a \obar b$ $a \circledast b$ $a \circledcirc b$ $a \circleddash b$\\
\fbox{varodot varoplus varotimes varominus varoslash varocircle} & $\varodot$ $\varoplus$ $\varotimes$ $\varominus$ $\varoslash$ $\varocircle$\\
\fbox{varoast varovee varowedge varobslash varolessthan varobar} &  
$\varoast$ $\varovee$ $\varowedge$ $\varobslash$ $\varolessthan$ $\varobar$\\
boxdot boxplus boxtimes boxminus &  $a \boxdot b$ $a \boxplus b$ $a \boxtimes b$ $a \boxminus b$ \\
boxslash boxbslash boxbox boxcircle boxbar boxempty boxast & $a \boxslash b$ $a \boxbslash b$ $a \boxbox b$ $a \boxcircle b$ $a \boxbar b$ $a \boxempty b$ $a \boxast b$  \\
divideontimes & $a \divideontimes b$\\
oblong talloblong baro &  $a \oblong b$ $a \talloblong b$ $\baro$ \\
diamond Diamond &  $a \diamond_6 b$ $a \Diamond_6 b$ \\
triangle bigtriangleup Box &  $\triangle_4$ $\bigtriangleup_4$ $\Box_3$\\
vartriangle square lozenge & $\vartriangle_d$ $\square_4$ $\lozenge_5$\\
circ bullet bigcirc & $\circ$ $\bullet$ $\bigcirc$\\
Large\{bullet\} huge\{bullet\} Huge\{bullet\} & 
 ${\Large \bullet}_2$ ${\huge \bullet}_3$ ${\Huge \bullet}_4$ Large defunct in mathmode \\
blacktriangle blacksquare blacklozenge & $\blacktriangle_3$ $\blacksquare_5$ $\blacklozenge_6$\\
approx asympt nasympt & $a \approx b$ $a \asympt b$ $a \nasympt b$\\
clubsuit heartsuit spadesuit& $\clubsuit$ $\heartsuit$ $\spadesuit$\\
neg=lnot land lor xor & $\neg a$ $\lnot a$ $a \lor b$ $a \land b$ $a \xor b$ \\
angstrom (\& text) aleph infty & $\angstrom$ \angstrom\  $\aleph$ $\infty$ \\
dots & $a \dots b$ $a + \dots + b$ $a , \dots , b$\\
wp & $\wp ( x )$ Weierstrass elliptic fn\\
imath prime jmath ell& $\imath$ $A\prime$ $A^{\prime}$ $\Vec{\jmath}$ $\ell$ \\
hbar hslash mho Omega & $\hbar$ $\hslash$ $\mho$ $\Omega$ \\
backslash angle forall exists nexists& $\backslash$ $\angle$ $\forall$ $\exists$ $\nexists$\\[.2ex]
widetilde widehat & $\widetilde{ab}$ $\widehat{ab}$ \\
divides ndivides & $a \divides b$ $a \ndivides c$\\
bigC & $\bigC$ $\bigZ$ $\bigR$ $\bigQ$ $\bigN$\\
bfC & $\bfC$ $\bfZ$ $\bfR$ $\bfQ$ $\bfN$\\
measuredangle sphericalangle & $\measuredangle$ $\sphericalangle$ \\
emptyset nabla urcorner lrcorner & $\emptyset$ $\nabla$ $\urcorner$ $\lrcorner$ \\
dashleftarrow leftrightsquigarrow & $a \dashleftarrow b$ $a \leftrightsquigarrow b$ \\
nLeftarrow nRightarrow fatsemi & $a \nLeftarrow b$ $a \nRightarrow b$ $a \fatsemi b$ \\ 
Yup Yleft Yright Ydown & $\Yup \Yleft \Yright \Ydown$ \\
oiint ocircle phone clock varangle wasylozenge & $\oiint$ $\ocircle$ $\phone$ $\clock$ $\varangle$ $\wasylozenge$ PHONE \& CLOCK FAIL! \LaTeX BUG! \\
lightning pointer smiley frownie kreuz & $\lightning$ $\pointer$ $\smiley$ $\frownie$ $\kreuz$ POINTER FAILS!!\\
male female photon gluon & $\male$ $\female$ $\photon$ $\gluon$ \\
permil CheckedBox hexagon pentagon hexstar davidsstar & $\permil$ $\CheckedBox$ $\hexagon$ $\pentagon$ $\hexstar$ $\davidsstar$ \\
twonotes leftturn CIRCLE Circle & $\twonotes$ $\leftturn$ $\CIRCLE_n$ $\Circle_n$ \\
leftmoon rightmoon astrosun & $\leftmoon$ $\rightmoon$ $\astrosun$ \\
APLinv \fbox{APLlog} APLstar & $\APLinv$ $\APLlog$ $\APLstar$ \\
APLbox APLuparrowbox APLdownarrowbox & $\APLbox$ $\APLuparrowbox$ $\APLdownarrowbox$ \\
circlearrowleft textcircled\{q\} textsuperscript & $\circlearrowleft$ \textcircled{q} a\textsuperscript{stuff}\\
sqrt* dbland dblor ampersand & $\sqrt*[3]{2}$ $a \dbland b$ $a \bitor b$ $a \dblor b$ $a \& b$ \\
exclamdown questdown & $a \exclamdown b$ $c \questdown d$ \\
%implic biimp & $a \implic b$ $a \biimp b$ \\
sqsubset sqsupset lhd unlhd rhd unrhd & $\sqsubset$ $\sqsupset$ $\lhd$ $\unlhd$ $\rhd$ $\unrhd$  \\
sqrt vs usqrt & $\sqrt{a} + \sqrt{b} + \sqrt{q}$ $\usqrt{a} + \usqrt{b} + \usqrt{q}$ \\
textexclamdown textquestiondown textquotedblleft textvisiblespace & \textexclamdown x \textquestiondown a \textquotedblleft b \textquotedblright c \textvisiblespace \\
French quote marks do not work << a >> &  $?$ \\
 \hline
  \end{tabular}
\Bcaption
This is the caption of the next table. \label{tab:tablelabel2} 
\Ecaption
 \end{center}
\end{table}

\includegraphics[angle=10,scale=0.65]{warren.eps}
\Bcaption
This is the caption of a $10\degrees$-rotated $0.65$-scaled
unclipped figure.
\Ecaption

\begin{multicols}{3}[\Bsection{And now for some doublespaced stuff; this is a page-wide heading here}]

\setlength\columnseprule{.3pt}   %lines between 3 columns
\doublespacing

There has been a movement afoot\endnote{Endnote \#1.}
among journal editor scum to try to kill trees\endnote{Endnote \#2.}
by forcing you to doublespace everything. They are dogs.
This makes it hard to read not easier\endnote{Endnote \#3 with some very long bullshit text as part of it going on and on forever yawn yawn yawn.}.
Their journals suck. May they all 
rot in\endnote{Endnote \#4, the last one.}
hell forever. They deserve to be shot.
\end{multicols}

\dingline{36}

\singlespacing
Back to single spacing.\\
Here is some 2mm graphpaper:\\
\unitlength=2mm
\Bpicture(35,20)(-5,-5)  %box size (horiz,vert) 
                       %optional:origin at (0,5)  start 0,0; later adj
\graphpaper[1](0,0)(25,10)  %%only works inside picture
\Epicture\\
produced with the graphpap package in the picture environment.

\begin{multicols}{2}
Here are the endnotes, set in 2 columns.
\PutEndNotesHere
\bigskip
End of endnotes.
\end{multicols}

\end{document}

