On Jun 28, 2006, at 17:45, Taco Hoekwater wrote: > > 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
Thanks. I installed it and it works. Witness the examples below. Will this be installed in next ConTeXt versions? I would be grateful. One question of naming: I think "none" is a better descriptive name then "disable" \leftaligned{\framed[width=4cm,align=no]{xyz} "no" comes out to the left} \leftaligned{\framed[width=4cm,align=no]{\hfil xyz} "no+hfil" comes out in the middle} \leftaligned{\framed[width=4cm,align=no]{\hfil xyz\hfil} "no+hfil +hfil" comes out left of the middle} \leftaligned{\framed[width=4cm,align=none]{xyz} "none" comes out to the left} \leftaligned{\framed[width=4cm,align=none]{\hfil xyz} "none+hfil" comes out to the right} \leftaligned{\framed[width=4cm,align=none]{\hfil xyz\hfil} "none+hfil +hfil" comes out in the middle} Hans van der Meer _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context