I want to create an environment that wraps the content in a command so that I can write this:
\begin{mybox}
content
\end{mybox}
and get this:
\psshadowbox{content}
When doing it as a custom command it's no problem because everything is defined in the same block, but since custom environments are defined over two blocks I'd have to put the closing brace for the command in another block than the starting brace which obviously doesn't work:
\newenvironment{mybox}
{ \psshadowbox{ }
{ } }
The reason I don't want to use a command for this is mainly readability, because the content can get quite long and a mere closing brace just isn't very expressive.

