NOR operator (bar over vee) in LaTeX (\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.
\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
- Circle Dot
\odot - NAND
\barwedge - Right Arrow (Double)
\Rightarrow - Direct Sum
\oplus - Left Right Arrow (Double)
\Leftrightarrow - Negation
\neg
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.
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기