Giuseppe Bilotta wrote:
Hello, I would like to achieve this kind of typographical effect: two text blocks, one of them aligned to the left margin, the other with left-aligned text but with the right margin at the right margin of the page.
I can obtain each of them with for example the following:
\defineframedtext[lepi][align=raggedright,width=fit,offset=0pt,frame=off,location=left] \defineframedtext[repi][align=raggedright,width=fit,offset=0pt,frame=off,location=right]
Now, I want them to be "at the same height". However, using things like placesidebyside or even just \startlepi ... \stoplepi \startrepi ... \stoprepi doesn't work.
Any suggestions?
depends a bit on the usage; the following shows you a few tricks \defineframedtext [gb] [align=raggedright, width=.5\textwidth, offset=0pt, frame=off, before=, after=] \startbuffer[left] \startgb[none] \input tufte \stopgb \stopbuffer \startbuffer[right] \startgb[none] \input zapf \stopgb \stopbuffer \starttext \input tufte \definepairedbox[gb][location={right,top}] \startbaselinecorrection \placepairedbox[gb] {\getbuffer[left]} {\getbuffer[right]} \stopbaselinecorrection \input zapf \stoptext