Ask Your Question
1

Multiline equation write form in text cell?

asked 2013-04-07 14:54:52 +0100

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:

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

2 Answers

Sort by ยป oldest newest most voted
2

answered 2013-04-07 21:26:12 +0100

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
0

answered 2013-04-08 03:42:39 +0100

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

Comments

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 14:10:26 +0100 )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

Stats

Asked: 2013-04-07 14:54:52 +0100

Seen: 746 times

Last updated: Apr 08 '13