[Tex/LaTex] Table with a numbered list

#enumerateliststables

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.

Best Answer

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}

enter image description here

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}

enter image description here