[NTG-context] Metapost graphic in setupbackground

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Fri Feb 8 12:57:14 CET 2019



Jan U. Hasecke schrieb am 08.02.19 um 12:36:
> Hi all,
> 
> I make my first steps with Metapost.
> 
> I would like to set the background of all pages to a Metapost graphic.
> 
> But only the first page has the defined background.
> 
> I also tried with
> 
> \startuseMPgraphic
> 
> with no success
> 
> --- mwe ---
> 
> \startreusableMPgraphic{kreis}
> draw fullcircle scaled 70mm withcolor red withpen pencircle scaled 6mm;
> \stopreusableMPgraphic
> 
> \definelayer[kreisbackground][width=70mm,height=70mm]

\definelayer[kreisbackground][state=repeat]

Wolfgang



More information about the ntg-context mailing list