What I'm after, is the horizontal- and vertical-alignment of row- and column-headers in the picture in the OP from the first mentioned question (re-included below).
There are some typographical points which haven't been satisfied in either questions answers:
$n$column-header is horizontally aligned in the same way as the column-contents.
$k$row-header is flush-right in its container box, and vertically aligned the same as its row-contents.
How would one achieve this?
I'm interested in any and all ways to achieve this; be it Plain, LaTeX, Context, Lua, PGF/TikZ, ... whatever!
The way I'm thinking to achieve this, in terms of describing the steps in plain english, is that:
- Type in the
$n$-header lowered by, say, 1em, so that it gets the natural width of the column, and the proper formatting assigned in the preamble (be it centered or flush left, for example). But act as if nothing had been done, so that it doesn't take space away from what comes after.
- Type in the
$k$-header flush right. The vertical alignment should be right in relation to the row-contents automatically. Again, this shouldn't probably take any space, so act as if nothing's been done.
- Combine the above two boxes as one entity,
\hss(?) apart from each other, and slash a line from the natural width of the box's (ideally the same as the natural width of the whole column?) lower right corner to the upper left.
But because my TeX-fu is seriously lacking, I am unable to express these requirements with TeX. Let alone understand wether this is the right approach at all!