Re: exponents



On Sat, Oct 02, 2004 at 12:41:24PM -0600, Maximo Pech wrote:
How can i put a char with an exponent like x^2 in a label?
For example a x with a small 2 in the upper right corner or x raised to square.

    gtk_label_set_markup(label, "x<sup>2</sup>");


Yeti


--
Do not use tab characters. Their effect is not predictable.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]