The package nicematrix is a LaTeX package which provides tools to create tabulars, arrays and matrices (ctan.org/pkg/nicematrix).
This package provides environments {NiceTabular}
, {NiceArray}
, {NiceMatrix}
, {pNiceMatrix}
, etc. similar to the well-known environments of the packages array
and amsmath
but with more functionalities. This package uses PGF to create PGF/Tikz nodes under the cells of the arrays and uses these nodes for the new functionalities (see the package on CTAN).