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

LaTeX Latex problem with alignment character and &

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

    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


    User Avatar
    2017 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


    User Avatar

    Staff: Mentor

    The error might be due to the code appearing before this.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook