Neil Mitchell wrote:
...
> <code>
> <!--
> \begin{code}
> -->
> foo = 1
> \end{code}
> </code>
>
> I can then hide the trailing \end{code} with a margin-bottm: -2em.
>
> Does anyone have any other ideas?
I haven't thought this through, but maybe you could hide the
trailing bit by :
-- <!--
\end{code}
-->
Richard.