Support tabular-star specs, escapes, and SIVP math commands

This commit is contained in:
gloamxun committed 2026-10-19 23:59:24 +08:00
1 parent c1a7dedd6a
commit 3be8cefe46
4 files changed
+33 -4

No files matched your search

+15
View File
@@ -1725,3 +1725,18 @@ fn nested_newif_conditionals_skip_correctly() {
assert!(!svg.contains("OUTER-TRUE"));
assert!(!svg.contains(">INNER-F</text>"));
}
#[test]
fn tabular_star_column_spec_ignores_extracolsep() {
let source = r"\documentclass{article}
\begin{document}
\begin{tabular*}{\textwidth}{@{}@{\extracolsep{\fill}}lllll@{}}
Name & Description & Size & Note & Extra \\
Dendrite & Input terminal & 100 & a & b \\
\end{tabular*}
\end{document}";
let value = fresh_preview(source, "tabular-star.tex");
assert_eq!(value["status"], "ok");
let svg = page_svg(&value, 0);
assert!(svg.contains(">Dendrite</text>"));
}