[OS X TeX] Space around equal sign

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Nov 2 12:31:07 EDT 2010


On 02/11/2010 16:27, Cleo wrote:
> Hi guys,
>
> When I need to write some math, say $x=y+n$, I usually use $x~=~y~+~n$ to avoid
> it breaks between lines. However, sometimes it appears an unwanted space before
> and after the equal sign. I have tried to solve this by using $x~\!=\!~y~+~n$
> but not always it works.
>
> Is there a way to avoid an expression to break and maintain a "constant" space
> around the equal sign?
>
> Thanks in advance.
>
> Cleo

\hbox{$ x = y + n $}
-- 
Joseph Wright



More information about the MacOSX-TeX mailing list