# Directory `macros/latex/contrib/nicematrix`

# Readme for the package nicematrix

Author: F. Pantigny (`fpantigny@wanadoo.fr`

).

CTAN page: `https://ctan.org/pkg/nicematrix`

GitHub page: `github.com/fpantigny/nicematrix`

## License

The LaTeX extension `nicematrix`

is distributed under the LPPL 1.3 license.

## Presentation

The LaTeX package `nicematrix`

provides new environments similar to the classical environments `{tabular}`

, `{array}`

and `{matrix}`

but with some additional features. The extension `nicematrix`

creates PGF/Tikz nodes corresponding to the cells of the array and uses them to provide new functionalities.

## Installation

The package `nicematrix`

is present in the distributions MiKTeX, TeXLive and MacTeX.

For a manual installation:

- put the files
`nicematrix.ins`

and`nicematrix-code.dtx`

in the same directory; - run
`latex nicematrix.ins`

in that directory.

The file `nicematrix.sty`

will be generated.

The file `nicematrix.sty`

is the only file necessary to use the extension `nicematrix`

. You have to put it in the same directory as your document or (best) in a `texmf`

tree.

Download the contents of this package in one zip archive (2.9M).

## 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
l3keys2e,
array,
amsmath,
pgfcore,
and the module `shapes` of
PGF.

Package | nicematrix |

Version | 6.28c 2024-08-22 |

Licenses | The LaTeX Project Public License 1.3 |

Copyright | 2018–2024 F. Pantigny |

Maintainer | François Pantigny |

Contained in | TeX Live as nicematrix MiKTeX as nicematrix |

Topics | Experimental LaTeX3 Matrix PGF TikZ Maths |