# [NTG-context] \hbox to ... equivalent in ConTeXt (\framed)

Fri Feb 26 23:01:12 CET 2021

On Fri, 26 Feb 2021, Jairo A. del Rio wrote:

> Hi list.
>
> Is there an interface for \hbox to <size> via framed? I think it's not the
> ConTeXt spirit to do something like
>
> \framed[offset=0cm]{\hbox to 10cm{Uno dos tres}}

\framed[width=10cm]{....}

and

\framed[height=3cm, width=10cm]{...}

if you want a box with a specified width and height.

> where spacing is stretched so all the available space is filled, so I want
> to know about a better way. Thank you beforehand.