Juan3100
I'm trying to replicate this table but I'm not getting the desire result with the symbol. I would appreciate the help with this one :D ![Picture1.png](/image?hash=0c7a72ac209b52b57f72af660338906e2e1ab3d4282b3c3a1dc95e94485d46e5)
Top Answer
CarLaTeX
I would suggest using `tabularray` with `tikzmark`:
```
\documentclass{article}
\usepackage{geometry}
\usepackage{amsmath,amsfonts}
\usepackage{tabularray}
\usepackage{tikz}
\usetikzlibrary{tikzmark, decorations}
\usetikzlibrary{decorations.pathmorphing, decorations.pathreplacing}
\begin{document}
\begin{table}
\begin{tblr}{
colspec={llc*{11}{X}},
column{1}={mode=math},
cell{3}{4-Z}={mode=math},
vline{1,Z}={},
hline{1,4,Z}={},
hline{3}={4-Z}{}
}
&&\SetCell[r=3]{f} {Ecart\\ type}&\SetCell[c=11]{c} Corrélation croisée avec le PIB\\
&&&\SetCell[c=11]{c}$\mathbb{C}\text{orr}(y_t,x_{t+k})$\\
&&& -5 & -4 & -3 & -2 & -1 & 0 & 1&2&3&4&5\\
y_t & PIB \\
\SetCell[r=5]{} x_t& \tikzmarknode{start}Consommation\\
&Investissement\\
&Dépepense publique\\
&Exportation\\
&\tikzmarknode{end}Importation\\
\end{tblr}
\begin{tikzpicture}[overlay,remember picture]
\draw[decorate, decoration={brace,mirror}]
([xshift=-3pt]start.north west) --
([xshift=-3pt]end.south west);
\end{tikzpicture}
\end{table}
\end{document}
```
![image.png](/image?hash=f112adaaae6543de0e6239ecbafa0ce7a6a6b5b42d3280bbcbf586a8289d68c9)