Wide Hat in LaTeX (\widehat{xyz})
- LaTeX command
\widehat{xyz}- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Stretches a circumflex across a multi-letter expression, such as the Fourier transform of a product.
Use \widehat when the accent must cover more than one glyph, for instance \widehat{f * g} = \hat{f}\,\hat{g} for convolution, \widehat{ABC} for an angle in some geometry traditions, or \widehat{G} for the dual group or completion of a group. The hat grows only up to a limited width in the standard Computer Modern fonts, so over long expressions it stops stretching and looks undersized; in that case a superscript such as (f g)^\wedge or a \mathcal{F}\{\cdot\} operator reads better. For a single letter prefer \hat{x}, which is positioned more precisely over italic characters.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Wide Hat: $\widehat{xyz}$
\[ \widehat{f * g}(\xi) = \hat{f}(\xi)\,\hat{g}(\xi) \]
\end{document}Related symbols
All Aksen & Pengubah →Frequently asked questions
- How do I write Wide Hat in LaTeX?
- Type \widehat{xyz} in math mode, for example $\widehat{f * g}(\xi) = \hat{f}(\xi)\,\hat{g}(\xi)$. It works in plain LaTeX without loading any package.
- Which package do I need for \widehat{xyz}?
- None. \widehat{xyz} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \widehat{xyz} in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\widehat{xyz}$ in running text.
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