[NTG-context] Using \defineoverlay for a framed text

Marco Patzer lists at homerow.info
Tue Jun 16 14:44:45 CEST 2020


On Tue, 16 Jun 2020 14:37:17 +0200
Marco Patzer <lists at homerow.info> wrote:

> On Tue, 16 Jun 2020 14:17:09 +0200
> Willi Egger <context at boede.nl> wrote:
> 
> > 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}}  
> 
> \defineoverlay[Marks][{\useMPgraphic{Markings}}]

Better:

\defineoverlay[Marks][\useMPgraphic{Markings}]

Marco


More information about the ntg-context mailing list