[NTG-context] writing a label with a subscript in MetaFun.

Aditya Mahajan adityam at umich.edu
Wed Apr 20 05:39:24 CEST 2011


On Wed, 20 Apr 2011, Jeong Dalyoung wrote:

> Dear all,
>
> I'd like to write a label with a subscript in MetaFun where the subscript is a variable.
>
> I tried in several way but not succeed. The best which I made is
>
> for i= 0 upto 8:
> label( "z" & decimal i, z[i]);
> endfor;

Untested:

label(textext("$z_{" & decimal i & "}$"), z[i]) ;

Aditya


More information about the ntg-context mailing list