11

How do I do something like this in LaTeX?

X: a, b, c,  
   e, f, g
  • 1
    Is this in math mode or in text mode? – Gonzalo Medina Mar 23 '11 at 22:26
20

There are many ways in which you can produce tabular material; the basic options are the tabbing environment, the tabular environment, and the arrray environment; depending in your intent, you can choose which one to use. Here's a little example:

\documentclass{article}

\begin{document}

\begin{tabbing}
X \=  a \= b \= c \\
 \> d \> e \> f
\end{tabbing}

\begin{tabular}{cccc}
  X: & a & b & c \\
  & d & e & f
\end{tabular}

\[
\begin{array}{cccc}
  X: & a & b & c \\
  & d & e & f
\end{array}
\]

\end{document}

The above options are explained in any basic LaTeX manual.

  • 5
    It should be noted that array and tabular are more or less the same (the use the same internal code), only that array defaults to math-mode and tabular to text mode. – Martin Scharrer Mar 23 '11 at 22:47
  • Typo: arrray? – Aaron J Lang Jun 12 '16 at 21:55

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.