Peter Münster wrote: > Hello, > such things are really easy and straightforward with LaTeX (parbox and > minipage), but with ConTeXt I have still a lot of difficulties. This is > what I do to align some typing in the middle: > > \starttext > \input tufte > > \setuptyping[before=\vskip-\lineheight,after=\vskip-0.13\lineheight] > \startalignment[middle] > \dontleavehmode > \framed[align=lohi,frame=off]{% > \starttyping > bla bla bla > bla bla bla bla bla bla bla bla bla > \stoptyping > } > \stopalignment > \input tufte > \stoptext > > The result is correct, but can't this be done much easier?
I've been staring at this for a while now. I would have expected this to work: \setuptyping [before={\startframedtext [width=fit,align=lohi,frame=off,location=middle]}, after={\stopframedtext}] \starttyping bla bla bla bla bla bla bla bla bla bla bla bla \stoptyping but it doesn't. Cheers, Taco _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context