Skip to content

Commit 91b5dd9

Browse files
author
Karl Wessel
committed
add test case for latexify of complex symbolics
1 parent 5774783 commit 91b5dd9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test/latexify.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ Dy = Differential(y)
5555
@test_reference "latexify_refs/complex3.txt" latexify(1 - x + (1+2x)*im; imaginary_unit="\\mathbb{i}")
5656
@test_reference "latexify_refs/complex4.txt" latexify(im * Symbolics.Term(sqrt, [2]))
5757

58+
@syms c
59+
@test_reference "latexify_refs/complex5.txt" latexify((3+im/im)c)
60+
5861
@test_reference "latexify_refs/indices1.txt" latexify(h[10,10])
5962
@test_reference "latexify_refs/indices2.txt" latexify(h[10,10], index=:bracket)
6063

test/latexify_refs/complex5.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
\begin{equation}
2+
4.0 c
3+
\end{equation}

0 commit comments

Comments
 (0)