• Free forever
  • No sign-up
  • Private — runs in your browser

Hat in LaTeX

The LaTeX command for hat is \hat{x}. Try it in the editor below.

Loading the math renderer…

How to write hat in LaTeX

Use \hat{x} in math mode — between $…$ in a document, or directly in the editor above.

LaTeX command\hat{x}
NotesWide: \widehat{xyz}

Example

\hat{\imath},\ \hat{\jmath}

The editor above is pre-filled with this example — tweak it and export it as PNG, SVG or a Word equation.

More accents

SymbolCommand
Vector arrow\vec{v}
Bar (overline)\bar{x}
Dot (time derivative)\dot{x}
Tilde\tilde{x}

See every LaTeX symbol →

Related

← Back to the full LaTeX Equation Editor