superscript

How do you add a superscript character into a Powerbuilder textbox?

Is there any way to do this in the Powerbuilder properties window for a datawindow's textbox? ...

Ignoring superscript in title tags

I work on a database driven website. Most pages' titles are the names of partners we have, and served from a database using php. For example one page might be called "Experian". The problem is that some of the values for partner names don't work because the values are things like $partnername22 = Discover<sup>tm</sup> Magazine I...

Superscript underline in IE

I'm going to be brief because I'm short on time, so I apologize if this isn't as detailed as I'd like it to be. I have some code: print("<a href='#'>Some text<sup>&reg;</sup> some more text</a>"); In FF, this works like I would like, the link as a whole is underlined. However in IE, the link is underlined except under the where it l...

Superscript registered mark '®' inside select menu

Is is possible to have a superscript registered mark "®" inside a select menu? If so, how is this done? Can you use CSS to achieve this? ...

How to print subscripts/superscripts on a CLI?

Hello there, I'm writing a piece of code which deals with math variables and indices, and I'd need to print subscripts and superscripts on a CLI, is there a (possibly cross-platform) way to do that? I'm working in vanilla C++. Note: I'd like this to be cross-platform, but since from the first answers this doesn't seem to be possible I'm...

Is it possible to display superscript characters in the alert() dialog?

Is it possible to display superscripted characters (not only numbers) in the alert(), confirm() or prompt() dialogue boxes in JavaScript? Due to some reasons I need to insert a text: 2 followed by superscripted 'n' 2^n Into JavaScript alert, confirm and prompt boxes. Fast google searching did help but not exactly I found a way to dis...

Add Registered Trademark symbol in Flex

Hi, How do I add registered trademark symbol in Flex? Thanks in advance for your help. ...

Add superscript in Label - Flex

Hi, How do I use superscript text in Flex? I tried sup tag in htmlText, but it doesn't work Appreciate your help. ...

How to view/edit RTF subscripts in WPF RichTextBox

Hi, I've got the following RTF fragment as data to display in a WPF rich text box. C\dn4\fs14 6\up0\fs18 H\dn4\fs14 12\up4 +2\up0\fs18\par It looks like the \dn4, \up0 and \up4 tags are ignored by the WPF rich text box, which displays this fragment with varying sizes (fs14 and fs18), but with a common baseline for all of the text. Is...

ASP.NET How can i add superscript into a label control?

For example currently, the value is set with lblAmount.Text = Amount & " €" How can i add (dynamically) superscript to the € sign? ...

Qt - How to do superscripts and subscripts in a QLineEdit?

I need to have the ability to use superscripts asnd subscripts in a QLineEdit in Qt 4.6. I know how to do superscripts and subscripts in a QTextEdit as seen below but I can't figure out how to do them in QLineEdit because the class doesn't contain a mergeCurrentCharFormat() function like QTextEdit does. Please help. Thanks void MainWind...

How to convert super- or subscript to normal text in C#

I'm writing a slug generator for making nice urls. I'd like to convert m² to m2, but in a generic way that does this for all superscript (or subscript), not just a simple replace statement. Any ideas? ...

Subscript / superscript in FormattedText class?

Hello, I'm creating Text using the FormattedText class - but how can I subscript oder superscript Text when using this class? I found solution on how to do this when using a TextBlock, but I'm using FormattedText and not the TextBlock ): Thanks for any hint! ...

Superscript text formatting for NSIS

I am developing an NSIS installer for a product that has a superscript in its name. Is it possible to encode superscript text in the installer script? In particular, I'd like to get the Name, BrandingText and Caption to display the superscript. I would be willing to switch to the NSIS Unicode build if that would definitively solve t...

A working solution for subscript/superscript in RichTextBox in Silverlight?

Has anyone successfully implemented a workaround for changing a selection of text in Silverlight RichTextBox to superscript/subscript? In WPF, I would do MyRichTextBox.Selection.ApplyPropertyValue(Inline.BaselineAlignmentProperty, BaselineAlignment.Superscript); This is not directly supported in Silverlight and I found a suggestion ...

Adding a TM superScript to a string.

I need to add the TM(trademark) superscript symbol next to a title in a C# string. is there anyway to possibly do this? Thanks! ...

Subscript and Superscript a String in Java

How can you print a string with a subscript or superscript? Can you do this without an external library? I want this to display in a TextView in Android. ...

HTML styling problem when using <sup> and <sub>

I've noticed that when trying to use superscript or subscript in the following way... <ul> <li><b>Mean Radius</b> 6,371.0 km</li> <li><b>Mean Circumference</b> 40,041.47 km</li> <li><b>Surface Area</b> 510,072,000 km<sup>2</sup></li> <li><b>Volume</b> 1.0832073 &times; 10<sup>12</sup> km<sup>3</sup></li> <li><b>Mass</b>...

How can I fake superscript and subscript with Core Text and an Attributed String?

I'm using an NSMutableAttribtuedString in order to build a string with formatting, which I then pass to Core Text to render into a frame. The problem is, that I need to use superscript and subscript. Unless these characters are available in the font (most fonts don't support it), then setting the property kCTSuperscriptAttributeName does...

How do I write superscript word for checkbox text in java?

I made few checkboxes using swing in Java. I want to write a superscript text for the checkboxes but I'm not sure how. The code currently looks like this. JCheckBox hCheckBox = new JCheckBox("[M + H]+"); I want to have "+" sign inside the JCheckBox parameter superscripted. What's an easy way to do this? Thank you in advance. ...