|
|
LaTeX question involving tabular and enumerate
|
|
|
|
Dedicated MacNNer
Join Date: Dec 2003
Status:
Offline
|
|
I was wondering, is it possible to include an enumerate within a tabular? For instance, say in one cell of the tabular environment, I want something listed. Is it possible in LaTeX? I tried to do it this way:
\begin{tabular}{|c|c|c|}
\hline
1 & 2 & \begin{enumerate}
\item foo
\item bar
\end{enumerate}\\
\end{tabular}
and:
\begin{tabular}{|c|c|c|}
\hline
1 & 2 & {\begin{enumerate}
\item foo
\item bar
\end{enumerate}}\\
\end{tabular}
and:
\begin{tabular}{|c|c|c|}
\hline
1 & 2 & {\begin{enumerate} \item foo \item bar \end{enumerate}}\\
\end{tabular}
and none of them worked. Can anyone help me out?
|
15 inch MacBook Pro 2.16 GHz, 2 GB RAM, 7200 RPM 100GB HDD.
Dual 2.5 GHz Power Mac G5, 1 GB RAM, 250 GB HDD, ATI Radeon X800XT.
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Dec 2003
Status:
Offline
|
|
|
15 inch MacBook Pro 2.16 GHz, 2 GB RAM, 7200 RPM 100GB HDD.
Dual 2.5 GHz Power Mac G5, 1 GB RAM, 250 GB HDD, ATI Radeon X800XT.
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Apr 2003
Location: The Netherlands
Status:
Offline
|
|
try this:
\begin{tabular}{|c|c|c|}
\hline
1 & 2 &
\parbox[c]{3cm}{
\begin{enumerate}
\item foo
\item bar
\end{enumerate}
} \\
\hline
\end{tabular}
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Dec 2003
Status:
Offline
|
|
Originally posted by LowLander:
try this:
\begin{tabular}{|c|c|c|}
\hline
1 & 2 &
\parbox[c]{3cm}{
\begin{enumerate}
\item foo
\item bar
\end{enumerate}
} \\
\hline
\end{tabular}
Thanks. Is there anyway to make a parbox with a dynamic width?
|
15 inch MacBook Pro 2.16 GHz, 2 GB RAM, 7200 RPM 100GB HDD.
Dual 2.5 GHz Power Mac G5, 1 GB RAM, 250 GB HDD, ATI Radeon X800XT.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|