From: Robby Findler (robby at cs.uchicago.edu) Date: Sun Jun 5 18:30:42 EDT 2005 |
|
At Sun, 5 Jun 2005 18:22:26 -0400, Doug Orleans wrote: > How does one put \scheme{} inside a \caption{} using SLaTeX? Sometimes, you have to stick things in boxes to make slatex happy. Try this: \begin{schemeregion} \newsavebox{\mybox} \sbox{\mybox}{ \begin{schemebox} (lambda (x) (x x)) \end{schemebox}} \begin{figure} A figure. \caption{\usebox{\mybox}} \end{figure} \end{schemeregion} Robby
Posted on the users mailing list. |
|