I want to construct the table from page 8 from this article:
I tried this
\begin{table}[h!]
\centering
$\begin{array}{@{}c|cccc@{}}
\textbf{w^2}-xz & -x & y & 0 & -z & 0 & -z^2+wz \\
\textbf{wx}-yz & \textbf{w} & -x & -y & 0 & z & z^2 \\
\textbf{x^2}-wy & -z & \textbf{w} & 0 & -y & 0 & 0 \\
\textbf{xy}-z^2 & 0 & 0 & \textbf{w} & \textbf{x} & -y & yz \\
\textbf{y^2}-wz & 0 & 0 & -z & -w & \textbf{x} \textbf{w^2} \\ \hline
& 0 & y & -x & textbf{w} & -z & 1 \\
& -y^2+wz & z^2 & -wy & yz & -w^2 & \textbf{x}\\
\end{array}$
\label{tab:table1}
\end{table}\\
but it doesn't work.


\mathbf{w}^2– egreg Mar 28 '18 at 17:42