I'm having a hard time to insert a table here when I'm asking a question. Any help would be appreciated. Also, is there any, not too expensive, math programs that allow me to enter math terms and equations kind of thing?

Thank you


migrated from math.stackexchange.com May 17 '12 at 19:49

This question came from our site for people studying math at any level and professionals in related fields.

Regarding how to write general math expressions on the site, my answer here covers that well I think.

Specifically for tables, you can use LaTeX's \array command. The tabular command, which only works in text mode, is not available here, so if you want to include text in your table, you will have to do some tinkering. Here is an example table:

 & \text{Column A} & \text{Column B} \\ \hline
\text{Row 1} & 5 & \oplus \\ \hline
\text{Row 2} & \int & 8 \\ \hline


$$\begin{array}{c|c|c|} & \text{Column A} & \text{Column B} \\ \hline \text{Row 1} & 5 & \oplus \\ \hline \text{Row 2} & \int & 8 \\\hline \end{array}$$

  • 10
    +1 Great example! I adapted it to display $$\begin{array}{|c|c|c|}\hline&\zeta (3)&\zeta (2)\\ \hline\sigma&3+4\ln(1+4\sqrt{2})& 2+5\ln\left(\dfrac{1+\sqrt{5}}{2}\right)\\ \hline\tau&-3+4\ln(1+\sqrt{2})&-2+5\ln\left(\dfrac{1+\sqrt{5}}{2}\right)\\ \hline\mu=1+\dfrac{\sigma}{\tau}& \dfrac{8\ln(1+\sqrt{2})}{4\ln(1+\sqrt{2})-3}&\dfrac{10 \ln \left(\dfrac{1+\sqrt{5}}{2}\right)}{5 \ln\left(\dfrac{1+\sqrt{5}}{2}\right)-2}\\ \hline \end{array}$$ – Américo Tavares May 18 '12 at 0:24
  • +1 Thanks. I had to try it out on one of my answers. Sorry about the bump. – Jyrki Lahtonen May 18 '12 at 10:45

Since my example given in a comment to Zev Chonoles's answer and adapted from it, due to some reason, does not display properly now, I repeat it here.

$$\begin{array}{|c|c|c|}\hline&\zeta (3)&\zeta (2)\\\hline\sigma&3+4\ln(1+4\sqrt{2})&2+5\ln\left(\dfrac{1+\sqrt{5}}{2}\right)\\\hline\tau&-3+4\ln(1+\sqrt{2})&-2+5\ln\left(\dfrac{1+\sqrt{5}}{2}\right)\\\hline\mu=1+\dfrac{\sigma}{\tau}&\dfrac{8\ln(1+\sqrt{2})}{4\ln(1+\sqrt{2})-3}&\dfrac{10\ln\left(\dfrac{1+\sqrt{5}}{2}\right)}{5\ln\left(\dfrac{1+\sqrt{5}}{2}\right)-2}\\\hline\end{array}$$

It is produced by

$$\begin{array}{|c|c|c|} \hline &\zeta (3)&\zeta (2)\\ \hline \sigma&3+4\ln(1+4\sqrt{2})&2+5\ln\left(\dfrac{1+\sqrt{5}}{2}\right)\\ \hline \tau&-3+4\ln(1+\sqrt{2})&-2+5\ln\left(\dfrac{1+\sqrt{5}}{2}\right)\\ \hline \mu=1+\dfrac{\sigma}{\tau}&\dfrac{8\ln(1+\sqrt{2})}{4\ln(1 \sqrt{2})-3}& \dfrac{10\ln\left(\dfrac{1+\sqrt{5}}{2}\right)} {5\ln\left(\dfrac{1+\sqrt{5}}{2}\right)-2}\\ \hline \end{array}$$

  • 1
    Amusingly, without even first looking at your post, I noticed that your comment had broken and then proceeded to fix it, figuring that it's the same problem I was having here. Should I rebreak it? – Zev Chonoles Jun 5 '12 at 13:13
  • That or perhaps better you could add a short comment explaining how you have fixed it. – Américo Tavares Jun 5 '12 at 13:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .