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 4343end
4444
4545@latexrecipe function f (sys:: ModelingToolkit.ODESystem ; iv= :t )
46- sys. eqs
46+ return latexify ( sys. eqs; iv = iv)
4747end
Original file line number Diff line number Diff line change @@ -65,4 +65,10 @@ raw"\begin{align}
6565\e nd{align}
6666"
6767
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