# Table with a numbered list

What is the best way to make a table/list that looks like this:

1. Item 1
subitem      type    date
subitem      type    date

2. Item 2
subitem      type    date
subitem      type    date
...


The subitems, types and dates should be aligned. I'm using the article document class with no special fonts.

-
Can you provide more details? Not sure I understand about the subitems. –  Peter Grill Mar 14 '12 at 18:32
In case you are looking for it, I have deleted my earlier answer as it contained an extra level of list nesting that is not needed since you are not numbering the sub items, in which case @GonzaloMedina's solution is cleaner. –  Peter Grill Mar 14 '12 at 23:13
I noticed that you have received answers to your questions but you haven't accepted any of them; please consider doing so. –  Gonzalo Medina Mar 14 '12 at 23:43

You can simply use the standard enumerate and tabular environments:

\documentclass{article}

\begin{document}

\begin{enumerate}
\item Item 1 \par
\begin{tabular}{p{0.25\linewidth}p{0.25\linewidth}p{0.25\linewidth}}
subitem & type & date \\
subitem & type & date \\
\end{tabular}
\item Item 2 \par
\begin{tabular}{p{0.25\linewidth}p{0.25\linewidth}p{0.25\linewidth}}
subitem & type & date \\
subitem & type & date \\
\end{tabular}
\item Item 3 \par
\begin{tabular}{p{0.25\linewidth}p{0.25\linewidth}p{0.25\linewidth}}
subitem & type & date \\
subitem & type & date \\
\end{tabular}
\end{enumerate}

\end{document}


Another option, if you want automatic calculation for the column width, would be to use the tabularx package:

\documentclass{article}
\usepackage{tabularx}

\begin{document}

\begin{enumerate}
\item Item 1 \par
\begin{tabularx}{\linewidth}{XXX}
subitem & type & date \\
subitem & type & date \\
\end{tabularx}
\item Item 2 \par
\begin{tabularx}{\linewidth}{XXX}
subitem & type & date \\
subitem & type & date \\
\end{tabularx}
\item Item 3 \par
\begin{tabularx}{\linewidth}{XXX}
subitem & type & date \\
subitem & type & date \\
\end{tabularx}
\end{enumerate}

\end{document}


-
Great! Thanks for all your help. –  richtera Mar 15 '12 at 1:52
Of course, it would be better to put \newenvironment{mysubitem}{\begin{tabularx}{XXX}}{\end{tabularx}} in your preamble and use \begin{mysubitem} instead of \begin{tabularx}{XXX} and \end{mysubitem} instead of \end{tabularx}. Becuase if you will have later wanted to change the spacing or whatever, you only modify your definition of mysubitem instead of changing all occurences or tabularx. –  yo' Mar 15 '12 at 22:09