[NTG-context] framed and align=no

Taco Hoekwater taco at elvenkind.com
Wed Jun 28 17:45:52 CEST 2006



Hans van der Meer wrote:
> 
> I get the impression that although "align=no",  there still is a \hfil 
> put in at the right.

Yes, but it is an implied fil, from \parfillskip. Because you limited
the width of the \framed, it is processed in vertical mode, so
\parfillskip is added to the end of the paragraph.

This should help:

   \unprotect
   % for core-spa.tex
   \setvalue{\@@ragged@@command\v!disable}%
     {\appendtoks \raggedright \parfillskip\zeropoint
         \to\everyraggedcommand}
   \protect

   \starttext
   \framed[width=4cm,align=disable] {\hfil  xyz}
   \stoptext

Greetings, Taco



More information about the ntg-context mailing list