I have a table, which code is:




\multicolumn{2}{c}{Cluster} & Logic expression\tnote{1}\\
1&High performer& $ F\land E\land P\land N $ \\
2&Cash provider& $ F\land E\land P\land \lneg N $ \\
3&AMF& $ F\land E\land \lneg P\land N $\\
4&Doubtful case& $(F\land E\land \lneg P\land \lneg N)\lor (\lneg F\land \lneg E\land P\land N)$ \\
5&Low performer& $\lneg E\land (\lneg F\lor \lneg N\lor P)(F\lor \lneg P)$ \\
6&Possible AMF& $E\land \lneg F\land \lneg P\land N$ \\
7&CFO& $E\land \lneg F\land (P\lor \lneg N)$ \\
8&SCF needy& $\lneg F\land E\land \lneg P\land N$ \\
9&Potential cash provider& $\lneg F\land \lneg E\land P\land \lneg N$ \\
    \item[1] Convention: AND $\rightarrow \land$, OR $\rightarrow \lor$, negation $\rightarrow \lnot$.
  \caption{Logic expressions for each cluster.}


Now... It does not compile, giving me the error:

! Undefined control sequence.
l.20 2&Cash provider& $ F\land E\land P\land \lneg N $ \

I know more or less where the problem is (or at least I suppose to know): is like as latex looks at the equations as if they are written one after the other, like:

$ F\land E\land P\land N $
$ F\land E\land P\land \lneg N $

or something like that, and therefore returns an error when it sees the second $...$; the problem is that I don't have any idea on how to solve the issue...

  • Changing $...$ with \(...\) makes no difference;
  • Changing $...$ with \begin{math}...\end{math} makes no difference as well, the same as put a \begin{math} before the first equation and one \end{math} after the last (my desperate tentative :D );
  • General purpose google searches didn't give relevant results (unfortunately).

I am quite sure it's something trivial... but I cannot understand what!

  • I get simply errors as \lneg is not defined. Check the definition of the symbol you want to use. – Ulrike Fischer Jul 30 '12 at 10:05
  • I think the macro you should be using (instead of the undefined \lneg) is called \lnot. If you use \lnot, the document compiles without an error message. – Mico Jul 30 '12 at 10:25

The symbol you're trying to typeset is called


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.