I want to write a theorem with letter G, which has over ^ it. I tried $G^{\^}$, but that doesn't work.
Asked
Active
Viewed 3.4k times
1 Answers
16
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
Ĝ
David Carlisle
- 757,742
\hat{G}..... – David Carlisle Oct 23 '14 at 19:26Gis uppercase, maybe$\widehat{G}$. – dedded Oct 23 '14 at 19:28^not as an accent over a letter. – David Carlisle Oct 28 '14 at 21:13$\hat{a}$was exactly analogous to$\hat{G}$and that$\widehat{abc}$there was analogous to$\widehat{G}$here (maths). Similarly,\^athere seems analogous to\^{G}here (text) except that it might be better to use the curly brackets. That is exactly what I think of as a to bach accent i.e. a circumflex. You might be right about the question, though. – cfr Oct 28 '14 at 21:18\^{}or\textasciicircumflexor\verb|^|– David Carlisle Oct 28 '14 at 21:23^symbol in isolation, which is a quite different question with rather different answers as well. – Marijn Jul 26 '21 at 10:31