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

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Fri Feb 26 23:06:13 CET 2021


Jairo A. del Rio schrieb am 26.02.2021 um 22:38:
> 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}}
> 
> where spacing is stretched so all the available space is filled, so I 
> want to know about a better way. Thank you beforehand.

\starttext

\framed{Uno dos tres}

\framed{\stretched[width=10cm]{Uno dos tres}}

\framed[width=10cm,align=normal]{\stretched{Uno dos tres}}

\stoptext

Wolfgang


More information about the ntg-context mailing list