TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

migrated from stackoverflow.com Oct 15 '12 at 0:59

This question came from our site for professional and enthusiast programmers.

Welcome to TeX.SE. – Peter Grill Oct 15 '12 at 1:15
up vote 10 down vote accepted

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.

share|improve this answer
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 posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.