Deontic Ought in LaTeX (O p)

OpO p
LaTeX command
O p
Package
No package needed: built into LaTeX
Mode
Text and math mode

Where it is used

Deontic obligation: O p reads "it ought to be that p" or "p is obligatory".

Standard deontic logic is the normal modal logic KD, with axiom D, O p \to P p, saying obligations are consistent, while the truth axiom O p \to p deliberately fails. Contrary-to-duty puzzles such as Chisholm's paradox show its limits and motivate dyadic obligation O(p \mid q). In math mode O p sets as Op with no space, so write O\,p or use an upright \mathbf{O} or \mathsf{O} to keep it from reading as big-O notation.

Minimal compilable example

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

O p→P p\mathsf{O}\,p \to \mathsf{P}\,p
\documentclass{article}
\begin{document}
Deontic Ought: $O p$

\[ \mathsf{O}\,p \to \mathsf{P}\,p \]
\end{document}

Related symbols

All Modal Logic →

Frequently asked questions

How do I write Deontic Ought in LaTeX?
Type O p in math mode, for example $\mathsf{O}\,p \to \mathsf{P}\,p$. It works in plain LaTeX without loading any package.
Which package do I need for O p?
None. O p is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use O p in text mode, or only in math mode?
Both. O p compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Math poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers