Hi all, I got some progress!
\setupnarrower[left=2cm, right=2cm] % what does middle do, actually? \startnarrower \dontleavehmode\framed[width=local]{testing} Since this works for left offset: \framed[width=local]{testing} \endnarrower So, how do I do a gradient background? Yeah, I know I have to dive into MetaPost and MetaFun some time. Is that where the solution is? Regards Jon > On Aug 21, 2019, at 8:14 PM, Jon Wong <jhannw...@gmail.com> wrote: > > Hi all, > > I want to have a \startnarrower effect. But I also want that segment to have > a border (hopefully a gradient background color too!). > > I tried: > > \startnarrower > \framed{testing} > > Seems framed doesn’t observe startnarrower commands. > \endnarrower > > How do I achieve that? > > Regards > Jon ___________________________________________________________________________________ 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 ___________________________________________________________________________________