31 Oct
2004
31 Oct
'04
12:16 p.m.
Hi David, [...]
I'd like to arrange this on my slide side-by-side, the code to the left, the image to the right. If I we're doing this in Latex, I would probably use minipage environments for this.
Can someone hint at the Context Way of doing this? I'd like my code vertically centered on the left, the image on the right.
Is this what you want? \starttext \startbuffer
x=linspace(-2,4); y=x.^2-2*x-3; plot(x,y) xlabel('x') ylabel('y') title('y = x^2 -2x -3') grid on \stopbuffer
\placesidebyside{% \framed[align={lohi,right},frame=off]% {\typebuffer}} {\externalfigure [cow] [width=.5\textwidth]} \stoptext Patrick -- ConTeXt wiki: http://contextgarden.net