Using Superscript and Subscript in Fields
Bill Vlahos
bvlahos at mac.com
Wed Jun 4 19:31:02 EDT 2003
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
More information about the use-livecode
mailing list