I've got the following code, but I dont know why it creates line breaks in the equation

  \item My Equation 
      P$\wedge$S \equiv \emph{False} $\implies$ L : lineBreaks


Unwanted line breaks

  • 1
    There should be no $ in an equation environment. And no \\ either. Please, state precisely what's the output you're expecting. – egreg Dec 17 '12 at 18:52
  • @egreg Oh!, I need to define escape key for the equation? – asghar ashgari Dec 17 '12 at 18:54
  • What you put in an equation is already "between $". And if you want to split it between different lines you should look at amsmath's environments (align, gather, split, multline,... ). – Manuel Dec 17 '12 at 18:59
  • @egreg and Manuael thanks for the comments and tips! I added the working version. – asghar ashgari Dec 17 '12 at 19:01
  • @Manuel thanks for pointing out!, just realised this fact! :P – asghar ashgari Dec 17 '12 at 19:02

The equation should be written like this:

     P \wedge S \equiv \textit{False}   \implies  L : \textit{lineBreaks}


  • 3
    I would make the equation read as follows: P\wedge S \equiv \textit{False} \implies L : \textit{lineBreaks}. That way, you'll get better kerning of the letters in "False" and "lineBreaks". – Mico Dec 17 '12 at 19:34

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.