We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfb7ea3 commit 01c95a0Copy full SHA for 01c95a0
src/latexify_recipes.jl
@@ -43,5 +43,5 @@ end
43
end
44
45
@latexrecipe function f(sys::ModelingToolkit.ODESystem; iv=:t)
46
- sys.eqs
+ return latexify(sys.eqs; iv=iv)
47
test/latexify.jl
@@ -65,4 +65,10 @@ raw"\begin{align}
65
\end{align}
66
"
67
68
-latexify(sys)
+@test latexify(sys) ==
69
+raw"$\begin{align}
70
+\frac{du_{1}}{dt} =& p_3 \cdot \left( \mathrm{u_2}\left( t \right) - \mathrm{u_1}\left( t \right) \right) \\
71
+\frac{du_{2}}{dt} =& \frac{p_2 \cdot p_3 \cdot \mathrm{u_1}\left( t \right) \cdot \left( p_1 - \mathrm{u_1}\left( t \right) \right)}{10} - \mathrm{u_2}\left( t \right) \\
72
+\frac{du_{3}}{dt} =& \mathrm{u_1}\left( t \right) \cdot \left( \mathrm{u_2}\left( t \right) \right)^{\frac{2}{3}} - p_3 \cdot \mathrm{u_3}\left( t \right)
73
+\end{align}
74
+$"
0 commit comments