Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > LaTeX question involving tabular and enumerate

LaTeX question involving tabular and enumerate
Thread Tools
KraziKid
Dedicated MacNNer
Join Date: Dec 2003
Status: Offline
Reply With Quote
Jun 15, 2004, 02:18 AM
 
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.
     
KraziKid  (op)
Dedicated MacNNer
Join Date: Dec 2003
Status: Offline
Reply With Quote
Jun 15, 2004, 11:25 PM
 
Bump.
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.
     
LowLander
Fresh-Faced Recruit
Join Date: Apr 2003
Location: The Netherlands
Status: Offline
Reply With Quote
Jun 16, 2004, 03:06 AM
 
try this:

\begin{tabular}{|c|c|c|}
\hline
1 & 2 &
\parbox[c]{3cm}{
\begin{enumerate}
\item foo
\item bar
\end{enumerate}
} \\
\hline
\end{tabular}
     
KraziKid  (op)
Dedicated MacNNer
Join Date: Dec 2003
Status: Offline
Reply With Quote
Jun 16, 2004, 02:14 PM
 
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 Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 12:13 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,