[NTG-context] Framed & before/after

Henri Menke henrimenke at gmail.com
Wed Mar 21 21:14:30 CET 2018


On Wed, 2018-03-21 at 14:24 +0100, 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 ?
> 
> In the following example it seems both keys are ignored:

Is this going to do what you need?

\defineframed[AddressBox][extras=\red]

\starttext
   \green A
   \AddressBox{\cldcontext{"Hele"}}
   B
\stoptext

> 
> ----
> \defineframed[AddressBox][before=\red,after=\small]
> 
> \starttext
>    \green A
>    \AddressBox{\cldcontext{"Hele"}}
>    B
> \stoptext
> ----
> 
> Best regards,
> 
> Lukas
> 
> 
> ______________________________________________________________________________
> _____
> If your question is of interest to others as well, please add an entry to the
> Wiki!
> 
> maillist : ntg-context at 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
> ______________________________________________________________________________
> _____


More information about the ntg-context mailing list