TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question
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
Thanks, this is the problem... Now it works, of course. – scannerdarkly Jul 30 '12 at 10:27
up vote 6 down vote accepted

The symbol you're trying to typeset is called

share|improve this answer
knew it it was something trivial... thanks – scannerdarkly Jul 30 '12 at 10:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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