Cover math scripts in longtable cells
This commit is contained in:
1 parent
9e3164adf6
commit
972b7635d2
1 file changed
+12
@@ -1752,3 +1752,15 @@ fn resizebox_strips_nested_math_delimiters() {
|
|||||||
let value = fresh_preview(source, "resizebox-math.tex");
|
let value = fresh_preview(source, "resizebox-math.tex");
|
||||||
assert_eq!(value["status"], "ok");
|
assert_eq!(value["status"], "ok");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn longtable_math_scripts_compile() {
|
||||||
|
let source = r"\documentclass{article}
|
||||||
|
\begin{document}
|
||||||
|
\begin{longtable}{ll}
|
||||||
|
$O_{ird}^m,q_{ird}^m$ & x \\
|
||||||
|
\end{longtable}
|
||||||
|
\end{document}";
|
||||||
|
let value = fresh_preview(source, "longtable-scripts.tex");
|
||||||
|
assert_eq!(value["status"], "ok");
|
||||||
|
}
|
||||||
Reference in new issue
Block a user