Plurimath

`hat` (unary)

Hat

AsciiMath

hat(x)

LaTeX

\hat{x}

MathML

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mstyle displaystyle="true">
    <mover>
      <mi>x</mi>
      <mo>^</mo>
    </mover>
  </mstyle>
</math>

OMML

<m:oMathPara>
  <m:oMath>
    <m:limUpp>
      <m:limUppPr>
        <m:ctrlPr>
          <w:rPr>
            <w:rFonts w:ascii="Cambria Math" w:hAnsi="Cambria Math"/>
            <w:i/>
          </w:rPr>
        </m:ctrlPr>
      </m:limUppPr>
      <m:e>
        <m:r>
          <m:t>x</m:t>
        </m:r>
      </m:e>
      <m:lim>
        <m:r>
          <m:t>&#x302;</m:t>
        </m:r>
      </m:lim>
    </m:limUpp>
  </m:oMath>
</m:oMathPara>