Re: [NTG-context] Position of layer in foreground

2018-06-28 Thread Marcus Vinicius Mesquita
Thank you, Wolfgang.

On Thu, Jun 28, 2018, 16:16 Wolfgang Schuster 
wrote:

>
> 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
>
> ___
___
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
___

Re: [NTG-context] Position of layer in foreground

2018-06-28 Thread 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
___

[NTG-context] Position of layer in foreground

2018-06-27 Thread Marcus Vinicius Mesquita
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}}}

\setupbackgrounds[page][background={myfigure}]

\stoptext


Marcus Vinicius


mwe.tex
Description: TeX document


mwe.pdf
Description: Adobe PDF document
___
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
___