TeX - LaTeX Asked by Sanjay Gupta on January 15, 2021
Is there a way to create the following minimalistic-looking grid/table?
The grid should have thick lines.
The cells should be write-able.
There should be a label denoting the name of the "player"
Some modification to
begin{table}[h]
centering
setlength{extrarowheight}{2pt}
begin{tabular}{cc|ccc}
multicolumn{2}{c}{} & multicolumn{2}{c}{Colin}
multicolumn{1}{c}{}& & A & B cline{2-4}
multirow{3}*{Rose} & A & $1$ & $-5$
& B & $-2$ & $4$
& C & $0$ & $3$
end{tabular}
end{table}
Is what I’m looking for.
documentclass{article}
usepackage{rotating}
usepackage{makecell, multirow}
begin{document}
begin{table}[h]
centering
setlengtharrayrulewidth{1pt}
settowidthrotheadsize{Rose}
setcellgapes{5pt}
makegapedcells
begin{tabular}{cc|c|c}
multicolumn{2}{c}{} & multicolumn{2}{c}{Colin}
& & A & B
cline{2-4}
multirow{3.8}*{rothead{Rose}}
& A & $ 1$ & $-5$
cline{2-4}
& B & $-2$ & $ 4$
cline{2-4}
& C & $ 0$ & $ 3$
end{tabular}
end{table}
end{document}
or
where table specification is
begin{tabular}{cc|w{c}{12mm}|w{c}{12mm}}
Answered by Zarko on January 15, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP