Linebreak in Equations: Is it Possible?

  • Thread starter Thread starter RedX
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
RedX
Messages
963
Reaction score
3
Is there a way to have a linebreak in an equation?

I tried \linebreak, \newline, \\*, \\, but these don't seem to work.

Also what is the default environment for (tex) (/tex)? When you have those two tags, is that equivalent to \begin{equation*} \end{equation*}? Or if you want an environment do you have to put it between those two tags: (tex) \begin{equation*} equation goes here \end{equation*} (/tex)?
 
Physics news on Phys.org
RedX: I could be wrong, but I currently think the default environment is not \begin{equation*} \end{equation*}. I think the default environment is called in-line (?). To obtain a line break, you could use the following syntax. The ampersands (&) are optional; I am currently not sure exactly what the ampersands do here. Notice "stuff3" will be indented differently if you omit the ampersands. Do not forget to always press the Reload or Refresh button in your browser (located on your browser navigation toolbar) each and every time you preview your latex. (But always copy your text before you press Reload or Refresh, in case it loses what you typed.)

[ tex]\begin{equation*}\begin{split}stuff1&=stuff2\\
stuff3\\
&=stuff4\\
&=stuff5\end{split}\end{equation*}[ /tex]​
 
Last edited:
Thanks. The split environment is new to me. I had tried \\ with eqnarray, but it didn't seem to work on here. But it works with split.