Accents\hat

\hatCommand

Used to place a hat accent over variables, estimators, transforms, and grouped expressions.

\hat{i}
Topic
Accents
Available in
base
Kind
prefix
Allowed mode
math
Frequency
4.65% of corpus formulasrank 13 of 263
Commonality
high
Tags
decoration
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: FullXeTeX: Full
About the test scope

Syntax#

\hatm{a}math content

Argspec m — one mandatory argument. Reading argspecs

Common tasks#

How to put a hat on a variable#

\hat{x}

How to write an estimator#

\hat{\theta}_n

How to hat a longer expression#

\hat is for one character; \widehat stretches over several.

\widehat{AB}

In TeXForm#

TeXForm parses this entry as prefix syntax; the package determines its argument specification.

Equivalent forms#

  • \widehat{#1}approximate

    For short bases this is usually similar, but \widehat is intended for wider grouped content.

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
\hat{a}Positive · baselinePassPassPass
\hat aPositive · bare[0]PassPassPass
All 45 in Accents