[NTG-context] Macro expansion inside \type

Aditya Mahajan adityam at umich.edu
Fri Jan 10 07:00:10 CET 2014


On Fri, 10 Jan 2014, Devendra Ghate wrote:

> Hello Everyone,
>
> Consider the following MWE:
>
> \define\author{Devendra Ghate}
> \starttext
> \type{\author}
> \stoptext
>
> As mentioned on the wiki, this doesn't expand `\author` but rather
> prints it as it is. However, I would like `\author` to be expanded
> before it is typeset.

Type is for verbatim material. If you want monospaced fonts, use 
\mono{\author}.

Aditya


More information about the ntg-context mailing list