You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This style is installed at the beginning of each cell picture with the two
parameters being the current \meta{row} and \meta{column} of the cell. Note
that setting this style to |draw| will \emph{not} cause all nodes to be
drawn since the |draw| option has to be passed to each node individually.
Inside this style (and inside all cells), the current \meta{row} and
\meta{column} number are also accessible via the counters
|\pgfmatrixcurrentrow| and |\pgfmatrixcurrentcolumn|.
\end{stylekey}
Minimal working example (MWE)
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{matrix}
\begin{document}
% current% \tikzset{every cell/.style={}}\tikz[cells={execute at begin cell={\texttt{<rol-col #1>}}}]
\matrix[matrix of nodes] { a & b \\ };
% proposed\tikzset{every cell/.style 2 args={}}
\tikz[cells={execute at begin cell={\texttt{<row #1 col #2>}}}]
\matrix[matrix of nodes] { a & b \\ };
\end{document}
The text was updated successfully, but these errors were encountered:
Actually, it's not breaking at all, because right now the behavior is already broken since it contradicts the documentation. I think we can actually go ahead and fix it (like I did e.g. in 3.1.5 when I repaired intersection numbering).
Brief outline of the bug
Current implementation and usage
pgf/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
Line 1568 in 6e5fd71
pgf/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
Lines 3939 to 3941 in 6e5fd71
Corresponding docs
pgf/doc/generic/pgf/pgfmanual-en-tikz-matrices.tex
Lines 376 to 385 in 6e5fd71
Minimal working example (MWE)
The text was updated successfully, but these errors were encountered: