[comp.text.tex] Strange Side Effect by setspace.sty and doublespace.sty

young@emx.utexas.edu (Young U. Ryu) (04/30/91)

The `setspace.sty' (or `doublespace.sty')
results in a strange thing. (Maybe, not strange
to TeXperts.)

I have defined the following:

	\def\myneg{\mbox{\footnotesize $\sim$}}

which gives extra spaces when used with
setspace.sty or doublespace.sty.

For example:

	\documentstyle[11pt,setspace]{article}
	\doublespace
	\def\myneg{\mbox{\footnotesize $\sim$}}
	\begin{document}
	blah blah blah $\myneg A$ blah
	\end{document}

gave me:

	blah blah blah    ~A blah
                      ^^^
                       Here, extra spaces!

Which part of macros (of setspace.sty or doublespace.sty)
causes this problem?

Thanks in advance.

Young @ The Univ. of Texas at Austin
young@emx.utexas.edu