Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Long Negation Bar in LaTeX

Tags:

how can I produce long negation lines in latex. It should look like on the left of the following equations alt text

I used \[ \bar{(A \land B)} \] but that just added a bar over the \land

Thank you for your help

like image 567
peter Avatar asked Oct 06 '10 14:10

peter


People also ask

How do you make a long bar in LaTeX?

To put a bar over a letter, we can use either \bar or \overline . It seems that \bar is to \overline what \tilde is to \widetilde . There don't seem to be \overtilde or \widebar . Over a symbol with a subscript or superscript index, one can imagine four ways of putting a bar or tilde over it.

How do you make a negation symbol in LaTeX?

The symbol is defined in math mode as \neg . As a character, it's “¬” U+00AC NOT SIGN, and it's the standard symbol for negation in logic and mathematics (most recently, as per the ISO 80000-2 standard, which does not even mention other notations for it).

How do you type a long vertical line in LaTeX?

Example 02: Using \textbar Command For example, the “\textbar” tag can also do the same as the “\vert” tag did before. The use of the “text bar” tag is shown in the below Latex file. Execute the Latex file and open it in DVI. The output for this command shows the vertical lines.

How do I insert a vertical bar in LaTeX?

In LaTeX text mode, the vertical bar produces an em dash (—). The \textbar command can be used to produce a vertical bar.


1 Answers

I believe you want \overline.

\[ \overline{(A \land B)} \] 
like image 143
Robert Kluin Avatar answered Nov 15 '22 11:11

Robert Kluin