I'm trying to insert multiple equations in a tabular environment in LaTeX. My problem is simple yet I haven't found any particular solution to it: the equations displayed are too small, and I'd like to increase their size so that I can obtain something less ugly than that (especially the last equation):

What I got so far...

I tried various tricks found here and there (\displaystyle, \def\arraystretch{3}, etc.), but nothing work really well.


It may just be that you're not placing \displaystyle in the appropriate place. Here are some options, and there are many more, depending on your requirements:

enter image description here

\usepackage{amsmath}% http://ctan.org/pkg/amsmath
\verb|tabular (default)|:\par
  Eq1 & $\sum_{i=1}^N |x A_i-x_i^B|$ & $a+b-2c$ \\ \\
  Eq2 & $\sqrt{\sum_{i=0}^N(x A_i-x B_i)^2}$ & $\sqrt{a+b-2c}$ \\ \\
  Eq3 & $\frac{\sum_{i=0}^N|x A_i-x B_i|}{\sum_{i=0}^N\max(x A_i-x B_i)}$ & $\frac{a+b-2c}{a+b-c}$

\verb|tabular (\displaystyle)|:\par
  Eq1 & $\displaystyle\sum_{i=1}^N |x A_i-x_i^B|$ & $a+b-2c$ \\ \\
  Eq2 & $\displaystyle\sqrt{\sum_{i=0}^N(x A_i-x B_i)^2}$ & $\sqrt{a+b-2c}$ \\ \\
  Eq3 & $\displaystyle\frac{\displaystyle\sum_{i=0}^N|x A_i-x B_i|}{\displaystyle\sum_{i=0}^N\max(x A_i-x B_i)}$ & 

\verb|array (amsmath)|:\par
  \text{Eq1} & \displaystyle\sum_{i=1}^N |x A_i-x_i^B| & a+b-2c \\ \\
  \text{Eq2} & \displaystyle\sqrt{\sum_{i=0}^N(x A_i-x B_i)^2} & \sqrt{a+b-2c} \\ \\
  \text{Eq3} & \dfrac{\displaystyle\sum_{i=0}^N|x A_i-x B_i|}{\displaystyle\sum_{i=0}^N\max(x A_i-x B_i)} & 


Since you are displaying math, it's advisable to use an array environment, or perhaps amsmath's align environments. This would allow you to automatically number the equations.

You can change the spacing between columns using a @{<stuff>} specifier (as I've done in the last example). Vertical spacing is achieved through adding additional empty rows, or increasing \arraystretch. For more on this topic, see Column padding in tables.

  • Thank you for your help. I didn't known that the \displaystype had to be used inside \frac as well. Now the equations are much more sexy :) – ecniv Oct 20 '12 at 13:42
  • Thank you indeed - is there a way to set \displaystyle globally and as a default for all arrays? – LBogaardt May 28 '14 at 13:46
  • Never mind, it's \everymath{\displaystyle} before \begin{document} – LBogaardt May 28 '14 at 13:47

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.