Re: [NTG-context] \hbox to ... equivalent in ConTeXt (\framed)
Wow, both \maxaligned and "paragraph" are new (and useful) to me. Thank you again. Jairo El vie, 26 de feb. de 2021 a la(s) 17:24, Wolfgang Schuster ( wolfgang.schuster.li...@gmail.com) escribió: > Jairo A. del Rio schrieb am 26.02.2021 um 23:09: > > Nice, but it also adds spacing between characters inside a word. So, > > what I was asking is if I can stretch only spaces between words via > > key-value pairs in \framed, if possible, of course. Thank you very much. > > \starttext > > \framed[width=10cm,align=normal]{\maxaligned{Uno dos tres}} > > \framed[width=10cm,align=paragraph]{Uno dos tres} > > \stoptext > > Wolfgang > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \hbox to ... equivalent in ConTeXt (\framed)
Jairo A. del Rio schrieb am 26.02.2021 um 23:09: Nice, but it also adds spacing between characters inside a word. So, what I was asking is if I can stretch only spaces between words via key-value pairs in \framed, if possible, of course. Thank you very much. \starttext \framed[width=10cm,align=normal]{\maxaligned{Uno dos tres}} \framed[width=10cm,align=paragraph]{Uno dos tres} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \hbox to ... equivalent in ConTeXt (\framed)
Nice, but it also adds spacing between characters inside a word. So, what I was asking is if I can stretch only spaces between words via key-value pairs in \framed, if possible, of course. Thank you very much. Jairo :) El vie, 26 de feb. de 2021 a la(s) 17:06, Wolfgang Schuster ( wolfgang.schuster.li...@gmail.com) escribió: > Jairo A. del Rio schrieb am 26.02.2021 um 22:38: > > Hi list. > > > > Is there an interface for \hbox to 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 > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \hbox to ... equivalent in ConTeXt (\framed)
Jairo A. del Rio schrieb am 26.02.2021 um 22:38: Hi list. Is there an interface for \hbox to 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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \hbox to ... equivalent in ConTeXt (\framed)
On Fri, 26 Feb 2021, Jairo A. del Rio wrote: > Hi list. > > Is there an interface for \hbox to 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. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \hbox to ... equivalent in ConTeXt (\framed)
Hi list. Is there an interface for \hbox to 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. Cordially, Jairo ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___