![how to make a superscript on wordpad how to make a superscript on wordpad](https://images.tips.net/S01/Figs/T1803F1.png)
Label2.Text = "First half is " & SplitString(0) & " and the second half is " & SplitString(1) & "." Note the actual plus sign is nowhere to be found in SplitString after Splitting Label1's text at the plus "+" will make two strings in this instance as there is only one plus in the string being split. I managed to do it for the first example (only a date in a text field), but not the second (a date with a lot of text around it). So you should create a new question thread for that. Hi, No, only add er in superscript if the user selects the first day of the month.So the er superscript is only for the date in yellow. i did some coding with "string.split " code, but not succeeded. After that i want to split this string from Thank you very much for your reply and it was successful.īut i have another question, There's a textbox and the user can enter any function in it, if there's a function like this " 2x²+5x³ ", and i will load it in to a string variable. RichTextBox2.AppendText(i.ToString & " superscript = " & RichTextBox1.SelectedText & vbCrLf) If youre using Word Online, select your text and go to More Font Options (three dots), and then select Superscript. Your selected characters appear in superscript format. On a Mac or PC, go to the Home tab and select the Superscript button. RichTextBox2.AppendText(i.ToString & " subscript = " & RichTextBox1.SelectedText & vbCrLf)ĮlseIf ("\super\") Then Select the text you want to appear as superscript. Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Clickįor i = 0 To - 2 You can make your post text or profile name more prominent, unique, and noticeable with cool fancy stylish Facebook fonts. wordpad has more functionality, (click start and type wordpad).
#How to make a superscript on wordpad how to
RichTextBox1.Rtf = My.("C:\Users\John\Desktop\RTBDoc.Rtf") How to change the font If you apply superscript, the selected letter, number or symbol will be raised slightly above the line of text and sized to a smaller size. Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load And super/sub scripted some text in the WordPad document.
#How to make a superscript on wordpad code
Although one word in the below text has both super and sub scripted characters in it (WordPad).Īlso I tried using the RichTextBox.SelectionCharOffset to see if it would get the selected texts selection char offset but it didn't do it and I was unable to find any code where it was used to get rather than set selected text to superscript or subscriptįor the test I used WordPad to create an RTF file for loading into the RichTextBox. So for a word I suppose characters with the word super that don't have a space between For this the RTF for each super or sub scripted character has the word super or sub for that particular character.