I'm trying to define a shortcut using \newcommand for setting up a table using the tabularx environment. The command seems to work fine when beginning the table:
\newcommand{\bt}{\begin{tabularx}}
But doesn't work when ending the table:
\newcommand{\et}{\end{tabularx}}
The error message that I receive is:
! Missing } inserted.
<inserted text>
}
l.33 \end{tabularx}
{}button. Also, it's generally a good idea to include a minimal working example (MWE), i.e. the smallest complete, compilable document that demonstrates the problem. – Jake Dec 06 '11 at 06:12tabularxenvironment only looks like an environment, but it's actually a command. See How to include tabularx/y in a new environment. – Alan Munn Dec 06 '11 at 06:20