Deontic Ought in LaTeX (O 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.
\documentclass{article}
\begin{document}
Deontic Ought: $O p$
\[ \mathsf{O}\,p \to \mathsf{P}\,p \]
\end{document}Related symbols
- Deontic Permitted
P p - Possible World
w - Kripke Model
\mathcal{M}, w \models p - Accessibility
w R v - Next
\bigcirc p - Until
p \mathcal{U} q
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 poweredSchrijf LaTeX met AI
Beste AI LaTeX Editor, Overleaf Alternatief
Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI
- Genereer mooie TikZ-diagrammen met AI
- Upload afbeelding en converteer naadloos naar LaTeX
- Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen