I made a matrix with some elements in, and now I want to ajust space of right and left side to the first(last) element in matrix, but HOW?
\begin{displaymath}
P=
\left[
\begin{matrix}
x & 0 & 0 \\
x & x & 0 \\
x & x & x \\
0 & x & x \\
0 & 0 & x \\
\end{matrix}
tikzpicture
, or things outside thetikzpicture
? Do you want to add or remove space? If you can make a minimal working example, that might be helpful in order to give you a good answer.matrix
normally means the environment of that name fromamsmath
but you have tagged tikz-matrix do you intend to ask about that?\left[..\right]
and usebmatrix
instead ofmatrix
and better positioned brackets will be added.