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.
Math poweredAI로 LaTeX 작성
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기