eqn tag interacts oddly with new lines

Started by
1 comment, last by GameDev.net 12 years, 3 months ago
Ok, I'm pretty sure this worked before the update, but it came out right before, so I'm not sure. Anyways, the eqn tag doesn't play nicely if there are embedded new lines in the latex. For example this works: [eqn]x = y[/eqn]

But if I put a line break after the = it displays this:[eqn]x =
y[/eqn]

So not only does it stop it from parsing the latex, it also eats the new line. Not a big deal for simple equations, but for matrix equations it's rather inconvenient.
Advertisement
[eqn]\left| \begin{array}{cc} x_{11} & x_{12} \\ x_{21} & x_{22} \end{array} \right|[/eqn]

[eqn]
\begin{bmatrix} xz & xw \\ yz & yw \end{bmatrix} = \left
[ \begin{array}{c} x \\ y \end{array} \right] \times \left
[ \begin{array}{cc} z & w \end{array} \right]
[/eqn]
Bug fixed..

This topic is closed to new replies.

Advertisement