1

Good Afternnon,

I need to left-align the a_{i}{j}s of this NiceMatrix:

\[A = \pAutoNiceMatrix{10-10}{a_{\arabic{iRow},\arabic{jCol}}} \]

How Can I do? (If serves, I use stix-package).

Best Regards

0
1

I have written a new version of nicematrix (v. 5.17 of 2021-07-01) which allows the keys l, r and c for the command \pAutoNiceMatrix and the similar ones.

\documentclass{article}
\usepackage{nicematrix}

\begin{document}

\[A = \pAutoNiceMatrix[r]{10-10}{a_{\arabic{iRow},\arabic{jCol}}}\]

\end{document}

Output of the above code

0

Here is a solution.

\documentclass{article}
\usepackage{nicematrix}

\begin{document}

\[A = \pAutoNiceMatrix{10-10}{\Block[r]{}{a_{\arabic{iRow},\arabic{jCol}}}}\]

\end{document}

As usual with nicematrix, you need several compilations.

Output of the above code

10
  • Perfect Thank you. Best Regards
    – Puck
    Jun 28 at 15:16
  • Sorry, This Code doesn't actually function
    – Puck
    Jun 28 at 15:20
  • I use Overleaf. Is this the problem?
    – Puck
    Jun 28 at 15:28
  • Overleaf has not the latest version of nicematrix. You should upload the latest version of the file nicematrix.sty in the repertory of your Overleaf project. You can find that file on the SVN server of TeXLive: www.tug.org/svn/texlive/trunk/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty Jun 28 at 15:30
  • But if I do \pAutoNiceArray[t]{l}{...} why doesn't it function?? And how could do it functioned?? Thx
    – Puck
    Jun 28 at 15:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.