I am using the IEEE ACCESS template and in my paper, I am using the following equation code where I want to show the alphabet on the circle. How can I use it? The equation code is working but gives me a warning

Command \textcircled invalid in math mode on input line 189.

How can I remove this warning?


    \tilde \uptau &=T_{\tcircle{A},i}-T_1
  • 1
    Hi and welcome to TeX.SX. It would be much easier for us to help you with the problem if you give us a Minimal Working Example from \documentclass{ieeeaccess} and ending with \end{document} that recreates the problem
    – Elad Den
    Oct 7, 2020 at 10:16
  • Also, you should consider this answer: tex.stackexchange.com/a/123926/90297
    – Elad Den
    Oct 7, 2020 at 10:19

2 Answers 2


Move \textcircled inside the \raisebox command. As the error message says, \textcircled has to be used in text mode, not math mode.

    \textcircled{\fontsize{7pt}{0}\fontfamily{phv}\selectfont #1}%

enter image description here

  • 1
    Thank you so much. It worked for me. Oct 7, 2020 at 11:05

Using a mix of packages including harmony and scalerel to decrease or increase the text-circle "symbol" to have a good subscript, with this new macro, different from the original of the OP,


you can obtain this MWE:



... with this output that have the same font into the circle:

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .