O with stroke (uppercase) in LaTeX (\text{Ø})

Ø\text{Ø}
LaTeX command
\text{Ø}
Package
Add to your preamble:\usepackage{amsmath}
Mode
Text and math mode
Copy the Unicode character
ØU+00D8

Where it is used

Writes capital Ø, as in Øresund, the uppercase slashed O written \O in LaTeX text.

Capital Ø begins Danish and Norwegian words such as Øresund and Østergaard. In LaTeX, use \O in text mode or type Ø directly; \O is undefined in math without \text. Because it resembles the empty set \emptyset and the diameter symbol, it is tempting to reuse it, but those are separate characters and screen readers and search engines treat them differently. Sorting in Scandinavian alphabets puts Ø after Æ and before Å in Norwegian and Danish.

Minimal compilable example

Paste this into an empty .tex file and compile it with XeLaTeX or LuaLaTeX (it contains a Unicode character).

Øresund\text{Øresund}
\documentclass{article}
\usepackage{amsmath}
\begin{document}
O with stroke (uppercase): $\text{Ø}$

\[ \text{Øresund} \]
\end{document}

Related symbols

All الحروف اللاتينية →

Frequently asked questions

How do I write O with stroke (uppercase) in LaTeX?
Type \text{Ø} in math mode, for example $\text{Øresund}$. Load amsmath first with \usepackage{amsmath}.
Which package do I need for \text{Ø}?
\text{Ø} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
Can I use \text{Ø} in text mode, or only in math mode?
Both. \text{Ø} 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 بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث