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

Marco

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to