I know there has been a lot of work on tables since I last updated mine. I scoured the sample article and saw lots of cool tables, but I was unclear if there is a way to label columns and rows as well as give column and row headers. An example of the type of table I have:
I can keep them the way they are, but the "Player" labels are just cells, as are the "H/T". This doesn't seem particularly accessible.
My current PreTeXt:
<table xml:id="T_matchpennies" >
<title>A game matrix showing the payoff vectors</title>
<tabular>
<row>
<cell></cell>
<cell></cell>
<cell colspan="2" halign="center">Player 2</cell>
</row>
<row>
<cell></cell>
<cell></cell>
<cell bottom="minor" halign="center">H</cell>
<cell bottom="minor" halign="center">T</cell>
</row>
<row>
<cell>Player 1</cell>
<cell right="minor">H</cell>
<cell bottom="minor" right="minor"><m>(1, -1)</m></cell>
<cell bottom="minor" right="minor"><m>(-1, 1)</m></cell>
</row>
<row>
<cell></cell>
<cell right="minor">T</cell>
<cell bottom="minor" right="minor"><m>(-1, 1)</m></cell>
<cell bottom="minor" right="minor"><m>(1, -1)</m></cell>
</row>
</tabular>
</table>