![](https://secure.gravatar.com/avatar/58128ef2fa853eca7f2503a152c340ae.jpg?s=120&d=mm&r=g)
There is something I do not understand with alignment. My idea was to put a small text in the middle of the line. The minimal example below does center he first but not the second alignment. Is this intentionale or an unforseen interaction between alignment and framed? \starttext \startalignment[middle] middle? yes! \stopalignment \startalignment[middle] \framed{middle? no!} \stopalignment \stoptext yours sincerely, dr. H. van der Meer
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Hans van der Meer wrote:
There is something I do not understand with alignment. My idea was to put a small text in the middle of the line. The minimal example below does center he first but not the second alignment. Is this intentionale or an unforseen interaction between alignment and framed?
It is a somewhat unexpected side-effect of \framed being a \hbox. Try this: \startalignment[middle] \leavevmode\framed{middle? no!} \stopalignment Cheers, taco
participants (2)
-
Hans van der Meer
-
Taco Hoekwater