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

Willi Egger context at boede.nl
Tue Jun 16 16:26:38 CEST 2020


Hi Marco,

thank you! :-)

Willi

> On 16 Jun 2020, at 14:44, Marco Patzer <lists at homerow.info> wrote:
> 
> 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
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________



More information about the ntg-context mailing list