# Directory `macros/latex/contrib/nicematrix`

# Readme for the package nicematrix

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

).

CTAN page: `https://ctan.org/pkg/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 `{array}`

and `{matrix}`

but with some additional features. Among these features are the possibilities to fix the width of the columns, to draw continuous ellipsis dots between the cells of the array and to add exterior rows and columns (so called *border matrices*).

## Installation

The package `nicematrix`

is present in the distributions MiKTeX, TeXLive and MacTeX.

For a manual installation:

- put the files
`nicematrix.ins`

and`nicematrix.dtx`

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

.

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 (1.2M).

## nicematrix – Improve the typesetting of mathematical matrices with PGF

This package provides new environments similar to the environments
`matrix`, `pmatrix`, `bmatrix`, etc.
of amsmath and mathtools.

In these new environments, a PGF node is created for each cell of the matrix.

The user can use these nodes directly but `nicematrix`
also provides commands which use these nodes to draw continuous
dotted lines from two cells of the matrix (the result is more
aesthetic than the classical result obtained using
`\cdots`, `\vdots`, `\ddots`, etc.).

This package also provides a control over the width of the columns and the possibility to add an exterior line and an exterior column.

`nicematrix` requires and loads
amsmath,
array,
expl3,
l3keys2e,
xparse,
pgf,
as well as the TikZ library `fit`.

Package | nicematrix |

Version | 4.1 2020-05-27 |

Licenses | The LaTeX Project Public License 1.3 |

Copyright | 2017–2020 F. Pantigny |

Maintainer | François Pantigny |

Contained in | TeX Live as nicematrix MiKTeX as nicematrix |

Topics | Experimental LaTeX3 Maths Matrix PGF TikZ |