Hi,

Is it possible to set 'presets' for the framed settings of \setlayerframed?

For example:

\definelayer[text]
\definelayer[annotate]
\setupbackgrounds[text][background={text,foreground,annotate}]

\starttext

Testing layers:

\setlayerframed[annotate][x=1cm,y=1cm][frame=off, align=middle]
    {\input ward \par}

\setlayerframed[annotate][x=1cm,y=4cm][frame=off, align=middle]
    {\input tufte \par}

\stoptext

I don't want to repeat the `frame=off, align=middle` setting everytime (in may actual usecase, these are much more complicated settings). How can I do that?

Thanks,
Aditya

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to