How to Add Custom LaTeX Shortcuts for Symbols in Word Equations
Question details
The user wants to create custom LaTeX-style shortcuts for specific mathematical symbols (such as the 'not a subset of' symbol) that are not included by default in Word.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Typing complex mathematical equations efficiently without having to manually search for symbols in the ribbon menu.
- Observed behavior
- Microsoft Word lacks default LaTeX-style shortcuts for certain advanced math symbols, requiring users to manually define custom commands via Math AutoCorrect.
Ensure you have the desired symbol (e.g., the 'not a subset of' symbol) already inserted or copied to your clipboard so you can paste it during the configuration process.
Configure a Custom Math AutoCorrect Shortcut
You can define custom LaTeX commands (like \notsubset) for specific symbols using the Math AutoCorrect feature built into Word.
Microsoft Word handles equation shortcuts via Math AutoCorrect. This system allows you to map a text trigger (starting with a backslash, similar to LaTeX) to a specific mathematical character. Note that these triggers behave differently depending on your current equation input mode.
First, insert the specific symbol you want to create a shortcut for into a Word equation block, then highlight it with your cursor.
Navigate to the Equation ribbon. Click the dialog launcher icon located in the lower-right corner of the Conversions group to open Equation Options.
Click on 'Math AutoCorrect'. In the 'Replace' box, type your preferred custom command (e.g., \notsubset). The symbol should already appear in the 'With' box. Click 'Add', then select 'OK'.
To use the new shortcut, type your command inside an equation and press the Space bar. If your equation block is set to LaTeX mode, you must temporarily switch to Unicode mode before pressing Space for the AutoCorrect to trigger.

Write Complex Mathematical Equations Easily with WPS Office
WPS Writer provides a powerful built-in Equation Editor with extensive LaTeX support, making it simple to type complex mathematical formulas without tedious manual configurations.
- 1. Open WPS Writer: Launch WPS Office and open a new or existing document where you want to add an equation.
- 2. Insert an Equation: Navigate to the 'Insert' tab on the top ribbon and click on 'Equation' to open the built-in mathematical editor.
- 3. Type your formula: Use the visual symbols library or enter your standard LaTeX commands to generate complex equations effortlessly.
- 4. Save with high compatibility: Save your document in .docx format to maintain perfect visual layout and equation compatibility with other word processors.

Frequently Asked Questions
Why isn't my custom LaTeX shortcut converting when I press Space?
Your shortcut might not trigger if your equation block is set to LaTeX mode instead of Unicode mode. Switch your equation format to Unicode mode from the ribbon, type the shortcut again, and press Space to execute the AutoCorrect.
Can I use Math AutoCorrect shortcuts outside of equation blocks?
By default, Math AutoCorrect commands only trigger inside equation blocks. If you want to use these shortcuts in regular text, open the Math AutoCorrect options dialog and check the box labeled 'Use Math AutoCorrect rules outside of math regions'.
How do I find the initial symbol to create the shortcut?
If you don't already have the symbol, go to Insert > Symbol > More Symbols. Change the font to 'Cambria Math' and look under the 'Mathematical Operators' subset to find symbols like 'not a subset of', then insert it into your document.
Will my custom Math AutoCorrect shortcuts transfer to other computers?
No, Math AutoCorrect customizations are saved locally to your Microsoft Office user profile on that specific device. You will need to recreate your custom shortcuts if you switch to a different computer.




