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 poweredAIでLaTeXを書く

最高のAI LaTeXエディタ、Overleaf代替

Octreeは15以上の大学の研究者がAIを使って論文をより速く書くのを支援

  • AIで美しいTikZダイアグラムを生成
  • 画像をアップロードしてシームレスにLaTeXに変換
  • 論文の執筆とフォーマットに即座にサポートを取得