Feature Matrix
Which IR features each stable writer expresses (the experimental ones aren’t held to it). Every cell is measured: the test renders a probe table, reads the output back with a format-specific reader (cell by cell: weight, slant, decoration, color, size, font, fill, alignment, borders; for the table as a whole, its language and direction) and checks the feature is there — and doesn’t leak into neighboring cells. The test fails whenever a measurement disagrees with this page.
✓ supported · ✗ not yet (the format can express it) · ⊘ the format can’t (portably) express it. Numbers refer to the notes below. A table that uses a feature its format lacks gets a warning saying where, with the note as its reason: see Validation.
| Feature | IR | HTML | LaTeX | Typst | RTF | DOCX | XLSX | PPTX |
|---|---|---|---|---|---|---|---|---|
| bold | font_weight: bold (or ≥ 600) |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| italic | font_style: italic |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| underline | text_decoration: underline |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| strikethrough | text_decoration: line-through |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| text-color | color |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| font-size | font_size (20px = 15pt) |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| font-family | font_family (a named family, not just monospace) |
✓ | ⊘1 | ✓ | ✓ | ✓ | ✓ | ✓ |
| text-transform | text_transform: uppercase |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| fill | background_color |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| cell-align | text_align on a cell |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| column-align | a column’s align |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| vertical-align | vertical_align: bottom (beside a taller cell) |
✓ | ⊘2 | ✓ | ✓ | ✓ | ✓ | ✓ |
| border | border (2px solid red bottom) |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| border-styles | border styles dashed, dotted | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| border-double | border style double | ✓ | ✓ | ⊘3 | ✓ | ✓ | ✓ | ✓ |
| column-style | a column’s style_id (cascades to its cells) |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| row-style | a row’s style_id |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| striping | row_striping (every second body row filled) |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| conditional-style | styles.conditionals (row parity) |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| style-composition | styles.compositions (extends + overrides) |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| styled-run | inline styled_text (part of a cell bold) |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| footnote-mark | footnote marks as superscript | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| title | header.title and header.subtitle |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| notes | footnotes and source notes | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| line-styles | a style_id on the title, subtitle, header lines, group labels (and their fill) and notes |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| normal-weight | font_weight: normal on what a format draws bold by default (column labels, the title, a group label, a run in a bold cell) |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| normal-style | font_style: normal on a run in an italic cell or line |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| image | an image (a PNG data: URI, 32×16px = 24×12pt) |
✓ | ⊘4 | ✓ | ✓ | ✓ | ✓ | ⊘5 |
| raw-html | a raw HTML node’s markup (<b>, <i>, a style attribute’s color) |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| lang | config.lang, the table’s language |
✓ | ⊘6 | ✓ | ✗7 | ✓ | ⊘8 | ✓ |
| rtl | config.dir: rtl, columns and text right to left |
✓ | ⊘9 | ✓ | ✓ | ✓ | ✓ | ✓ |
| table-rules | config.rules, the default look’s rules changed (here the rule between body rows: 3px, dashed, red) |
✓ | ✗10 | ✗10 | ✗10 | ✗10 | ✓ | ✓ |
Notes
- a named system font needs XeLaTeX/LuaLaTeX with fontspec; the output also targets pdfLaTeX (monospace families map to
\texttt) - a tabular row sets its cells on one baseline;
m/bcolumns align whole columns, not single cells - Typst strokes have no double line; a double border is drawn solid
- a LaTeX fragment can’t carry an image’s data (
\includegraphicsreads a file): an image shows its alt text - PowerPoint text (a table cell, or the text box of a title or note) holds no pictures: an image shows its alt text
- a language is the document’s, set up by babel or polyglossia in the preamble the table goes into
- RTF names a language by its Windows language id (
\lang), which the writer doesn’t yet map language tags to - a spreadsheet’s cells have no language
- right to left needs the bidirectional support of babel or polyglossia, set up in the document’s preamble; the table is written left to right
config.ruleschanges the rules of gridwell’s default look, which this format doesn’t draw: its rules are its own
Structure — spans, hidden columns, stub columns, hidden column labels, group labels and summary rows — is verified separately for every writer by the grid invariant: each output is read back as a grid and compared with the IR’s.