On 03/21/2018 02:24 PM, Procházka Lukáš Ing. wrote:
Hello,
does \framed recognize before and after keys, as mentioned here:
http://wiki.contextgarden.net/Command/defineframed or: http://wiki.contextgarden.net/Command/setupframedtexts ?
Hi Lukáš, \framed inherits from \setupframed (as explained in tex/texmf-context/tex/context/interface/mkiv/i-context.pdf). \setupframedtext (which I don’t think is exactly the same as \setupframed) inherits from \setupplacement (which contains both keys before and after). That being said, I don’t know why before and after don’t work with framed texts. Pablo
In the following example it seems both keys are ignored:
---- \defineframedtext[AddressBox][before=\red,after=\small]
\starttext \green A \AddressBox{\cldcontext{"Hele"}} B \stoptext ----
Best regards,
Lukas