diff --git a/test/latexify.jl b/test/latexify.jl index 23d005cae..5d80cab52 100644 --- a/test/latexify.jl +++ b/test/latexify.jl @@ -55,6 +55,9 @@ Dy = Differential(y) @test_reference "latexify_refs/complex3.txt" latexify(1 - x + (1+2x)*im; imaginary_unit="\\mathbb{i}") @test_reference "latexify_refs/complex4.txt" latexify(im * Symbolics.Term(sqrt, [2])) +@syms c +@test_reference "latexify_refs/complex5.txt" latexify((3+im/im)c) + @test_reference "latexify_refs/indices1.txt" latexify(h[10,10]) @test_reference "latexify_refs/indices2.txt" latexify(h[10,10], index=:bracket) diff --git a/test/latexify_refs/complex5.txt b/test/latexify_refs/complex5.txt new file mode 100644 index 000000000..59f01d7aa --- /dev/null +++ b/test/latexify_refs/complex5.txt @@ -0,0 +1,3 @@ +\begin{equation} +4.0 c +\end{equation}