Skip to main content

New answers tagged

1 vote
Accepted

Change background color of individual array cells in math mode

I think you're looking for \cellcolor, a macro provided by the colortbl package. \documentclass{article} \usepackage{iftex} \ifpdftex \usepackage[T1]{fontenc} \fi \usepackage{xcolor} % various pre-...
Mico's user avatar
  • 519k
2 votes
Accepted

Right Bracket using `nicematrix` package

Based on F. Pantigny's answer, but putting the labels with the brackets instead of as cells of the matrix works better when you have an even number of rows: \documentclass{article} \usepackage{...
racketj's user avatar
  • 36
3 votes

Right Bracket using `nicematrix` package

You should use the command \SubMatrix in the \CodeAfter. \documentclass{article} \usepackage{nicematrix} \usepackage{xcolor} \usepackage{bm} \begin{document} $\begin{NiceArray}{ccccc} \...
F. Pantigny's user avatar
  • 43.8k
3 votes
Accepted

How to tag and label parts of an array that is nested in a tagged and labeled equation

You might want to use a different counter name. Note the use of \normallabel instead of \label to avoid the amsmath redefinition. \documentclass{article} \usepackage{amsmath} \newcounter{foo}[...
John Kormylo's user avatar
  • 82.2k

Top 50 recent answers are included