I need to put a number within a circle on top of a text (i.e., as an exponent). How to go about it?
I am doing something like
\raisebox{.5pt}{\textcircled{\raisebox{-.9pt} {8}}}
but unable to make it as an exponent of some word.
I need to put a number within a circle on top of a text (i.e., as an exponent). How to go about it?
I am doing something like
\raisebox{.5pt}{\textcircled{\raisebox{-.9pt} {8}}}
but unable to make it as an exponent of some word.
I think you need
\documentclass{article}
\newcommand{\mysup}[1]{\textsuperscript{\raisebox{.5pt}{\textcircled{\raisebox{-.8pt}{#1}}}}}
\begin{document}
Blah blah\mysup{8} blah
\end{document}
I think you took the \raisebox technique from Good way to make \textcircled numbers? and your question is a duplicate of Superscript outside math mode.