Ask Your Question

Multiline equation write form in text cell?

asked 2013-04-07 07:54:52 -0500

Eugene gravatar image

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

For example this:

$f(x) = y^x$

renders normally, but this:


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 flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-04-07 14:26:12 -0500

fidbc gravatar image

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.

edit flag offensive delete link more

answered 2013-04-07 20:42:39 -0500

ndomes gravatar image

For example two lines:

$ \begin{align}  x & = x^2-4  \\ & =  (x-2)(x+2)  \end{align} $
edit flag offensive delete link 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).

Eugene gravatar imageEugene ( 2013-04-13 07:10:26 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-04-07 07:54:52 -0500

Seen: 242 times

Last updated: Apr 07 '13