Skip to content

Commit bf33648

Browse files
real latexify
1 parent 99293ff commit bf33648

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/latexify.jl

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ using ModelingToolkit
2424

2525
eqs = [D(x) ~ σ*(y-x)*D(x-y)/D(z),
2626
0 ~ σ*x*-z)/10-y,
27-
D(z) ~ x*y - β*z]
27+
D(z) ~ x*y^(2//3) - β*z]
28+
2829

2930
@test latexify(eqs) ==
3031
raw"\begin{align}
3132
\mathrm{derivative}\left( \mathrm{x}\left( t \right), t \right) =& \frac{\sigma \cdot \left( \mathrm{y}\left( t \right) - \mathrm{x}\left( t \right) \right) \cdot \mathrm{derivative}\left( \mathrm{x}\left( t \right) - \mathrm{y}\left( t \right), t \right)}{\mathrm{derivative}\left( \mathrm{z}\left( t \right), t \right)} \\
3233
0 =& \frac{\sigma \cdot \mathrm{x}\left( t \right) \cdot \left( \rho - \mathrm{z}\left( t \right) \right)}{10} - \mathrm{y}\left( t \right) \\
33-
\mathrm{derivative}\left( \mathrm{z}\left( t \right), t \right) =& \mathrm{x}\left( t \right) \cdot \mathrm{y}\left( t \right) - \beta \cdot \mathrm{z}\left( t \right)
34+
\mathrm{derivative}\left( \mathrm{z}\left( t \right), t \right) =& \mathrm{x}\left( t \right) \cdot \left( \mathrm{y}\left( t \right) \right)^{\frac{2}{3}} - \beta \cdot \mathrm{z}\left( t \right)
3435
\end{align}
3536
"

0 commit comments

Comments
 (0)