# I want the “+” (plus) sign not to be surrounded by whitespace

Which command lets me change all instances of + to {+}?

Because using {+} there is no whitespace before and after the symbol.

• Are you actually putting the + in braces? Simple solution, don't do that. Alternative, {\strut+\strut}. – John Kormylo Dec 8 '16 at 15:10
• Welcome to TeX.SX! Why shouldn't you want spaces around +? – egreg Dec 8 '16 at 15:44
• For me version without spaces looks better. Why shouldn't I use {+} ? Why it is not correct? – MathMen Dec 8 '16 at 15:47
• The spacing has been carefully chosen to fit traditional mathematical typographical practice. – Andrew Swann Dec 8 '16 at 16:49

I assume that if you don't want whitespace around + (plus) symbols, you also do not want whitespace around - (minus) symbols. For that matter, you probably don't want whitespace surrounding any binary operator, not just + and - symbols, right? If these assumptions apply, you should execute the instruction

\setlength{\medmuskip}{0mu}

in the preamble.

That said, I can't recommend doing this -- unless, of course, one deliberately wants to create a poor-looking document. But then, why even bother using TeX and LaTeX?!

An MWE:

\documentclass{article}
\begin{document}
$u+v-w$

\setlength\medmuskip{0mu} % normally, one would place such an instruction in the preamble
$u+v-w$
\end{document}
• Do I have to add some package to this solution? Because I have an error – MathMen Dec 8 '16 at 17:20
• @JonasAl-Hadad - And what would that error be? Definitely no need to add some package. – Mico Dec 8 '16 at 17:44