
Estoy intentando reproducir el ejemplo de la Sección 16.3 del nicematrix
manual:
\documentclass[10pt,a4paper]{article}
\usepackage{nicematrix}
\begin{document}
\NiceMatrixOptions{nullify-dots,code-for-first-col = \color{blue},code-for-first-col=\color{blue}}
$\begin{pNiceMatrix}[first-row,first-col]
& & \Ldots[line-style={solid,<->},shorten=0pt]^{n \text{ columns}} \\
& 1 & 1 & 1 & \Ldots & 1 \\
& 1 & 1 & 1 & & 1 \\
\Vdots[line-style={solid,<->}]_{n \text{ rows}} & 1 & 1 & 1 & & 1 \\
& 1 & 1 & 1 & & 1 \\& 1 & 1 & 1 & \Ldots & 1
\end{pNiceMatrix}$
\end{document}
Sin embargo, sigo recibiendo el error "Se excedió la capacidad de TeX".
Lo reduje al siguiente MWE.
\documentclass[10pt,a4paper]{article}
\usepackage{nicematrix}
\begin{document}
$\begin{pNiceMatrix}[first-row,first-col]
& & \Ldots & \\
& 1 & 1 & 1 & \Ldots & 1 \\
& 1 & 1 & 1 & & 1 \\
\Vdots & 1 & 1 & 1 & & 1 \\
& 1 & 1 & 1 & & 1 \\
& 1 & 1 & 1 & \Ldots & 1
\end{pNiceMatrix}$
\end{document}
Todavía produce el mismo error.
PD: estoy compilando a través de TeXstudio en Ubuntu 20.04.1 LTS.
PPS El archivo de registro completo se puede encontrar aquí:https://pastebin.com/W6dVWMc9
Respuesta1
La solución a ese problema es actualizar el paquete nicematrix
.