Question #5660   Submitted by Answiki on 01/07/2022 at 07:08:07 PM UTC

How to do the logical symbols in LaTeX?

Answer   Submitted by Answiki on 01/07/2022 at 07:36:54 PM UTC

There are several ways to represent the logical symbols. The following explains how to do the logical symbols in LaTex:


AND (logical conjunction)

  • The LaTeX code a \cdot b displays 
  • The LaTeX code a \& b displays 
  • The LaTeX code a \wedge b displays 
  • The LaTeX code a \land b displays 


OR (logical inclusive disjonction)

  • The LaTeX code a+b displays 
  • The LaTeX code a \vee b displays 
  • The LaTeX code a \lor b displays 


XOR (logical exclusive disjonction)

  • The LaTeX code a \oplus b displays 
  • The LaTeX code a \veebar b displays 


NOT (negation)

  • The LaTeX code a \sim b displays 
  • The LaTeX code a \lnot b displays 
  • The LaTeX code a \neg b displays 


Not that the complement of a variable can be represented with \overline{}.

  • The LaTeX code \overline{ a \oplus b } displays 
3 events in history
Answer by Answiki on 01/07/2022 at 07:36:54 PM

There are several ways to represent the logical symbols. The following explains how to do the logical symbols in LaTex:


AND (logical conjunction)

  • The LaTeX code a \cdot b displays 
  • The LaTeX code a \& b displays 
  • The LaTeX code a \wedge b displays 
  • The LaTeX code a \land b displays 


OR (logical inclusive disjonction)

  • The LaTeX code a+b displays 
  • The LaTeX code a \vee b displays 
  • The LaTeX code a \lor b displays 


XOR (logical exclusive disjonction)

  • The LaTeX code a \oplus b displays 
  • The LaTeX code a \veebar b displays 


NOT (negation)

  • The LaTeX code a \sim b displays 
  • The LaTeX code a \lnot b displays 
  • The LaTeX code a \neg b displays 


Not that the complement of a variable can be represented with \overline{}.

  • The LaTeX code \overline{ a \oplus b } displays 
Answer by Answiki on 01/07/2022 at 07:21:58 PM

There are several ways to represent the logical symbols. The following explain how to do the logical symbols in LaTex:


AND (logical conjunction)

  • The LaTeX code a \cdot b displays 
  • The LaTeX code a \& b displays 
  • The LaTeX code a \wedge b displays 
  • The LaTeX code a \land b displays 


OR (logical inclusive disjonction)

  • The LaTeX code a+b displays 
  • The LaTeX code a \vee b displays 
  • The LaTeX code a \lor b displays 


XOR (logical exclusive disjonction)

  • The LaTeX code a \oplus b displays 
  • The LaTeX code a \veebar b displays 


NOT (negation)

  • The LaTeX code a \sim b displays 
  • The LaTeX code a \lnot b displays 
  • The LaTeX code a \neg b displays 


Not that the complement of a variable can be represented with \overline{}.

  • The LaTeX code \overline{ a \oplus b } displays 
Question by Answiki 01/07/2022 at 07:08:07 PM
How to do the logical symbols in LaTeX?
# ID Query URL Count

Icons proudly provided by Friconix.