trichview.com

trichview.support




Re: super-script and sub-script


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/10/2004 22:34:08


There are no special "subscript" and "superscript" options for text

formatting in RichView (planned for future)

These properties can be simulated by VShift property of text style. This is

a vertical offset of text in percents, it is counted relative the baseline

of text. Normal text items have VShift=0.

Use positive values for superscripts, negative values for subscripts.


For making buttons pressed/unpressed, check VShift (positive? negative?) of

the current text style.

When pressing buttons, use ApplyStyleConversion to assign VShift (for

example, 45 for superscripts, -25 for subscripts). Besides, you can reduce

font size (by half)


>

> How to apply the functions super-script a sub-script on text?

> Regards

>

> Jaroslav





Powered by ABC Amber Outlook Express Converter