# Re: [NTG-context] \setuptyping and \type{}

Am 03.12.2010 um 10:32 schrieb Khaled Hosny:

> Is there a way to setup insertion of some stuff before/after \type{},
> tried \setuptyping but only works for \start/stoptyping.
>
> \setuptyping[before=\framed]

You can try to convince Hans to add a command key to \setuptype, untill
then you can use this:

\unexpanded\def\mytype{\groupedcommand{\setgroupedtype\inframed}{\relax}}

\starttext
one \mytype{\two} three
\stoptext

„before“ and „after“ keys are used only for environments to change
the spacing (e.g. before=\blank) at the begin and end of a environment
or to frame it (e.g. before=\startframedtext).

Wolfgang

___________________________________________________________________________________