Thank you, Wolfgang.
On Thu, Jun 28, 2018, 16:16 Wolfgang Schuster
Marcus Vinicius Mesquita
28. Juni 2018 um 01:23 Dear List,
In the MWE below, I expected the numbers to appear above the cow figure. What am I missing?
\definefont [Title] [SerifBold at 42pt]
\starttext
\placefigure[][]{Cow} {\externalfigure[cow][width=.5\textwidth]}
\definelayer[myfigure][x=6cm,y=6cm,preset=middle]
\setlayer[myfigure]{\framed[frame=off]{\Title \color[middlecyan]{123456789}}}
\setlayerframed[myfigure][][frame=off,foregroundstyle=Title,foregroundcolor=middlecyan]{123456789}
\setupbackgrounds[page][background={myfigure}]
When you set a layer with the background key it is placed *behind* the content of the page but you can move it before the content with the "foreground” keyword, e.g. \setupbackgrounds[page][background={foreground,myfigure)].
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@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
___________________________________________________________________________________