1

This question already has an answer here:

as I wanted to increase the space surrounding the = sign in my equations, I changed the thickmuskip length in the preamble

\setlength{\thickmuskip}{14mu}

It works fine, and I like the result in display-style equations. The problem is that it also affects equations written in text-style (ie those with $$) and there it does not look good. How can I get a different spacing around = in display and text mode?

Thanks

marked as duplicate by Charles Stewart, user31729, Jesse, Stefan Kottwitz Jun 27 '14 at 9:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Does the answer in tex.stackexchange.com/questions/123323/… work for you? (I've assumed your qn is a duplicate and voted to close.) – Charles Stewart Jun 27 '14 at 9:05
  • Yes the question is the same. Sorry I looked for it but could not find it. Thanks – Bruce Jun 27 '14 at 12:55
  • However adding \everydisplay{\medmuskip=10mu\relax} as suggested in the answer causes an error for me, in the amsmath package: \begin{split} won't work here. The document builds perfectly without the \everydisplay – Bruce Jun 27 '14 at 13:00
  • Solved with \everydisplay=\expandafter{\the\everydisplay\thickmuskip=14mu\relax}. See answer by Matthew Leingang – Bruce Jun 27 '14 at 13:11