Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    That's nice, thanks, but every time I find myself writing the exact same thing more than once, I get the feeling I'm doing something wrong. Commented Nov 10, 2011 at 19:49
  • 6
    You should set \mathsurround to 0 to avoid extra spacing around math. Usually this is done by using \hbox{\m@th$...$} Commented Nov 10, 2011 at 20:19
  • @morbusg: That's true. But it's better that such coding is hidden from view in a macro that it clutter the readability within the general document. Commented Nov 10, 2011 at 20:28
  • 1
    The explicit \mathchoice approach is definitely the way to go in case I need to make small adjustments to each style level. Thanks again! Commented Nov 11, 2011 at 4:46