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

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

  • 2
    Are you actually putting the + in braces? Simple solution, don't do that. Alternative, {\strut+\strut}. – John Kormylo Dec 8 '16 at 15:10
  • 1
    Welcome to TeX.SX! Why shouldn't you want spaces around +? – egreg Dec 8 '16 at 15:44
  • 1
    For me version without spaces looks better. Why shouldn't I use {+} ? Why it is not correct? – MathMen Dec 8 '16 at 15:47
  • 1
    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


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?!


enter image description here


\setlength\medmuskip{0mu} % normally, one would place such an instruction in the preamble
  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.