o with tilde in LaTeX (\tilde{o})

o~\tilde{o}
LaTeX command
\tilde{o}
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Puts a tilde over o, giving õ; as a math accent \tilde also decorates variables like \tilde{x}.

In Portuguese (põe, Camões) and Estonian (õ is its own letter), the text command \~{o} or a typed õ is the right choice in prose. In math mode \tilde marks a transformed, approximate, or alternative quantity, such as a normalized variable \tilde{x} or soft-O notation \tilde{O}(n). For wide arguments, \widetilde{AB} stretches across the whole expression. Do not confuse the accent with \sim, the standalone tilde relation meaning "is distributed as" or "asymptotic to". Tilde accents on capitals can sit high, so check the line spacing.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

x~=x−μσ,O~(nlog⁡n)\tilde{x} = \frac{x - \mu}{\sigma}, \quad \tilde{O}(n \log n)
\documentclass{article}
\begin{document}
o with tilde: $\tilde{o}$

\[ \tilde{x} = \frac{x - \mu}{\sigma}, \quad \tilde{O}(n \log n) \]
\end{document}

Related symbols

All Huruf Latin →

Frequently asked questions

How do I write o with tilde in LaTeX?
Type \tilde{o} in math mode, for example $\tilde{x} = \frac{x - \mu}{\sigma}, \quad \tilde{O}(n \log n)$. It works in plain LaTeX without loading any package.
Which package do I need for \tilde{o}?
None. \tilde{o} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \tilde{o} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\tilde{o}$ in running text.
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