• Advertisement
Sign in to follow this  

eqn tag interacts oddly with new lines

This topic is 2192 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites

This topic is 2192 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Advertisement