I have written this code in order to obtain a simple I x J matrix.
\begin{table}[H]
\caption{Invidual/Attributes Matrix}
\begin{center}
\scalebox{1.2}{
\begin{tabular}{crc|c|c|c|c|}
\cline{4-7}
\multirow{5}{22.5mm}{\texttt{Individuals}}\ldelim\{{5}{.8mm}
&& &$a_{11}$& $a_{12}$ &\dots &$a_{1J}$ \\ \cline{4-7}
&& &$a_{21}$& $a_{22}$ &\dots &$a_{2J}$ \\ \cline{4-7}
&& &$a_{31}$&$a_{31}$ &\dots & $a_{3J}$ \\ \cline{4-7}
&& &\vdots & \vdots &\ldots &\vdots \\ \cline{4-7}
&& &$a_{I1}$&$a_{I1}$ &\dots &$a_{IJ}$ \\ \cline{4-7}
& & \multicolumn{1}{c}{} & \multicolumn{4}{c}{\begin{minipage}[c][20mm][c]{24mm}\begin{center}$\underbrace{\hspace*{27.5mm}}$\\\texttt{Attributes} \\ \texttt{$ J $ Elements} \end{center} \end{minipage}} \\
\end{tabular}
}
\end{center}
\end{table}
I have two issue:
- I'd like to have the matrix centered under the caption and not all the stuff, so that individuals and the left bracket would be on the left
- I'd like to have less distance between the left bracket and the matrix
tikzmark
package [ctan.math.washington.edu/tex-archive/graphics/pgf/contrib/…) … I also would recommend to use for the table TikZ , too (matrix
library).