Am 04.04.2016 um 18:16 schrieb Julien RIVAUD (_FrnchFrgg_):
> \NewDocumentEnvironment{foo}{m}{%
> \begin{tabular}{#1}%
> }{%
> \end{tabular}%
> }
>
> \begin{document}
>
> \fbox{
> \begin{foo}{ccc}
> \hline
> Test & a & b \\
> \hline
> \end{foo}
> }
>
> \fbox{
> \begin{tabular}{ccc}
> \hline
> Test & a & b \\
> \hline
> \end{tabular}
> }
>
> \end{document}
>
> The first and second \fbox-es should produce the same output, but don't:
> the foo environment starts a second line at closing time, before the
> control is passed to the author-supplied closing code.
actually that's not equiv, equiv would be something like defining "baz"