[NTG-context] Using \defineoverlay for a framed text
Willi Egger
context at boede.nl
Tue Jun 16 14:17:09 CEST 2020
Hello listmembers,
I try to use a Metapost drawing as a background to a framed text. — I can not make it working though…
\startuniqueMPgraphic{Markings} %{Markings:\overlaywidth:\overlayheight}
fill OverlayBox enlarged 5mm withcolor blue;
\stopuniqueMPgraphic
\defineoverlay[Marks]{\useMPgraphic{Markings}}
\setupframed[background=Marks]
\setupframedtexts
[frame=on,
background=Marks]
\starttext
\framedtext{Hello World!}
\blank
\framed{Hello World!}
\stoptext
What is wrong with this code?
Kind regards
Willi
More information about the ntg-context
mailing list