How to Fill a Word Equation Matrix Using Linear Syntax
Question details
The user needs to know how to create and populate a two-by-two mathematical matrix in a single expression using equation linear syntax.
- Product
- Word Processing Software
- Device & OS
- not provided
- Scenario
- Typing complex mathematical equations and formatting matrices efficiently without manually clicking placeholder boxes.
- Observed behavior
- Looking for the exact linear syntax command to generate a pre-filled matrix instead of inserting empty matrix placeholders.
Ensure you have your document open and your cursor placed exactly where you want to insert the equation. Familiarity with basic keyboard shortcuts for equations will be helpful.
Use the Linear Syntax Matrix Command
You can generate a filled matrix in one step using the \matrix command with specific row and column separators.
Linear equation format allows you to bypass the ribbon menu by typing specific commands that automatically convert into formatted mathematical structures when you press the Spacebar.
Press Alt + = on your keyboard, or go to the Insert tab and click Equation, to open the equation editor box.
Inside the equation box, type \matrix(a&b@c&d).
Press the Spacebar immediately after typing the closing parenthesis. The text will automatically convert into a two-by-two matrix with 'a' and 'b' in the first row, and 'c' and 'd' in the second row.
Easily Edit Mathematical Equations in WPS Writer
WPS Office offers robust tools for creating, editing, and formatting complex equations. You can use standard linear syntax to build matrices instantly without taking your hands off the keyboard.
- 1. Open WPS Writer: Launch WPS Office and open a new or existing document.
- 2. Insert Equation: Navigate to the Insert tab and click on 'Equation', or use the Alt + = shortcut.
- 3. Input Syntax: Type \matrix(a&b@c&d) and hit the Spacebar to instantly generate your matrix.

Frequently Asked Questions
Can I add brackets around the matrix using linear syntax?
Yes, you can enclose the matrix command inside square brackets. Type [\matrix(a&b@c&d)] and press Space. The system will automatically wrap the formatted matrix inside the brackets.
Why didn't my linear syntax convert to a matrix?
Ensure you are typing inside an active Equation box (Insert > Equation). If you type the command directly in the standard text body of the document, the linear math autocorrect will not trigger.
How do I create a 3x3 matrix with linear syntax?
You can expand the row and column separators for larger matrices. For a 3x3 matrix, use the syntax \matrix(a&b&c@d&e&f@g&h&i) and press the spacebar.




