# [Tex/LaTex] How to write letters with a circumflex

math-mode

I want to write a theorem with letter G, which has over ^ it. I tried $G^{\^}$, but that doesn't work.

TeX distinguishes text accents (usually with single symbol names like \^) from math accents (usually with multi-letter names like \hat) so:

In math:

$\hat{G}$


or perhaps

$\widehat{G}$


In text:

\^{G}


Or if you specify a suitable input encoding such as utf8 then you could just type the letter directly in text as

Ĝ