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*

7
  • Hmm, I like the re-definition of the \sum and \frac commands. As far as I can see the outermost environment should be a display-type environment already, so I don't see why my original code should be typesetting maths in inline mode in the first place. Commented Jun 16, 2015 at 7:44
  • It's a shame it has to be attached to the equation in question and not a global option for the document. Commented Jun 16, 2015 at 7:50
  • @tmgriffiths You can make it global without the \begingroup and \endgroup. If you then want to revert your inline mathematics locally, just open a group and use \let\sum\oldsum and \let\frac\oldfrac to get the old definitions again. Commented Jun 16, 2015 at 7:52
  • 2
    @tmgriffiths Inside an array, math should be inline, not display. The concern inside array is that displaymath causes parts of the mathematics affected by the displaystyle command to overflow to the line above or below. Other than that, I'm unsure how to put your phrasing "It should be display math". Commented Jun 16, 2015 at 7:58
  • 2
    @tmgriffiths array is essentially designed for matrices and the like, you should be using a displayed alignment environment such as aligned from amsmath then entries will be in display math by default. Commented Jun 16, 2015 at 8:17