![](https://secure.gravatar.com/avatar/72a25e5a86c2a62398bb1d0dbc12c973.jpg?s=120&d=mm&r=g)
Patrick et al, I got around my last problem by defining a new typing environment, so the idea below is almost working the way I want. I have: \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=on, offset=10pt, background=screen, screen=0.8, foregroundcolor=darkred]{\typebuffer}} {\externalfigure[slide1.pdf]} My graphic slide1.pdf is about the right size, so I didn't have to adjust its width. However, I'd like the graphic to be centered in the remaining room available. Anyway of doing that? I lieu of centering, is there some way I can get a little bit of space between the typebuffer and my graphic? At 10:06 AM 10/31/04 -0800, you wrote:
Patrick,
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, this would be what I want, but in my preamble I have:
\setuptyping [before={\startframedtext[width=\makeupwidth, background=screen, backgroundscreen=0.8]}, after={\stopframedtext}, color=darkred]
Which seems to be getting in the way of your idea functioning properly. _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context