3
\begin{multline}
(3 + 2\omega )\left( \frac{{B\prime (r)}}{{2A(r)B(r)}}\varphi \prime  + \frac{1}{{A(r)}}\varphi \prime \prime  - \frac{{A\prime (r)}}{{2{A^2}(r)}}\varphi \prime  + \frac{2}{{rA(r)}}\varphi \prime  \right) \\
+ \frac{{16\pi G\lambda }}{{{\varphi ^2}}}\left[ { - \frac{{19\varphi {\prime ^2}\varphi \prime \prime }}{{2{A^2}(r)\varphi }} + \frac{{19A\prime (r)\varphi {\prime ^3}}}{{4{A^3}(r)\varphi }} \\
+ \frac{{B{\prime ^2}(r)}}{{4{A^2}(r){B^2}(r)}}\varphi {\prime ^2} - \frac{{5A{\prime ^2}(r)}}{{4{A^4}(r)}}\varphi {\prime ^2} - \frac{2}{{{r^2}{A^2}(r)}}\varphi {\prime ^2}} \right]
\end{multline}

I've tried split and align and I get the same message!

! Missing } inserted! 

Can't figure it out, hope that you can help!

  • 2
    Welcome to TeX.SX! It's a very common problem: you can't start \left in a row of the alignment and have the matching \right in another one. – egreg Jun 6 '14 at 8:02
  • Ty!! how do i put () or []? – John Jun 6 '14 at 8:05
  • \left( ..... \right. in one row and \left. ....\right) on the other. Dot signals consider this as the missing delimiter to TeX – percusse Jun 6 '14 at 8:07
  • 1
    use manual scaling, i.e., \big, \Big, \bigg or \Bigg instead of \left...\right – daleif Jun 6 '14 at 8:08
  • Or better still, just don't do it! Re-format to avoid the problem. – Thruston Jun 6 '14 at 8:08
3

You have some abundance of braces which are not necessarily a problem but difficult to debug.

Also every line in the tabulated math is considered to be a valid entity on its own hence if you put an opening/closing delimiter TeX wants to find the matching pair. To signal that the missing pair is omitted on purpose you need to put \left. or \right. to do so.

\documentclass{article}
\usepackage{amsmath}

\begin{document}
\begin{multline}
(3 + 2\omega )\left(
    \frac{B\prime (r)}{2A(r)B(r)}\varphi\prime + \frac{1}{A(r)}\varphi\prime \prime  - \frac{A\prime (r)}{2{A^2}(r)}\varphi\prime + \frac{2}{rA(r)}\varphi\prime
\right) \\
+ \frac{16\pi G\lambda}{\varphi ^2}\left[
    - \frac{{19\varphi {\prime ^2}\varphi \prime \prime }}{{2{A^2}(r)\varphi }} + \frac{19A\prime(r)\varphi\prime ^3}{4{A^3}(r)\varphi } 
\right.\\
\left. 
    + \frac{B{\prime ^2}(r)}{4{A^2}(r){B^2}(r)}\varphi\prime^2 - \frac{{5A{\prime ^2}(r)}}{{4{A^4}(r)}}\varphi {\prime ^2} - \frac{2}{{{r^2}{A^2}(r)}}\varphi {\prime ^2}
\right] 
\end{multline}
\end{document}

enter image description here

But as commented this will be ugly if the size of the terms differ on different rows as the sizes won't matter. I would strongly suggest shuffling your terms and make it more readable.

  • Don't use \varphi\prime etc. This gives ugly resul. Use \vaphi'. – wipet Jun 6 '14 at 8:35
  • its not just these terms... its 2 pages. It would be hard to find a nice way to shuffle them. If i use split wont it be prettier? – John Jun 6 '14 at 8:35
  • yeah i know it, i will fix it wipet – John Jun 6 '14 at 8:36
  • @John Then separate the terms and work them term-by-term. If it's two pages long nobody, and I'm pretty sure about it, will read it. So it's gonna be a wasted work. It cannot be the only way. – percusse Jun 6 '14 at 8:38
  • @percusse ty a lot for your help mate!! Ok i will try to fix it! Ty again!! – John Jun 6 '14 at 8:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.