I have drawn a table using tikz, according to your advice. But now i need to increase the size of the columns and rows. But after increasing the size, the lines are not exactly cutting the table elements as they have gone down.
Please do help, i am enclosing the code,
Code: Select all
\begin{center}\small\begin{tikzpicture}\matrix (magic) [%matrix of nodes,text width=6.5mm,text height=3mm,text badly centered]{%0 & 6 & 11\\0 & 3 & 4\\0 & 0 & 0\\};% striking out lines\draw[thin,black] (magic-1-1.north) -- (magic-3-1.south);\draw[thin,black] (magic-3-1.west) -- (magic-3-3.east);% horizontal lines of the table\foreach \i in {1,2,3}\draw[thin,black] (magic-\i-1.north west) -- (magic-\i-3.north east);\draw[thin,black] (magic-3-1.south west) -- (magic-3-3.south east);% vertical lines of the table\foreach \j in {1,2,3}\draw[thin,black] (magic-1-\j.north west) -- (magic-3-\j.south west);\draw[thin,black] (magic-1-3.north east) -- (magic-3-3.south east);\end{tikzpicture}\end{center}
Thanks in advance,
Regards,
Muthu.