6

What is the parameter determining spacing and stretchability around inline equations? I want to tweak spacing exactly but cannot find where the parameters are.

  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – Marco Daniel Dec 12 '13 at 17:31
  • @MarcoDaniel and \m@th does what??? :-) – David Carlisle Dec 12 '13 at 17:35
10

the parameter is \mathsurround but it is usually 0pt, but you can use

\setlength\mathsurround{2cm}

to space things out a bit

  • Interesting. Are there any drawbacks of changing this length? Is it advisable? – azetina Dec 12 '13 at 17:44
  • Indeed. I missed that ;-) – Marco Daniel Dec 12 '13 at 18:00
  • It should be noted that \mathsurround has no flexibility (it's a kern, rather than a skip). – egreg Dec 12 '13 at 23:56
  • @egreg, true, which always seems like a slightly strange choice, limits the usefulness (and as far as I can see it's almost never used) – David Carlisle Dec 13 '13 at 9:09

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.