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

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

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

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