Skip to content

Commit c8027cf

Browse files
try aligned
1 parent e144ca2 commit c8027cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/src/mtkitize_tutorials/modelingtoolkitize_index_reduction.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ plot(sol, vars=states(traced_sys))
4242
In this tutorial we will look at the pendulum system:
4343

4444
```math
45-
\begin{align}
45+
\begin{aligned}
4646
x^\prime &= v_x\\
4747
v_x^\prime &= Tx\\
4848
y^\prime &= v_y\\
4949
v_y^\prime &= Ty - g\\
5050
0 &= x^2 + y^2 - L^2
51-
\end{align}
51+
\end{aligned}
5252
```
5353

5454
As a good DifferentialEquations.jl user, one would follow
@@ -114,13 +114,13 @@ If you differentiate the last equation two times and perform a substitution,
114114
you can arrive at the following set of equations:
115115

116116
```math
117-
\begin{align}
117+
\begin{aligned}
118118
x^\prime =& v_x \\
119119
v_x^\prime =& x T \\
120120
y^\prime =& v_y \\
121121
v_y^\prime =& y T - g \\
122122
0 =& 2 \left(v_x^{2} + v_y^{2} + y ( y T - g ) + T x^2 \right)
123-
\end{align}
123+
\end{aligned}
124124
```
125125

126126
Note that this is mathematically-equivalent to the equation that we had before,

0 commit comments

Comments
 (0)