in the attachment I got a kindof table I want to generate in Latex file, but yet I cannot find a way to do it.
Basically I have tried this
Code: Select all
\begin{table}
\begin{center}
\begin{tabular}{r|cc}
\backslashbox{i}{j} & 1 & 2 \\\hline
1 & $1$ & $2$ \\
2 & $2$ & $1$
\end{tabular}
\end{center}
\caption{Prisoners' dilemma}
\label{tab:prisoners}
\end{table}
I want a smaller and compact one as the attachment shows. ====================
One more problem occurs where the diagonal line disappears, although the reserved space is still there. Am I missing any package without including it in the main file??
thank you,
wolfrain