Latex newenvironment
- by Alex
There's something wrong with this code:
\newenvironment{Tbl}
{\begin{tabularx}{\textwidth}{|l|X|} \hline}
{\end{tabularx}}
but this is fine:
\newenvironment{Tbl}
{\begin{tabular}{|l|l|} \hline}
{\end{tabular}}
Why? And how can I get the first to work?