[NTG-context] setups on framed

Wolfgang Schuster schuster.wolfgang at googlemail.com
Wed Apr 20 19:45:21 CEST 2011


Am 20.04.2011 um 18:09 schrieb Aditya Mahajan:

> Another approach:
> 
> \unprotected\getparameters[defaultoptions][frame=off,topframe=on,leftframe=on,parent=\??ol]
> 
> \setupframed[framecolor=green]
> 
> \starttext
> \framed[parent=defaultoptions]{test}
> \stoptext


The parent setting is nothing you should care about on the user side.

BTW: here is my alternative:

\presetlocalframed[defaultoptions]
\copylocalframed[myoptions][defaultoptions]

\getparameters[defaultoptions][framecolor=green]
\getparameters[myoptions][frame=off,topframe=on,leftframe=on]

\starttext
\localframed[myoptions]{test}
\stoptext

Wolfgang



More information about the ntg-context mailing list