Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Latex problem with alignment character and &

  1. Oct 27, 2014 #1
    \begin{align*}
    AB &= \sqrt{(2-(-1))^2+(3-4)^2}\\
    &= \sqrt{3^2+(-1)^2}\\
    &= \sqrt{10}.
    \end{align*}

    is what i am entering.
    This is the error i am getting;

    misplaced alignment character &.


    I am baffled.
     
  2. jcsd
  3. Oct 27, 2014 #2
    for some reason it is working on here, but not in my latex editor, i have tried 2 different latex editors :(
     
  4. Oct 27, 2014 #3

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    I guess it is a problem with the LaTeX editors, not a problem with the forum then.
     
  5. Oct 28, 2014 #4

    DrClaude

    User Avatar

    Staff: Mentor

    The error might be due to the code appearing before this.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Latex problem with alignment character and &
  1. Latex alignment (Replies: 2)

Loading...