This is a solution for using Square root (SQRT), cube root, nth root, and other roots formula in dynamic and input text field, extended from the article How to use subscript & superscript in dynamic and input text field.
- Download & install GG Root Sans N, GG Root Sans Radical, GG Root Sans Radicand fonts.
- Create a dynamic text field with Arial font embeded. Set the HTML property to true.
- Create a dynamic text field with GG Root Sans N font embeded.
- Create a dynamic text field with GG Root Sans Radical font embeded.
- Create a dynamic text field with GG Root Sans Radicand font embeded.
- Use HTML tag to set text to roots formula like below:
my_txt.html = true; my_txt.htmlText = "GG Root Sans<br>"; my_txt.htmlText += "<font face="GG Root Sans Radical"> </font><font face="GG Root Sans Radicand">2</font>"; my_txt.htmlText += "<font face="GG Root Sans Radical">n</font><font face="GG Root Sans Radicand">x</font>"; my_txt.htmlText += "<font face="GG Root Sans Radical">2</font><font face="GG Root Sans Radicand">3</font>"; my_txt.htmlText += "g = <font face="GG Root Sans N">f(d+e</font><font face="GG Root Sans Radical">)</font><font face="GG Root Sans Radicand">(ax+by)(ax-by)</font>";
Demo:
Download:
Hi
I tried this with Register Trademark ® ®, but it fails if font is not available on machine. I tried embedding the font but no luck.
Can you guide me this. I am using CS3.
Thanks and Regards
Deepak
Comment by Deepak — December 12, 2010 @ 10:05 am
Bad link:
http://blog.ggshow.com/index.php/downloads/2008/09/21/download_free_truetype_fonts
I think, it’s this link:http://blog.ggshow.com/index.php/download_free_truetype_fonts?blog=13
Comment by Aleksey Gulev — May 3, 2012 @ 10:07 pm
Thanks Aleksey 🙂
Comment by G — May 3, 2012 @ 11:54 pm