Taco Hoekwater wrote:
Tobias Burnus wrote:
Hello,
does someone know how, if at all, one can printout some variable? Like Emean:=(2*Eone+Ezero+2*Etwo)/5.; label.urt(btex $A = x$ ....
this should work:
input TEX; label.urt(TEX("$A = "&decimal x&"$)"), ....
in context you can use the more efficient 'textext' mechanism instead of 'TEX' (actually, it was only after writing textext that i noticed the existence of the TEX macro -) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------