I'm trying to embed a couple of listings
\begin{lstlisting}
>>> from sympy import Integral, latex
>>> from sympy.abc import x
>>> latex(x**2)
x^{2}
\end{lstlisting}
\begin{lstlisting}
>>> from sympy.printing.mathml import mathml
>>> from sympy import Integral, latex
>>> from sympy.abc import x
>>> print mathml(x**2)
<apply><power/><ci>x</ci><cn>2</cn></apply>
\end{lstlisting}
\begin{lstlisting}
>>> from sympy import *
>>> x = symbols("x")
>>> fcode(sqrt(1-x**2))
' sqrt(-x**2 + 1)'
\end{lstlisting}
as a figure with images subfloated as shown here.
Is there an easy way (least amount of LaTeX code) for me to do that?


minipage, assuming that they can all fit next to each other – Peter Grill Dec 10 '11 at 02:48