Skip to content

Add optional tabular output to LatexTableWriter - #86

Open
boyfeiyu wants to merge 1 commit into
thombashi:masterfrom
boyfeiyu:BOYF-126-latex-tabular
Open

boyfeiyu wants to merge 1 commit into
thombashi:masterfrom
boyfeiyu:BOYF-126-latex-tabular

Conversation

@boyfeiyu

Copy link
Copy Markdown

Fixes #63.

Add table_environment="tabular" to LatexTableWriter, including a writable property and factory keyword support. The default remains array, and LatexMatrixWriter keeps its existing output.

Tabular cells escape text before applying styles, preserve multiword headers, and use \ensuremath for infinities and whole-cell mathematical control words such as \alpha. Other expressions are literal text. The documentation and executable example describe usage and the existing style dependencies.

Validation on CPython 3.12 / macOS arm64:

  • Full test suite: 1545 passed, 72 xfailed.
  • Eight generated documents compiled with Tectonic, including text escaping, math cells, 24 style combinations, style filters, and array/matrix controls.
  • Example and git diff --check passed.

The full Python/OS CI matrix and general Unicode font coverage have not been run locally.

@boyfeiyu
boyfeiyu force-pushed the BOYF-126-latex-tabular branch from bc61289 to 139a0f8 Compare November 1, 2026 10:11

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant