[NTG-context] Remove left and right offset from nested frames?

Wolfgang Schuster schuster.wolfgang at gmail.com
Wed Sep 3 13:03:44 CEST 2014


Am 03.09.2014 um 01:12 schrieb Mica Semrick <mica at silentumbrella.com>:

> Thanks Wolfgang, that worked well.
> 
> Are there more reasons to use start & stop over start{}?

It’s more a matter of taste. \framed is better when you use to to frame short parts os text and \startframed when you want to put complete sentences into a frame.


A big difference is how leading and trailing spaces are handled, as can be seen in the following example the spaces before and after “text” are removed with \startframed.

\starttext

\framed[foregroundcolor=red]{ text }

\startframed[foregroundcolor=red] text \stopframed

\stoptext

Wolfgang


More information about the ntg-context mailing list