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 Algebra Boolean →

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 poweredTulis LaTeX menggunakan AI

Editor LaTeX AI Terbaik, Alternatif Overleaf

Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI

  • Jana diagram TikZ yang cantik menggunakan AI
  • Muat naik imej dan tukar ke LaTeX dengan lancar
  • Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan