# [NTG-context] Reviewing old messages

Wolfgang Schuster schuster.wolfgang at gmail.com
Mon May 16 16:03:03 CEST 2016

> Meer, Hans van der <mailto:H.vanderMeer at uva.nl>
> 16. Mai 2016 um 15:50
> Sifting through my TeX-mailbox, I came along this post of Wolfgang
> Schuster and decided to try all variations given to the align
> parameter on \framed.
> Curious in which cases the \hbox and in which the \vbox is chosen, not
> unimportant of course.
> I did this by typesetting \hbox{abc}\hbox{xyz} inside a framed. For
> \hbox want expects abcxyz as output and for \vbox abc and below it
> xyz. As can be seen in the first two examples.
> To my surprise none of the \framed[align=..] options exhibits \vbox
> character!
>
> Thus my question: has the behaviour of \framed[align=..] changed in
> the mean time? Three years is of course an eternity when seen in the
> perspective of the speed with which ConTeXt is evolving 😃. Or is
> there another reason why the \vbox effect is not shown in any of the
> examples?
\framed adds a \strut at the begin and end of the content.

\starttext

\vbox{\hbox{First}\hbox{Second}}

\vbox{\strut\hbox{First}\hbox{Second}}

\framed[align=flushleft]{\hbox{First}\hbox{Second}}

\framed[align=flushleft,strut=no,autostrut=no]{\hbox{First}\hbox{Second}}

\stoptext

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160516/311844a4/attachment.html>