# Multiline equation write form in text cell?

Is there a way to write equation within text cell as few lines?

For example this:

$f(x) = y^x$


renders normally, but this:

$f(x) = y^x$


renders as plain text. I wan it to be rendered in the same way as first one.

P.S. I am new to latex, so trying to find a way to make complex equation in latex more readable (may be there is a better way to do it than splitting it to a few lines?).

edit retag close merge delete

Sort by » oldest newest most voted

It seems that line breaks in the editor cause <p> and </p> tags to be inserted. You can always edit the html source directly. The drawback of this approach is that once the HTML source editor is closed the line breaks disappear.

more

For example two lines:

\begin{align} x & = x^2-4 \\ & = (x-2)(x+2) \end{align}

more

Thanks, but this is not what I mean. The idea was: number of lines in equation should be determined by Tex-rules only - no matter how many lines is in source code (ie. how many \n characters in editor).

( 2013-04-13 14:10:26 +0200 )edit