Skip to content

Commit fc56970

Browse files
committed
Fix aligned environments with KaTeX
1 parent 8c5101c commit fc56970

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

d_wfs/index.rst

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -211,11 +211,14 @@ domain via an inverse Fourier transform :eq:`ifft` it follows
211211
.. math::
212212
:label: d.wfs.ps.2.5D
213213
214-
d_\text{2.5D}(\x_0,t) =
215-
\frac{1}{\sqrt{2\pi}} a(t) * h_\text{2.5D}(t) * w(\x_0)
216-
\sqrt{\frac{|\xref-\x_0|}{|\x_0-\xs|+|\xref-\x_0|}} \\
217-
\cdot \frac{\scalarprod{\x_0-\xs}{\n_{\x_0}}}{|\x_0-\xs|^{\frac{3}{2}}}
218-
\dirac{t-\frac{|\x_0-\xs|}{c}},
214+
\begin{aligned}
215+
d_\text{2.5D}(\x_0,t) =&
216+
\frac{1}{\sqrt{2\pi}} a(t) * h_\text{2.5D}(t) * w(\x_0)
217+
\sqrt{\frac{|\xref-\x_0|}{|\x_0-\xs|+|\xref-\x_0|}} \\
218+
&\cdot \frac{\scalarprod{\x_0-\xs}{\n_{\x_0}}}
219+
{|\x_0-\xs|^{\frac{3}{2}}}
220+
\dirac{t-\frac{|\x_0-\xs|}{c}}, \\
221+
\end{aligned}
219222
220223
.. math::
221224
:label: d.wfs.ps.2.5D.refline
@@ -428,11 +431,13 @@ follows
428431
.. math::
429432
:label: d.wfs.fs.2.5D
430433
431-
d_\text{2.5D}(\x_0,t) =
432-
\frac{1}{\sqrt{2\pi}} a(t) * h_\text{2.5D}(t) * w(\x_0)
433-
\sqrt{\frac{|\xref-\x_0|}{|\x_0-\xs|+|\xref-\x_0|}} \\
434-
\cdot \frac{\scalarprod{\x_0-\xs}{\n_{\x_0}}}{|\x_0-\xs|^{\frac{3}{2}}}
435-
\dirac{t+\frac{|\x_0-\xs|}{c}},
434+
\begin{aligned}
435+
d_\text{2.5D}(\x_0,t) =&
436+
\frac{1}{\sqrt{2\pi}} a(t) * h_\text{2.5D}(t) * w(\x_0)
437+
\sqrt{\frac{|\xref-\x_0|}{|\x_0-\xs|+|\xref-\x_0|}} \\
438+
&\cdot \frac{\scalarprod{\x_0-\xs}{\n_{\x_0}}}{|\x_0-\xs|^{\frac{3}{2}}}
439+
\dirac{t+\frac{|\x_0-\xs|}{c}}, \\
440+
\end{aligned}
436441
437442
.. math::
438443
:label: d.wfs.fs.2.5D.refline

sources/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ directional derivative of the three dimensional Green’s function with respect
203203
A(\w) \frac{1}{4\pi}
204204
\left( \frac{1}{|\x-\xs|} + \i\wc \right)
205205
\frac{\scalarprod{\x-\xs}{\n_\text{s}}}{|\x-\xs|^2}
206-
\e{-\i\wc |\x-\xs|}.
206+
\e{-\i\wc |\x-\xs|}. \\
207207
\end{aligned}
208208
209209
Transformed to the temporal domain this becomes

0 commit comments

Comments
 (0)