7 Jun
2013
7 Jun
'13
8:21 p.m.
> On 2013-06-07 Marco wrote: >> On 2013–06–07 honyk wrote: >> >> > thanks for this. I removed that framed=off option and it turned out >> to be sligthly different from what I'd like to achieve. >> > >> > My goal is to have two blocks with a vertical gap between them and to >> have these blocks framed (or with the colored background) at the text >> area - without the cell spans - to show differences between the >> standard and 'hanging' alignments (that right border should cross the >> punctuation in the hanging mode). >> > >> > Below each 'column' I'd like to place a short description (centered) >> - exactly as on the referenced examples. >> >> Use a combination for that: >> >> \setuptolerance >> [verytolerant] >> >> \setupframed >> [offset=none, >> width=8cm, >> frame=off, >> background=screen] >> >> \definefontfeature >> [default] >> [default] >> [protrusion=pure] >> >> \starttext >> >> \startcombination >> \startcontent >> \startframed [align=normal] >> \input knuth >> \stopframed >> \stopcontent >> \startcaption >> Some description >> \stopcaption >> \startcontent >> \startframed [align={normal,hanging}] >> \input knuth >> \stopframed >> \stopcontent >> \startcaption >> Some description >> \stopcaption >> \stopcombination >> >> \stoptext Thanks, it helped a lot! I've added this to control the gap (width) between text blocks: \startcombination[distance=2cm] And placed following commands inline to suppress the first whitespace character. I like your indentation, but on my Windows (CR+LF) it is suboptimal. Or is there any option for this? \startframed [align=normal]\input knuth Thanks, Jan