Latex newenvironment

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-05-19T00:26:34Z Indexed on 2010/05/19 0:30 UTC
Read the original article Hit count: 527

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about latex

Related posts about newenvironment