How to Type ē (E with macron) 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 \={e}, and there are a few backups below for when that one is not available.
ē on LaTeX: \={e}
Ē on LaTeX: \={E}
Or copy it:
Method 1: LaTeX command
Write \={e} 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 $\bar{e}$. 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 \={E} 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+0113, named LATIN SMALL LETTER E WITH MACRON. It is used in Latvian, Mandarin Pinyin, Māori and Hawaiian. A flat bar above a vowel, used for long vowels in Latvian, Lithuanian, Māori, Hawaiian and Latin textbooks, and for the first tone in Pinyin. 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?
\={e}.
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+0113. In HTML it is ē.
Related guides
- How to Type ē (E with macron) on Windows
- How to Type ē (E with macron) on Mac
- How to Type ē (E with macron) on iPhone
- How to Type ē (E with macron) on Android
- How to Type ē (E with macron) on Microsoft Word
- How to Type ē (E with macron) on Google Docs
- How to Type ū (U with macron) on LaTeX
- How to Type ā (A with macron) on LaTeX
- How to Type ī (I with macron) on LaTeX
- How to Type ō (O with macron) on LaTeX