I have the following example:
\begin{equation} \[ \left \{ \begin{tabular}{cccc} 1 & 5 & 8 & a \\ 0 & 2 & 4 & a \\ 3 & 3 & -8 & a \end{tabular} \right \} \] \end{equation} It should be a matrix, so I would like to have proper square brackets. I have tried the approach with setting them manually (\Bigg[) but the matrix is going to be larger so it needs to be set automatically. In the code above, I tried to use:
\[ \left \[ but it didn't work. Any idea what's not working in the previous code?
\left[and\right]. The characters{and}are special, so the must be escaped for getting printed braces, but[and]aren't special. However, with the packageamsmathyou can simply type\begin{bmatrix} 1& 5 & 8 & a \\...\end{bmatrix}.