[NTG-context] framed and align=no

Hans Hagen pragma at wxs.nl
Thu Jun 29 00:24:15 CEST 2006


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
>   
ah, i missed that mail -) 

let me think a while about that keyword 

(btw, {line,right} is somehow broken) 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list