NOR operator (bar over vee) in LaTeX (\bar{\vee})

∨ˉ\bar{\vee}
LaTeX command
\bar{\vee}
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

A vee with a bar accent on top, built by hand to represent NOR (Peirce's arrow): true only when both inputs are false.

There is no standard single command for the NOR glyph in the common math fonts, so \bar{\vee} fakes it by putting an accent over the or symbol. One side effect: an accented symbol becomes an ordinary atom and loses the binary-operator spacing that \vee had, so write \mathbin{\bar{\vee}} to restore it, ideally inside a \newcommand. The alternative notation p \downarrow q (Peirce's arrow) is widely understood and avoids the issue. Do not confuse this with \veebar, whose bar sits below the vee and normally means XOR.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

p∨ˉq≡¬(p∨q)p \mathbin{\bar{\vee}} q \equiv \neg (p \vee q)
\documentclass{article}
\begin{document}
NOR operator (bar over vee): $\bar{\vee}$

\[ p \mathbin{\bar{\vee}} q \equiv \neg (p \vee q) \]
\end{document}

Related symbols

All Booleaanse Algebra →

Frequently asked questions

How do I write NOR operator (bar over vee) in LaTeX?
Type \bar{\vee} in math mode, for example $p \mathbin{\bar{\vee}} q \equiv \neg (p \vee q)$. It works in plain LaTeX without loading any package.
Which package do I need for \bar{\vee}?
None. \bar{\vee} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \bar{\vee} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\bar{\vee}$ in running text.
Math poweredSchrijf LaTeX met AI

Beste AI LaTeX Editor, Overleaf Alternatief

Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI

  • Genereer mooie TikZ-diagrammen met AI
  • Upload afbeelding en converteer naadloos naar LaTeX
  • Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen