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 Mga Latin Letters →

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 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