TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Consider this example:

\begin{enumerate}
    \item Blablabla bla bla bla.
        \begin{tabular}{l}
            Lorem ipsum dolor sit amet.\\
            Consectetur adipiscing elit.\\
            Donec eu ante non mi sagittis molestie.\\
        \end{tabular}
    \item Next question
\end{enumerate}

LaTeX will vertically center the table, which looks pretty weird. It basically looks like this:

                          Lorem ipsum dolor sit amet.
1. Blablabla bla bla bla. Consectetur adipiscing elit.
                          Donec eu ante non mi sagittis molestie.

How can I manage for the consecutive lignes to line up under the first one (with the same margin)? Something which would look like this:

1. Blablabla bla bla bla. Lorem ipsum dolor sit amet.
                          Consectetur adipiscing elit.
                          Donec eu ante non mi sagittis molestie.

Any ideas?

Thanks!

share|improve this question
up vote 12 down vote accepted

The tabular environment has an optional argument to specify the vertical alignment. The default is centered, the other options are t and b for top and bottom.

\begin{enumerate}
    \item Blablabla bla bla bla.
        \begin{tabular}[t]{l}
            Lorem ipsum dolor sit amet.\\
            Consectetur adipiscing elit.\\
            Donec eu ante non mi sagittis molestie.\\
        \end{tabular}
    \item Next question
\end{enumerate}
share|improve this answer
    
And how about the same but with a \hline at the top of the table? – Albert Jun 14 at 8:23

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.