How do I do something like this in LaTeX?
X: a, b, c,
e, f, g
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityThere 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.
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.
Mar 23, 2011 at 22:47