Test Autorender with Aligned Environment
Testing: The autorender should now correctly handle \begin{aligned}...\end{aligned}
by keeping the environment markers (not stripping them like it does for $$...$$).
Test 1: Simple Aligned Environment
Source LaTeX in HTML:
\begin{aligned}
a &= b + c \\
x &= y - z
\end{aligned}
\begin{aligned}
a &= b + c \\
x &= y - z
\end{aligned}
Test 2: Aligned with Fractions and Text
Source LaTeX in HTML:
\begin{aligned}
\frac{\mathrm{d}x}{\mathrm{d}t} &= v & \text{velocity} \\
\frac{\mathrm{d}v}{\mathrm{d}t} &= a & \text{acceleration}
\end{aligned}
\begin{aligned}
\frac{\mathrm{d}x}{\mathrm{d}t} &= v & \text{velocity} \\
\frac{\mathrm{d}v}{\mathrm{d}t} &= a & \text{acceleration}
\end{aligned}
Test 3: User's Complex Example
Source LaTeX in HTML (the full aligned from your system):
\begin{aligned}
\frac{\mathrm{d}\text{EP}}{\mathrm{d}t} &= I(t) − κ_d·\text{EP} − κ_{\text{EP}}·u_{\text{EP}}(t) & \text{inputs minus dissipation minus control} \\
\frac{\mathrm{d}f}{\mathrm{d}t} &= β_R·R(t) − β_d·D(t) + κ_f·u_f(t) & \text{repair signals − damage + training/therapy} \\
y(t) &= α·\text{GDF15}(t) + β·\text{EE}(t) + γ·(\text{VO}_2\text{max}(t))⁻¹ & \text{observable estimator } E[\text{eR}]
\end{aligned}
Test 4: Math Mode Delimiters (should still work)
Source: Inline $x = y$ and display $$a = b$$
Inline $x = y$ and display $$a = b$$
Test 5: Bracket delimiters (should still work)
Source: \[ E = mc^2 \]
\[ E = mc^2 \]