This question already has an answer here:
I am trying to figure out a simple way to emulate a technique used in a table appearing in a recent paper. Consider the following figure:
What I'm specifically interested in is where they've extended the columns downwards and placed each column's description header on its own row.
- Does typesetting a tabular environment like this have a name?
- Is there an easy way to do this other than using (abusing?) numerous partial vertical lines and horizontal lines?
For example, just the first row above "Read freed stack memory" would need to remove the zeroth and first vertical line and the second through seventh column's bottom horizontal rule. The next row would need to remove the zeroth through second vertical line and the third through seventh column's bottom horizontal rule, and so forth. A complex table with many rows and columns would quickly become difficult to produce using nothing but
\multicolumn commands. Also note that the column titles are left justified to the zeroth column and span columns 0 and 1.
Finally, I know how to handle all of the other remaining necessities to producing this table, including rotating the row heading, adding citations, colored symbols (
R), and justification within a single column. If you'd like to omit that from a proposed answer in order to simplify the resulting code, feel free.
I've searched a few of the related topics here on TeX Exchange, and here is my reasoning why I don't think they answer the question.
- Rotated column titles in tabular: The titles still appear in the same column that they describe. In the table I've presented, the description rows transpose to columns.
- Multirow and rotated column headers: Again, looking at the accepted answer's figure, the column titles still appear within the same column.
- How to align rotated column headings in a table?: Note how tall each of the first rows is. I'm specifically trying to avoid this phenomenon with column titles that have a lot of text.
- Input tables as rows instead columns: I don't need to transpose rows as columns and vice versa.