Cover eqref and math accent rendering
This commit is contained in:
1 parent
e77181e997
commit
07a4dcdda1
1 file changed
+12
@@ -1825,3 +1825,15 @@ fn aligned_with_leading_space_and_big_brace_compiles() {
|
||||
let value = fresh_preview(source, "aligned-big.tex");
|
||||
assert_eq!(value["status"], "ok");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn eqref_and_math_accents_compile() {
|
||||
let source = r#"\documentclass{article}
|
||||
\begin{document}
|
||||
\begin{equation}\label{eq:x} a=b \end{equation}
|
||||
See \eqref{eq:x}. $\bar{x}+\vec{v}$.
|
||||
\end{document}
|
||||
"#;
|
||||
let value = fresh_preview(source, "eqref-accents.tex");
|
||||
assert_eq!(value["status"], "ok");
|
||||
}
|
||||
Reference in new issue
Block a user