I want to write a theorem with letter G
, which has over ^
it. I tried $G^{\^}$
, but that doesn't work.
[Tex/LaTex] How to write letters with a circumflex
math-mode
math-mode
I want to write a theorem with letter G
, which has over ^
it. I tried $G^{\^}$
, but that doesn't work.
Best Answer
TeX distinguishes text accents (usually with single symbol names like
\^
) from math accents (usually with multi-letter names like\hat
) so:In math:
or perhaps
In text:
Or if you specify a suitable input encoding such as
utf8
then you could just type the letter directly in text as