Skip to main content

Questions tagged [nicematrix]

The package nicematrix is a LaTeX package which provides tools to create tabulars, arrays and matrices (ctan.org/pkg/nicematrix).

7 votes
3 answers
133 views

I like my matrix indices to be center-aligned while numbers within the matrix should be right-aligned for better visual clarity of scale. However, none of my attempts to achieve both have been ...
Werner's user avatar
  • 626k
3 votes
1 answer
63 views

Is there an automatic way to avoid "TikZ code after" overlap the text? I give a real use case, and not a MWE. \documentclass[12pt]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{...
projetmbc's user avatar
  • 15.6k
5 votes
2 answers
147 views

The following M(not)WE fails because of the \Cdots used. Is there a quick fix of this bug? The log file indicates the error below if I uncomment the failing sub matrix command. Package nicematrix ...
projetmbc's user avatar
  • 15.6k
5 votes
1 answer
135 views

I am trying to produce a (n+1)x(n+1) matrix with diagonal elements equal to 1 supradiagonal (one above the diagonal) a sequence from 1 to n everything else 0 in the package NiceMatrix, and with the ...
Knudsen's user avatar
  • 1,971
4 votes
1 answer
102 views

I would like to factorize the code to avoid to manually type the a's, b's and m's. Is it possible? \documentclass{standalone} \usepackage{nicematrix} \usepackage[svgnames]{xcolor} \begin{document} $...
projetmbc's user avatar
  • 15.6k
3 votes
2 answers
80 views

I'm trying to highlight certain rectangular blocks with the nicematrix package. The problem I have is that the left and right sides of the rectangles are not in the correct positions. Here is a MWE: \...
Marc-André Désautels's user avatar
6 votes
2 answers
222 views

TexLive 2025, up to date MWE: \DocumentMetadata{pdfstandard=A-2b, lang=de-DE, pdfversion=1.7} \documentclass{article} \usepackage{nicematrix, array} \begin{document} \begin{NiceTabular}{p{4em}p{...
Keks Dose's user avatar
  • 32.3k
3 votes
2 answers
104 views

I would like to use \tabularnote in a NiceTabular environment, but don't want a marker for the note and would like the note text below the table to align with the left edge of the table (as the marker ...
rmjmu's user avatar
  • 49
1 vote
3 answers
186 views

Claim: I was using nicematrix version 7.3 of nicematrix, at the date of 2025/09/30. Here below is my code with nicematrix: \documentclass{article} \usepackage{fourier} \usepackage{amsmath,amsfonts} \...
Explorer's user avatar
  • 10.4k
2 votes
1 answer
123 views

Is there a programmatic way to create visually appealing illustrations for matrix operations that look sth like this: This example, which I am borrowing from an article, shows an example of what I am ...
alex's user avatar
  • 23
4 votes
1 answer
105 views

What I want is to plot something as below: Now I have the following code: \documentclass{article} \usepackage{nicematrix} \usepackage{tikz} \usetikzlibrary{decorations.pathreplacing} \begin{document} ...
Explorer's user avatar
  • 10.4k
5 votes
2 answers
279 views

I know that one can use the NiceMatrix and drawmatrix packages to draw regions in latex. But, the former does not seem to create "in-line" matrices, and the latter appears to be limited in ...
Kyle's user avatar
  • 55
3 votes
1 answer
133 views

I am building a package, part of which should be able to simply append mathematics to a picture. Unfortunately, it currently only works for simple strings. How could I insert the following math ...
Jasper's user avatar
  • 11.3k
5 votes
2 answers
272 views

Package nicematrix allows typesetting of row and column matrices with indices as shown below: In a recent post @egreg showed us how to cheat horizontally with matrix indices. Using a zero-width ...
Ted Black's user avatar
  • 997
4 votes
4 answers
251 views

I have to replicate a specific matrix, with its red boxing: I am going with pNiceMatrix and SubMatrix but in no way I can make the bottom rule to "box" my block. Is there any way, or am I ...
Moriambar's user avatar
  • 12k

15 30 50 per page
1
2 3 4 5
25