o with circumflex in LaTeX (\hat{o})

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

Where it is used

Places a circumflex hat over o, giving ô; in math the same \hat command marks estimators and unit vectors.

For French, Portuguese, or Vietnamese words such as hôtel or côte, use the text accent \^{o} or type ô directly; \hat works only in math mode. In mathematics \hat is everywhere: \hat{\theta} for an estimator, \hat{y} for a prediction, \hat{\mathbf{x}} for a unit vector, \hat{H} for a quantum operator, and \hat{f} for a Fourier transform. For accents over several characters use \widehat{AB}, which stretches. When placing a hat over i or j, use \hat{\imath} so the dot is removed.

Minimal compilable example

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

y^=Xβ^,f^(ξ)=∫f(x)e−2πixξ dx\hat{y} = X\hat{\beta}, \quad \hat{f}(\xi) = \int f(x)e^{-2\pi i x\xi}\,dx
\documentclass{article}
\begin{document}
o with circumflex: $\hat{o}$

\[ \hat{y} = X\hat{\beta}, \quad \hat{f}(\xi) = \int f(x)e^{-2\pi i x\xi}\,dx \]
\end{document}

Related symbols

All Huruf Latin →

Frequently asked questions

How do I write o with circumflex in LaTeX?
Type \hat{o} in math mode, for example $\hat{y} = X\hat{\beta}, \quad \hat{f}(\xi) = \int f(x)e^{-2\pi i x\xi}\,dx$. It works in plain LaTeX without loading any package.
Which package do I need for \hat{o}?
None. \hat{o} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \hat{o} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\hat{o}$ in running text.
Math poweredTulis LaTeX menggunakan AI

Editor LaTeX AI Terbaik, Alternatif Overleaf

Octree membantu peneliti dari 15+ universitas menulis makalah penelitian lebih cepat menggunakan AI

  • Hasilkan diagram TikZ yang indah menggunakan AI
  • Unggah gambar dan konversi ke LaTeX dengan mulus
  • Dapatkan bantuan instan untuk menulis dan memformat makalah penelitian