o with tilde in LaTeX (\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.
\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
- o with macron
\bar{o} - o with circumflex
\hat{o} - o with dot above
\dot{o} - o with acute accent
\acute{o} - o with breve
\breve{o} - o with grave accent
\grave{o}
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.
Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf
Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI
- Gumawa ng magagandang TikZ diagrams gamit ang AI
- Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
- Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers