NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Easy Java Simulations (2001- ) => Questions related to EJS => Topic started by: lookang on August 10, 2007, 04:31:11 pm



Title: how to make the symbol "alpha" appear as α in the java applet
Post by: lookang on August 10, 2007, 04:31:11 pm
is there any sample in EJS  ;D

i tried simple cut and paste doesn't seems avaliable as a variable.


if it can be done,

the same idea probably can solve many other problems like subscript and superscript .

Thanks


Title: Re: how to make the symbol "alpha" appear as α in the java applet
Post by: Fu-Kwun Hwang on August 10, 2007, 06:13:30 pm
I just type in "α_3^2" and it works. The EJS show it as α32
Check out the attached file.
There is a mathematic equation GUI element which you can input equation in TeX format.


Title: Re: how to make the symbol "alpha" appear as α in the java applet
Post by: lookang on August 13, 2007, 07:48:56 am
nice one.


BTW
change    txt to "£\3^2" without the _

and now it compiles properly.

i will experiment on the mathematical symbol . Thanks