Skip to content

Instantly share code, notes, and snippets.

@dsedivec
Created November 3, 2010 23:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dsedivec/661914 to your computer and use it in GitHub Desktop.
Save dsedivec/661914 to your computer and use it in GitHub Desktop.
\documentclass{article}
\usepackage{tabularx}
\newenvironment{tableenv}[0]{%
\tabularx{1\linewidth}{|l|X|}%
}{%
\endtabularx%
}
\newenvironment{rowenv}[1]{%
#1 & \begin{itemize}%
}{%
\end{itemize}%
}
\begin{document}
\begin{tableenv}
\begin{rowenv}{foo}
\item bar
\item baz
\end{rowenv}
\end{tableenv}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment