16
$\begingroup$

For example \begin{tabular}{|c|c|c|c|} \hline 1& -1 & 1 & -1 \\ \hline & & &\\ \hline & & &\\ \hline & & &\\ \hline. \end{tabular} Does not work here.

$\endgroup$

migrated from math.stackexchange.com Dec 5 '12 at 16:57

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

29
$\begingroup$

\begin{array}{|c|c|c|c|} \hline 1& -1 & 1 & -1 \\ \hline & & &\\ \hline & & &\\ \hline & & &\\ \hline. \end{array}


\begin{array}{|c|c|c|c|} \hline 1& -1 & 1 & -1 \\ \hline & & &\\ \hline & & &\\ \hline & & &\\ \hline. \end{array}

$\endgroup$
  • $\begingroup$ Thank yo,, this help, but I would want like a chessboard. $\endgroup$ – user29999 Dec 5 '12 at 21:26
2
$\begingroup$

A "cheats" method is to write it in LaTeX locally, and include the .pdf in your post as an image.

LaTeX output

\documentclass[crop]{standalone}

\usepackage{tikz}

\begin{document}

\resizebox{3in}{!}{
\begin{tabular}{|c|c|c|c|}
\hline
1& -1 & 1 & -1 \\ \hline
 & & &\\ \hline
 &  & &\\ \hline
 &  & &\\ \hline.
\end{tabular} 
}

\end{document}

The above would require the standalone class and tikz package.

$\endgroup$
-8
$\begingroup$

$\left( \begin{array}{ccc} a & b & c \\ d & e & f \\ g & h & i \end{array} \right)$

take a look here http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/Matrices.html

$\endgroup$

You must log in to answer this question.

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