0
我想排队填充单元格中的数组结构中的空单元格。请帮忙!!这是我到目前为止的代码:如何将填充单元格的空单元格排列为数组结构的数组?
\documentclass[tikz,border=2mm]{standalone}
\usetikzlibrary{matrix,backgrounds}
\begin{document}
\begin{tikzpicture}
\matrix (m) [matrix of nodes,
nodes={draw, minimum size=8mm},
nodes in empty cells,
row 1/.style={nodes={draw=none}},]
{
0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 \\
2 & 4 & 4 & 5 & & & & &\\
};
\end{tikzpicture}
\end{document}
它出来是这样的:The boxes did not line up1
我要排队的箱子,我该怎么办在于:
是的,我试过null和'',箱子仍然没有排队。看起来只有当我用一个数字填充每个盒子,或者全部用空或者用所有的字符串填充时才排队 – user3390471