Example source
Start with a working expression
\begin{pmatrix}a&b\\c&d\end{pmatrix}Workflow
How to produce the output
- Open the example in Visual mode.
- Click a cell and replace its content.
- Use the Matrices symbol group for another matrix style or size.
- Copy LaTeX for source workflows or choose an export format.
Practical notes
Before you export
An ampersand separates columns and a double backslash separates rows in LaTeX source.
Use pmatrix for parentheses, bmatrix for square brackets, and vmatrix for determinant bars.
Google Preferred Sources
Enjoy STEM Hub? Follow us on Google
Add stemhub.tools as a Preferred Source so our calculators, guides and articles show up first in Google Search, Top Stories, AI Overviews and Discover.
Add as a preferred source on Google