Replies: 1 comment 6 replies
|
Maybe it is better to use \documentclass{article}
\usepackage{tabularray}
\usepackage{xcolor}
\UseTblrLibrary{functional}
\IgnoreSpacesOn
\prgNewFunction \myStyling {} {
\intStepOneInline {1} {\arabic{rowcount}} {
\cellSetStyle {##1} {##1} {bg=azure8}
}
}
\IgnoreSpacesOff
\begin{document}
\begin{tblr}{process=\myStyling}
Alpha & Beta & Gamma & Delta \\
Epsilon & Zeta & Eta & Theta \\
Iota & Kappa & Lambda & Mu \\
Nu & Xi & Omicron & Pi \\
\end{tblr}
\end{document}See the manual of |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
I am creating an adjacency matrix of a graph and I want to highlight the diagonal line (each node is a neighbour of itself):

https://commons.wikimedia.org/wiki/File:Z2%5E3;_Lattice_of_subgroups_Hasse_diagram_adjacency_matrix.svg
Could we have a convenient selector for the diagonal?
I am creating matrices with up to 100 rows and columns which makes it very verbose when the number of single cells which should be marked with a light red color is 100.
All reactions