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 Huruf Latin →

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 poweredTulis LaTeX menggunakan AI

Editor LaTeX AI Terbaik, Alternatif Overleaf

Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI

  • Jana diagram TikZ yang cantik menggunakan AI
  • Muat naik imej dan tukar ke LaTeX dengan lancar
  • Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan