Insert Subscript and Superscript Variables in Word Equations
Question details
The user wants to add subscripts and superscripts to variable names in Word equations when the usual Home ribbon commands are unavailable.

- Product
- Microsoft Word Equation Editor
- Device & OS
- not provided
- Scenario
- Editing a mathematical equation with the Equation Design tools in Word.
- Observed behavior
- The Home ribbon subscript and superscript commands are unavailable while editing the equation.
Click inside an existing equation, or select Insert > Equation to create one. Check that the Equation or Equation Design tab appears on the ribbon.
Use the Equation Script gallery
Use equation-specific templates to add a subscript, superscript, or both to a variable.
Click inside the equation, select the Equation or Equation Design tab, and choose Script in the Structures group.
Select a subscript, superscript, or combined subscript-and-superscript template from the gallery.
Click the base placeholder and type the variable, then click the script placeholder or placeholders and enter the desired characters.

Type scripts with equation shortcuts
Use linear equation input to add simple scripts without opening the gallery.
Add equation scripts in WPS Writer
Use WPS Writer's equation editor and script templates to create variables with subscripts and superscripts in your documents.
- 1. Open your document: Open WPS Writer and use Open to select your document, or create a new document.
- 2. Insert an equation: Place the cursor where you want the equation and select Insert > Equation.
- 3. Choose a script template: In the equation editor, select a subscript or superscript template from the script or template controls. The labels may vary by version.
- 4. Enter the variable and script: Click the template placeholders and type the variable and its subscript or superscript, then click outside the equation to continue editing.

Frequently Asked Questions
Why are the Home tab subscript and superscript buttons unavailable in my equation?
Word equations use equation-specific structures rather than ordinary text formatting. Click inside the equation and use Equation or Equation Design > Script instead.
How do I type a subscript without opening the Script gallery?
Inside a Word equation, type the variable, an underscore, and the subscript, such as x_i, then press Spacebar to convert it.
Can I add both a subscript and a superscript to the same variable?
Yes. Click inside the equation, open Equation or Equation Design > Script, and select a template with both script placeholders. Enter the variable and each script in its placeholder.
How do I create a new equation in Word?
Place the cursor where the equation should appear and select Insert > Equation. Click inside the new equation to access its equation tools.




