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 Accents at Modifiers →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.
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