3

For information, in nicematrix, you can easily write a command \lightmatrix to compose matrices with the syntax of spalign (thanks to the key light-syntax inspired by spalign) with the ability to use all the features of nicematrix, included exterior rows and columns (inspired by \bordermatrix and kbordermatrix). \documentclass{article} \usepackage{nicematrix}...


3

The parentheses are hard-coded in \bordermatrix. You could define a version with brackets explicitly as shown in \bordermatrix with brackets [ ] instead of parentheses ( ). Alternatively, let us be lazy, copy the definition of \bordermatrix, and let xpatch replace the parentheses by brackets. \documentclass[a4paper,12pt]{article} \usepackage{spalign} \...


1

The control symbols \( and \) respectively enter and exit inline math mode, and you are using them correctly in the argument of your \textit. On the other hand, \left and \right expect delimiters after them: the only situation where you need to "escape" a delimiter with a backslash is with braces, so you'll need \left\{ and \right\}, because the ...


Only top voted, non community-wiki answers of a minimum length are eligible