nicematrix – Improve the typesetting of mathematical matrices with PGF
This package is based on the package array. It creates PGF/TikZ nodes under the cells of the array and uses these nodes to provide functionalities to construct tabulars, arrays and matrices.
Among the features :
- continuous dotted lines for the mathematical matrices;
- exterior rows and columns (so-called border matrices);
- control of the width of the columns;
- tools to color rows and columns with a good PDF result;
- blocks of cells;
- tabular notes;
- etc.
The package requires and loads array, amsmath, pgfcore, and the module shapes of PGF.
| Sources | /macros/latex/contrib/nicematrix |
| Documentation | |
| Repository | https://github.com/fpantigny/nicematrix |
| Version | 7.4 2025-10-23 |
| Licenses | The LaTeX Project Public License 1.3 |
| Copyright | 2018–2025 F. Pantigny |
| Maintainer | François Pantigny |
| Contained in | TeX Live as nicematrix MiKTeX as nicematrix |
| Topics | Maths Matrix Experimental LaTeX3 PGF TikZ |
Download the contents of this package in one zip archive (2.7M).
Announcements
- 2025-10-24 CTAN update: nicematrix
- 2025-10-01 CTAN update: nicematrix
- 2025-02-02 CTAN update: nicematrix
Suggestions
Maybe you are interested in the following packages as well.
Community Comments