# Matrices

> Matrices typeset as TikZ matrices of math nodes, so rows, columns, and blocks can be highlighted. 2 examples with complete LaTeX source to copy.

A package in the TeXeR TikZ library: https://texer.org/library/matrices

Category: Mathematics. On CTAN: https://ctan.org/pkg/pgf

Tags: matrices, linear algebra, highlighting

## Examples

- [Matrix with highlighted blocks](https://texer.org/library/matrices/block-matrix.md): A 4×4 matrix split into four 2×2 blocks, each shaded and named.
- [Matrix multiplication](https://texer.org/library/matrices/matrix-multiplication.md): A row of A and a column of B highlighted with the entry of the product they make.
