i'm trying to draw a table with the first cell splitted by a diagonal border. But since my headings have 2 lines, the other cells also have 2 lines, and then the borders are incomplete, generating "gaps" over the table, as well the cells are not centered at the middle of the cell, becoming an ugly format.
I'm using slashbox package, and compiling with Overleaf.
Can someone help?
Thanks!!Eduardo.
\usepackage{slashbox}\begin{document}\begin{table}[H]\begin{center}\caption{Classificação de Marchal: as estruturas de mercado diferenciadas também por fatores associados ao comportamento dos agentes a natureza dos produtos.}\label{table:rossetti}\begin{tabular}{|l||*{3}{c|}}\hline\backslashbox{\textbf{Procura}}{\textbf{Oferta}}& \textbf{Um so vendedor} & \begin{tabular}[c]{@{}c@{}}\textbf{Pequeno numero}\\ \textbf{de vendedores}\end{tabular} & \begin{tabular}[c]{@{}c@{}}\textbf{Grande numero}\\ \textbf{de vendedores}\end{tabular} \\ \hlineUm só comprador\\ &Monopolio bilateral & Quase monopsonio & Monopsonio\\\hlinePequeno numero de\\compradores &Quase monopolio &Oligopolio bilateral &Oligopsonio\\\hlineGrande numero de\\compradores &Monopolio &Oligopolio &Concorrencia perfeita\\ \hline\end{tabular}\end{center}\end{table}\end{document}