Symbols – How to Write an E with a Circle Around the Middle Line

symbols

I want to type the symbol enter image description here

in latex. What should I do? I guess I have to define the symbol. How to do it in latex?

Best Answer

Adjusting the 2nd and 4th arguments to \stackinset will adjust the (x,y) location of the \circ inset.

\documentclass{article}

\usepackage{stackengine}
\newcommand\Ecirc{\stackinset{r}{}{c}{-.1pt}{$\circ$}{E}}

\begin{document}

This is \Ecirc.

\end{document}

enter image description here

If you need it to work for different script styles in math mode, then the above approach can be adapted:

\documentclass{article}

\usepackage{stackengine,scalerel}
\newcommand\Ecirc{\ThisStyle{\stackinset{r}{}{c}{-.1pt}
  {$\SavedStyle\circ$}{$\SavedStyle\mathrm{E}$}}}

\begin{document}

This is \Ecirc{} and $x^{\Ecirc}$.

\end{document}

enter image description here

Related Question