I have this code
\tikzstyle{matrici}=[
matrix of math nodes, nodes in empty cells,
nodes={draw=gray, align=center, inner sep=0pt, text width=1cm, minimum
height=1cm}]
\begin{tikzpicture}
\matrix[matrici,
] (X) {&&\\};
\matrix[ matrici, at=(X), yshift=-1.5cm,
] (Y) {&&\\};
\matrix[ matrici, at=(Y), yshift=-1.5cm,
] (A) {&&\\};
\matrix[ matrici, at=(A), yshift=-1.5cm, xshift=-1cm,
] (B) {&&\\};
\matrix[ matrici, at=(B), yshift=-1.5cm, xshift=-1cm,
] (C) {&&\\};
\matrix[ matrici, at=(C), yshift=-1.5cm, xshift=+0.5cm
] (D) {&&&&&\\};
\node[at=(X-1-3), xshift=1cm ] {$ \times $};
\node[at=(Y-1-3), xshift=1cm ] {$ = $};
\end{tikzpicture}
and this output
but how can I achieve this output? sure I can draw a lot of straight line taking all the measures but this would be so stupid. Ho can I dashed the first matrix node in the last matrix?





nodes in empty cellsoption – CarLaTeX Dec 27 '17 at 15:10youngtabpackage. – Dec 27 '17 at 15:58