How can i improve the representation of this matrix?
The problem is that the \ddots
in the middle are not properly aligned.
It should say that a
and b
gets succesively gets moved one column further to the right.
Maybe there is \ddots
with a smaller slope?
\documentclass[]{article}
\usepackage{subcaption}
\usepackage{tikz}
\usetikzlibrary{shapes.misc}
%opening
\begin{document}
\[
\left(\begin{array}[c]{c|cccccc}
& & c & \ldots & c & c \\ \hline
& 0 & & & & 0 \\
d & a & b & & & \\
\vdots & & \ddots & & \ddots & \\
d & & & & a & b
\end{array}\right)
\]
\end{document}
\ddots
to the next cell and it looks just fine. If you align all the&
it is easier to see where everything goes. You might even want to remove the last\ddots