o with stroke (lowercase) in LaTeX (\text{ø})
- LaTeX command
\text{ø}- Package
- Add to your preamble:
\usepackage{amsmath} - Mode
- Text and math mode
- Copy the Unicode character
- ø
U+00F8
Where it is used
Writes ø, the slashed o of Danish, Norwegian, and Faroese; in LaTeX it is the text command \o.
ø is a full vowel in Danish and Norwegian, as in København or Søren Kierkegaard, and should not be replaced by o or oe in names. Use \o or type ø directly; it is a text command, so use \text in math. It looks similar to the empty set symbols \emptyset and \varnothing, and to the diameter sign, but those are different characters with different meanings, so do not borrow ø for the empty set. Phonetic transcription also uses ø for a front rounded vowel.
Minimal compilable example
Paste this into an empty .tex file and compile it with XeLaTeX or LuaLaTeX (it contains a Unicode character).
\documentclass{article}
\usepackage{amsmath}
\begin{document}
o with stroke (lowercase): $\text{ø}$
\[ \text{København} \]
\end{document}Related symbols
- O with stroke (uppercase)
\text{Ø} - A with ring above (Ångström)
\text{Å} - l with stroke (lowercase)
\text{ł} - a with ring above
\text{å} - L with stroke (uppercase)
\text{Ł} - AE ligature (uppercase)
\text{Æ}
Frequently asked questions
- How do I write o with stroke (lowercase) in LaTeX?
- Type \text{ø} in math mode, for example $\text{København}$. 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.
أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf
يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي
- أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
- ارفع صورة وحولها إلى LaTeX بسلاسة
- احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث