How to Type ĝ (G with circumflex) on LaTeX
Need ĝ on LaTeX for a name, an address or a word in another language? You do not have to copy it from a website every time. The fastest method is \^{g}, and there are a few backups below for when that one is not available.
ĝ on LaTeX: \^{g}
Ĝ on LaTeX: \^{G}
Or copy it:
Method 1: LaTeX command
Write \^{g} in text mode. Load \usepackage[T1]{fontenc} for correct hyphenation and copy-paste from the PDF.
Method 2: Type the character directly
Since 2018 pdfLaTeX reads UTF-8 by default, so you can paste ĝ into your source. On Overleaf, set the compiler in Menu → Compiler.
Method 3: In math mode
For a variable with this accent, use $\hat{g}$. Math accents are for symbols, so use the text command for words.
How to type the capital Ĝ
The uppercase form works the same way with Shift added where a letter is typed.
LaTeX command
Write \^{G} in text mode. Load \usepackage[T1]{fontenc} for correct hyphenation and copy-paste from the PDF.
Type the character directly
Since 2018 pdfLaTeX reads UTF-8 by default, so you can paste Ĝ into your source. On Overleaf, set the compiler in Menu → Compiler.
About the letter ĝ
ĝ is Unicode U+011D, named LATIN SMALL LETTER G WITH CIRCUMFLEX. It is used in Esperanto. A small caret (^) above a vowel. In French it often marks a vanished s (forêt from forest), in Portuguese a closed vowel, in Welsh a long vowel, and in Vietnamese a distinct vowel (â, ê, ô). See the ĝ character page for every code and shortcut.
Troubleshooting
- Accents on i and j need the dotless forms \i and \j in old LaTeX; modern LaTeX handles this automatically.
- If the letter is missing in the PDF, the font lacks it. Switch to XeLaTeX or LuaLaTeX with a broader font.
- Wrap commands in braces when the next character is a letter: \'{e}x, not \'ex.
Frequently asked questions
What is the shortcut for ĝ on LaTeX?
\^{g}.
Can I just copy and paste ĝ?
Yes. Click the copy button above, then paste with Ctrl+V on Windows and Chromebook, Cmd+V on a Mac, or touch and hold and choose Paste on a phone.
What is the Unicode code for ĝ?
U+011D. In HTML it is ĝ.
Related guides
- How to Type ĝ (G with circumflex) on Windows
- How to Type ĝ (G with circumflex) on Mac
- How to Type ĝ (G with circumflex) on iPhone
- How to Type ĝ (G with circumflex) on Android
- How to Type ĝ (G with circumflex) on Microsoft Word
- How to Type ĝ (G with circumflex) on Google Docs
- How to Type ċ (C with dot above) on LaTeX
- How to Type ė (E with dot above) on LaTeX
- How to Type ğ (G with breve) on LaTeX
- How to Type ġ (G with dot above) on LaTeX