File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 43
43
end
44
44
45
45
@latexrecipe function f (sys:: ModelingToolkit.ODESystem ; iv= :t )
46
- sys. eqs
46
+ return latexify ( sys. eqs; iv = iv)
47
47
end
Original file line number Diff line number Diff line change @@ -65,4 +65,10 @@ raw"\begin{align}
65
65
\e nd{align}
66
66
"
67
67
68
- latexify (sys)
68
+ @test latexify (sys) ==
69
+ raw " $\b egin{align}
70
+ \f rac{du_{1}}{dt} =& p_3 \c dot \l eft( \m athrm{u_2}\l eft( t \r ight) - \m athrm{u_1}\l eft( t \r ight) \r ight) \\
71
+ \f rac{du_{2}}{dt} =& \f rac{p_2 \c dot p_3 \c dot \m athrm{u_1}\l eft( t \r ight) \c dot \l eft( p_1 - \m athrm{u_1}\l eft( t \r ight) \r ight)}{10} - \m athrm{u_2}\l eft( t \r ight) \\
72
+ \f rac{du_{3}}{dt} =& \m athrm{u_1}\l eft( t \r ight) \c dot \l eft( \m athrm{u_2}\l eft( t \r ight) \r ight)^{\f rac{2}{3}} - p_3 \c dot \m athrm{u_3}\l eft( t \r ight)
73
+ \e nd{align}
74
+ $"
You can’t perform that action at this time.
0 commit comments