Using Superscript and Subscript in Fields

Ken Ray kray at sonsothunder.com
Thu Jun 5 00:30:15 EDT 2003


Actually, that won't change the size either... you actually need to set
the font size yourself in your htmlText in addition to using the <sup>
tags.

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com 
> [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of 
> Bill Vlahos
> Sent: Wednesday, June 04, 2003 11:23 PM
> To: use-revolution at lists.runrev.com
> Subject: Re: Using Superscript and Subscript in Fields
> 
> 
> Paul,
> 
> Use the textShift property. See the dictionary for details.
> 
> Bill Vlahos
> 
> On Wednesday, June 4, 2003, at 09:12  PM, Paul Charlesworth wrote:
> 
> > Hello All:
> >
> > I would like to represent the electron configuration of 
> elements using
> > superscript and subscripts and would like to know what the best 
> > approach my be. So far, I have the following approach 
> working, but the 
> > superscripted text is not a smaller font size as it should be:
> >
> > on mouseup
> > set the htmltext of field "ElementNameField" to 
> "1<i>s</i><sup>2</sup>
> > 2<i>s</i><sup>2</sup> 2<i>p</i><sup>6</sup> 3<i>s</i><sup>1</sup>"
> > end mouseup
> >
> > Am I missing a really simple property for formatting text?
> >
> > Thanks,
> >
> > Paul
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com 
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-> revolution
> 





More information about the use-livecode mailing list