[plt-scheme] SLaTeX figures

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed May 11 17:00:41 EDT 2005

At Wed, 11 May 2005 16:27:12 -0400, David Van Horn wrote:
> Which does not work.  Neither does this:
> 
>     \begin{figure}
>     \begin{schemeregion}
>     \framebox{
>       \begin{schemedisplay}
>       ...
>       \end{schemedisplay}
>     }
>     \end{schemeregion}
>     \end{figure}
> 
> I've tried other variations, but I can't seem to make this work.  Does someone 
> have any insights into how I can typeset the above?

I always put

 \defslatexenvstyle{tex}
 \schemeregion
 \defslatexenvstyle{latex}

at the top and

 \defslatexenvstyle{tex}
 \endschemeregion
 \defslatexenvstyle{latex}

at the bottom of every file. That solves all sorts of problems for me.
Maybe it will work for this one.

Matthew



Posted on the users mailing list.