Please consider the following mwe:
\documentclass[tikz, margin=3mm]{standalone}
\usetikzlibrary{matrix}
\begin{document}
\begin{tikzpicture}
\matrix (m) [matrix of math nodes,
nodes={draw, font=\footnotesize, minimum size=1em,
anchor=center,inner sep=0pt},
column sep=-\pgflinewidth,
row sep=-\pgflinewidth,
every even column/.style={column sep=2pt},
every even row/.style={row sep=2pt},% doesn't insert row separation
inner sep=1pt,
left delimiter={[},right delimiter={]},
]
{
\alpha & \beta & \gamma & \delta \\
\alpha & \beta & \gamma & \delta \\
\alpha & \beta & \gamma & \delta \\
\alpha & \beta & \gamma & \delta \\
};
\end{tikzpicture}
\end{document}
However every even column/.style={column sep=2pt}, yields the expected result, say, introducing additional column separation after each second column, the every even row/.style={row sep=2pt}, doesn't. Did I do something wrong or this is a bug in TikZ v3.1 (I've never tested this before, so I don't know if the same thing happens in v3.0.1)?
edit:
The same thing happens with, for example,
row 2/.style = {row sep=2pt}
thus it might mean that every even row/.style=... and row <row number> work fine only if one wants to change some properties of cells inside row, for example, the color of nodes borders:
every even row/.style={draw red},
but not if one aims to change row separation (see @AndréC's comment below). However it is interesting, that this is possible to do in every column sep ...
Of course, the (temporary) workaround terminates each second row of the matrix with for example [2pt], but this is annoying when the matrix is huge like here.






every even row/.style={blue}it works. Then ... – AndréC Jan 13 '19 at 14:03row sepoption does not work with keys eitherrow <number>,row <column number> column <column number>,every odd row– AndréC Jan 13 '19 at 16:07inner septwice, the first time with0ptand the second time with1pt. – AndréC Jan 13 '19 at 18:09inner sep=0pthas no effect because ofminimum size=1em– AndréC Jan 13 '19 at 19:55inner sep(innodesstyle definition and out of it) and add optiondrawaftermatrix of math nodes. you will see differences. – Zarko Jan 13 '19 at 21:59column <m> row <n>key. It just happens to be the case that settingcolumn sepfor a cell on the first row works. It is still a useful feature though. – Circumscribe Feb 05 '19 at 19:32