[NTG-context] Bugs in \framed

Hans Hagen j.hagen at xs4all.nl
Fri Sep 6 23:56:30 CEST 2019


On 9/6/2019 10:02 PM, Henning Hraban Ramm wrote:
> In
> ConTeXt  ver: 2019.08.24 22:42 MKIV beta  fmt: 2019.9.6
> LuaTeX, Version 1.10.1
> (i.e. today’s beta)
> 
> * framecorner doesn’t work any more (all the same)

typo .. i'll fix it

> * backgroundoffset is shifted downwards (used to be centered, but is wrong for a while)

hm

> \framed[
>      frame=on, corner=round,
>      frameoffset=0.5em, framecolor=black,
>      background=color, backgroundcolor=darkgreen,
>      backgroundoffset=1em,
>      foreground=color,color=white,
> ]{{\color[white]{\ss\bf I wanted Center Green!}}}
btw, use

     foregroundcolor=white

so

 >      backgroundoffset=1em,
 >      foregroundcolor=white]
 >     {\ss\bf I wanted Center Green!}

will do

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list