Skip to content
latexci
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademics
Sign inFree
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademicsFree
Discord community ↗GitHub ↗
Sign in
LaTeX symbols›Accents›Widehat

Widehat in LaTeX

The LaTeX command for widehat is \widehat{xy}.

xy^\widehat{xy}xy​
\widehat{xy}
Accents · no package needed

Writing a paper? The table generator and the BibTeX cleaner are one click away, no account.

How to type Widehat

Write \widehat{xy} inside math mode, that is between $…$ for inline math or in a \[ … \] or equation block for display math. It is part of core LaTeX math, so no extra package is required.

\widehat{xy} is a math accent: it takes an argument and only works in math mode, while text accents such as \'e are separate commands. Not to be confused with \hat{x}.

Open this example in the live preview: it renders as you type, with no compiler and no signup.

Often confused with

  • Hat \hat{x}: hat / estimate
  • Bar \bar{x}: overbar / mean
  • Overline \overline{x}: overline (longer than \bar)

Related Accents symbols

ẋ\dot{x}ẍ\ddot{x}x́\acute{x}x̀\grave{x}x̌\check{x}x̆\breve{x}x̊\mathring{x}x̃\widetilde{xy}x̲\underline{x}x̂\hat{x}x̃\tilde{x}x̄\bar{x}x̄\overline{x}x\overbrace{x}^{n}

Math accents in LaTeX: the full table or search all 350+ LaTeX symbols.

FAQ

How do you write widehat (x̂) in LaTeX?

Use \widehat{xy} in math mode; it needs no extra package. For example, $\widehat{xy}$.

Which package provides \widehat{xy}?

None: \widehat{xy} is built into LaTeX, so no extra package is required.

latexci

Free LaTeX tools for researchers and students, in any browser. No paid plan, no advertising.

Star on GitHubBuy me a coffee

Tools

Live PreviewBibTeX ToolsDOI → BibTeXarXiv → BibTeXPubMed → BibTeXISBN → BibTeXLaTeX DiffWord → LaTeXSymbol SearchTable GeneratorTemplatesCV Generator

Learn

Academics hubLife after OverleafFreeGitHub

Community

DiscordGitHub IssuesFeature Requests

© 2026 latexci. By Sitraka Forler, sitraka.lu

PrivacyTerms