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.
\item

  \begin{tabular}{ |l| l| l| }
    ...
  \end{tabular}
  \quad
  \begin{tabular}{ |l| l| l| }
    ...
  \end{tabular}

The following causes the enumeration marker (ie, "(b)"), to appear in the middle and to the left of the first table. How can I have the marker appear at the top (and to the left) of the table instead? (If I add some random text before the tables this works, but I don't want any text there.)

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

The tabular environment takes an optional argument that defines where the "anchor" of the table should be. [t] will align the first (top) line of the tabular with the current line of text (as I understand it). Center alignment is the default, [b] is for bottom alignment.

enter image description here

\documentclass{article}
\begin{document}
\begin{enumerate}
\item
\begin{tabular}[t]{l}
This \\
is \\
a\\
table
\end{tabular}
\end{enumerate}
\end{document}
share|improve this answer
    
Awesome, that did it. Thanks! –  alecb Feb 8 '13 at 17:35
add comment

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.