I am trying to reproduce
but I am not sure where to start. The basic matrix with the extra spaces between columns is
\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\setcounter{MaxMatrixCols}{20}
\begin{document}
\section{}
\[
\begin{pmatrix}
1 & & 0 & & 0 & & 1 & 1 & & 1 & 1 & & 0 & 0 & & 1 & 1 & 1\\
0 & & 1 & & 0 & & 1 & 0 & & 0 & 0 & & 1 & 1 & & 1 & 1 & 0\\
0 & & 0 & & 1 & & 0 & 0 & & 1 & 0 & & 1 & 0 & & 1 & 0 & 0\\
1 & & 1 & & 0 & & 0 & 0 & & 1 & 1 & & 1 & 1 & & 0 & 0 & 0\\
1 & & 0 & & 1 & & 1 & 1 & & 0 & 0 & & 1 & 0 & & 0 & 0 & 0\\
0 & & 1 & & 1 & & 1 & 0 & & 1 & 0 & & 0 & 0 & & 0 & 0 & 0\\
1 & & 1 & & 1 & & 0 & 0 & & 0 & 0 & & 0 & 0 & & 1 & 0 & 0
\end{pmatrix}
\]
\end{document}
How can I add the row and column labels? Should I be using a table instead maybe?
columns
between the groups, perhaps?. Don't use$$...$$
. Use\[....\]
instead