
Select the Superscript button located in the Font section of Word’s main toolbar represented by the letter ‘x’ and raised number 2. Now, select the character you want to make it appear as a superscript. Let’ say you want to type in the letter y squared. How to Do Superscript in WordĪgain there is nothing much to do. You can undo this by reversing these steps or simply pressing ctrl+z. The selected character would appear in the subscript form. When the drop-down menu appears, select Subscript. Then select “More Font Options” represented by three horizontally-aligned dots on the Word’s main toolbar. Now, select the number 2 in the formula. Let’s say you’d like to depict a formula that signifies water, type “H20”. Type in the text in the MS Word Online to which you would like to add the subscript to. If you'd like to remove the evaluation message from the generated documents, or to get rid of the function limitations, please request a 30-day trial license for yourself. 'Set font size for the text in the paragraphĭim textRange As TextRange = Tr圜ast(item, TextRange)ĭocument.SaveToFile("InsertSuperscriptAndSubscript.docx", FileFormat.Docx2013) 'Apply subscript formatting to the subscript text Paragraph.AppendBreak(BreakType.LineBreak)ĭim subscriptText As TextRange = paragraph.AppendText("2") 'Apply superscript formatting to the superscript text Private Shared Sub Main(ByVal args As String())ĭim document As Document = New Document()ĭim section As Section = document.Sections(0)ĭim paragraph As Paragraph = section.AddParagraph()ĭim superscriptText As TextRange = paragraph.AppendText("2") = 36f ĭocument.SaveToFile("InsertSuperscriptAndSubscript.docx", FileFormat.Docx2013) Set font size for the text in the paragraph Apply subscript formatting to the subscript text TextRange subscriptText = paragraph.AppendText("2")
Paragraph.AppendBreak(BreakType.LineBreak)
Apply superscript formatting to the superscript text TextRange superscriptText = paragraph.AppendText("2") Paragraph paragraph = section.AddParagraph()