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 المنطق الشرطي →

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 poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث