Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How do I do something like this in LaTeX?

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

1 Answer 1

up vote 19 down vote accepted

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.

share|improve this answer
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

Your Answer

 
discard

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.