Circled numbers[①❷➂⓸⓹㉍㉈⓷] in LaTeX

Here is the circledtext package to create circled numbers

\usepackage{circledtext}

Here is an example

\begin{document}{
\circledtext*{2}\quad
\circledtext{222}\quad
\circledtext*{3}\quad
\circledtext*{999}
}
\end{document}

Did you know? You can change the circle text color

\begin{document}{
\circledtext[charcolor=red]{2}\quad
\circledtext[charcolor=blue]{222}\quad
\circledtext[charcolor=yellow]{3}\quad
\circledtext[charcolor=green]{999}
}
\end{document}

But wait! You can even change the box color

\begin{document}{
\circledtext[boxcolor=red]{2}\quad
\circledtext[boxcolor=blue]{222}\quad
\circledtext[boxcolor=yellow]{3}\quad
\circledtext[boxcolor=green]{999}
}
\end{document}

Let’s fill the circle with color

\begin{document}{
\circledtext*[boxfill=yellow!30]{2}\quad
\circledtext[boxfill=red!30]{222}\quad
\circledtext*[boxfill=red!30]{3}\quad
\circledtext*[boxfill=blue!30]{999}
}
\end{document}

Here are the Circled Numbers on Black Square

\begin{document}{
\circledtext[boxtype=Oo ]{1}\quad
\circledtext[boxtype=Oo ]{2}\quad
\circledtext[boxtype=Oo ]{3}\quad
\circledtext[boxtype=Oo ]{4}
\end{document}

Here are the  squared numbers

\begin{document}{
\circledtext[boxtype=O ]{1}\quad
\circledtext[boxtype=O ]{2}\quad
\circledtext[boxtype=O ]{3}\quad
\circledtext[boxtype=O ]{4}
}
\end{document}

Here are the  Double square numbers

\begin{document}{
\circledtext[boxtype=OO,charshrink=0.35,
boxlinewidth=0.0pt ]{1}\quad
\circledtext[boxtype=OO,charshrink=0.35,
boxlinewidth=0.0pt ]{2}\quad
\circledtext[boxtype=OO,charshrink=0.35,
boxlinewidth=0.0pt ]{3}\quad
\circledtext[boxtype=OO,charshrink=0.35,
boxlinewidth=0.0pt ]{4}
\end{document}

Here are the black Circled Numbers on the white Black Square

\begin{document}{
\circledtext*[boxtype=Oo,charshrink=0.35,
boxlinewidth=0.0pt]{1}\quad

\circledtext*[boxtype=Oo,charshrink=0.35,
boxlinewidth=0.0pt ]{2}\quad
\circledtext*[boxtype=Oo,charshrink=0.35,
boxlinewidth=0.0pt ]{3}\quad
\circledtext*[boxtype=Oo,charshrink=0.35,
boxlinewidth=0.0pt ]{4}
}
\end{document}

Here are the  black squared numbers

\begin{document}{
\circledtext*[boxtype=OO,charshrink=0.35,
boxlinewidth=0.0pt]{1}\quad

\circledtext*[boxtype=OO,charshrink=0.35,
boxlinewidth=0.0pt ]{2}\quad
\circledtext*[boxtype=OO,charshrink=0.35,
boxlinewidth=0.0pt ]{3}\quad
\circledtext*[boxtype=OO,charshrink=0.35,
boxlinewidth=0.0pt ]{4}
}
\end{document}

Here are the  Double Circled Number

\begin{document}{
\circledtext[boxtype=oo,charshrink=0.35,
boxlinewidth=0.0pt ]{1}\quad
\circledtext[boxtype=oo,charshrink=0.35,
boxlinewidth=0.0pt ]{2}\quad
\circledtext[boxtype=oo,charshrink=0.35,
boxlinewidth=0.0pt ]{3}\quad
\circledtext[boxtype=oo,charshrink=0.35,
boxlinewidth=0.0pt ]{4}
\end{document}

You know what? You can even write text inside the circle

\begin{document}{
\circledtext[basechar=M]{One}\quad
\circledtext[basechar=M ]{Two}\quad
\circledtext[basechar=M ]{Three}\quad
\circledtext[basechar=M ]{four}\quad
}
\end{document}

    Is it possible to set the height of a circled number? Yep, you can

    \begin{document}{
    \circledtextset{resize=real}
    \circledtext[height=1.0ex]{10}\quad
    \circledtext[height=2.0ex ]{10}\quad
    \circledtext[height=3.0ex ]{10}\quad
    }
    \end{document}

    Can we shrink the text ratio in the circle?

    Ya sure! Why not

    Let me help you

    \begin{document}{
    \circledtextset{resize=real}
    \circledtext[charshrink=0.75]{2}\quad
    \circledtext[charshrink=1.00]{2}\quad
    \circledtext[charshrink=0.50]{2}\quad
    \circledtext[charshrink=0.25]{2}
    }
    \end{document}

    What about roman numbers?

    I like to insert roman numbers inside the circle

    Okay,

    Let me help you

    But wait!

    Here you have to use a new package to use Roman numbers

    A word of caution! You need to use both the packages in your LaTeX document

    \usepackage{circledtext}
    \usepackage{romannum}
    • \romannum{1} for Lowercase roman numbers
    • \Romannum{1} for Uppercase roman numbers.
    \begin{document}{
    \circledtext{\romannum{1}}\quad
    \circledtext{\romannum{2}}\quad
    \circledtext{\romannum{3}}\quad
    \circledtext{\romannum{4}}\quad
    }
    \end{document}

    \begin{document}{
    \circledtextset{boxcolor=yellow}
    \circledtext[boxtype=oo ]{88}\quad
    \circledtext[boxtype=Oo ]{88}\quad
    \circledtext[boxtype=OO ]{88}\quad
    \circledtext*[boxtype=oo ]{88}\quad
    \circledtext*[boxtype=Oo ]{88}\quad
    \circledtext*[boxtype=OO ]{88}
    }
    \end{document}

    Here is the newtxtext package to create circled numbers

    Caution! It can create numbers only from 0 to 99 not more than that

    \usepackage{newtxtext}
     \textcircled{0}
    \textcircled{0}
     \textcircled{1}
    \textcircled{1}
     \textcircled{2}
    \textcircled{2}
     \textcircled{30}
    \textcircled{30}
     \textcircled{40}
    \textcircled{40}
     \textcircled{99}
    \textcircled{99}

    You know what?

    You can enter alphabets inside the circle

     \textcircled{a}
    \textcircled{a}
     \textcircled{b}
    \textcircled{b}
     \textcircled{c}
    \textcircled{c}
     \textcircled{de}
    \textcircled{de}
     \textcircled{fg}
    \textcircled{fg}
     \textcircled{hi}
    \textcircled{hi}

    Oh, by the way, You can even enter Roman numbers inside a circle

    At this time, you need to add both packages as mentioned below

    \usepackage{newtxtext}
    \usepackage{romannum}
     \textcircled{\romannum{0}}
    \textcircled{\romannum{0}}
     \textcircled{\romannum{1}}
    \textcircled{\romannum{1}}
     \textcircled{\romannum{2}}
    \textcircled{\romannum{2}}
     \textcircled{\romannum{3}}
    \textcircled{\romannum{3}}
     \textcircled{\romannum{4}}
    \textcircled{\romannum{4}}
     \textcircled{\romannum{5}}
    \textcircled{\romannum{5}}
     \textcircled{\romannum{6}}
    \textcircled{\romannum{6}}
     \textcircled{\romannum{7}}
    \textcircled{\romannum{7}}
     \textcircled{\romannum{8}}
    \textcircled{\romannum{8}}
     \textcircled{\romannum{9}}
    \textcircled{\romannum{9}}
     \textcircled{\romannum{10}}
    \textcircled{\romannum{10}}

    Here is the pifont package to create circled numbers

    Caution! It can create numbers only from 1 to 10 not more than that

    \usepackage{pifont}
    
     \text{\ding{172}}
    \ding{172}
     \text{\ding{173}}
    \ding{173}
     \text{\ding{174}}
    \ding{174}
     \text{\ding{175}}
    \ding{175}
     \text{\ding{176}}
    \ding{176}
     \text{\ding{177}}
    \ding{177}
     \text{\ding{178}}
    \ding{178}
     \text{\ding{179}}
    \ding{179}
     \text{\ding{180}}
    \ding{180}
     \text{\ding{181}}
    \ding{181}

     \text{\ding{182}}
    \ding{182}
     \text{\ding{183}}
    \ding{183}
     \text{\ding{184}}
    \ding{184}
     \text{\ding{185}}
    \ding{185}
     \text{\ding{186}}
    \ding{186}
     \text{\ding{187}}
    \ding{187}
     \text{\ding{188}}
    \ding{188}
     \text{\ding{189}}
    \ding{189}
     \text{\ding{190}}
    \ding{190}
     \text{\ding{191}}
    \ding{191}

     \text{\ding{192}}
    \ding{192}
     \text{\ding{193}}
    \ding{193}
     \text{\ding{194}}
    \ding{194}
     \text{\ding{195}}
    \ding{195}
     \text{\ding{196}}
    \ding{196}
     \text{\ding{197}}
    \ding{197}
     \text{\ding{198}}
    \ding{198}
     \text{\ding{199}}
    \ding{199}
     \text{\ding{200}}
    \ding{200}
     \text{\ding{201}}
    \ding{201}

     \text{\ding{202}}
    \ding{202}
     \text{\ding{203}}
    \ding{203}
     \text{\ding{204}}
    \ding{204}
     \text{\ding{205}}
    \ding{205}
     \text{\ding{206}}
    \ding{206}
     \text{\ding{207}}
    \ding{207}
     \text{\ding{208}}
    \ding{208}
     \text{\ding{209}}
    \ding{209}
     \text{\ding{210}}
    \ding{210}
     \text{\ding{211}}
    \ding{211}

    Mohammed Anees

    Hey there, welcome to aneescraftsmanship I am Mohammed Anees an independent developer/blogger. I like to share and discuss the craft with others plus the things which I have learned because I believe that through discussion and sharing a new world opens up

    Leave a Reply

    Your email address will not be published.