9

Referring to this question, how can I draw a checkmark inside a solid circle as shown as a picture?

Regards

https://i.stack.imgur.com/ZefqB.png

manish
  • 9,111

2 Answers2

10

One option:

\documentclass{article}
\usepackage{amssymb}

\begin{document}

\textcircled{$\checkmark$}

\end{document}

enter image description here

Or, with color:

\documentclass{article}
\usepackage{amssymb}
\usepackage{xcolor}

\newcommand\circledmark[1][red]{%
\textcolor{#1}{\textcircled{\normalcolor$\checkmark$}}%
}

\begin{document}

\circledmark\quad\circledmark[cyan]

\end{document}

enter image description here

suppress \normalcolor if the color is also for the checkmark.

Or, using TikZ and a filled circle, two options:

\documentclass{article}
\usepackage{amssymb}
\usepackage{tikz}

\newcommand\circledmark[1][red!50]{%
  \tikz\node[circle,fill=#1,inner sep=0pt]{$\checkmark$};%
}

\newcommand\circledmarki[1][red!50]{%
  \tikz[baseline=(A.south)]{
    \node[circle,fill=#1,inner sep=0.75ex] (A) {};
    \node at (A) {$\checkmark$};
  }%  
}

\begin{document}

\circledmark\quad\circledmark[cyan!60]\quad\circledmarki\quad\circledmarki[cyan!60]

\end{document}

enter image description here

And, after a request in a comment:

\documentclass{article}
\usepackage{amssymb}
\usepackage{tikz}

\newcommand\circledmark[1][red!50]{%
  \tikz\node[circle,fill=#1,inner sep=0pt]{$\checkmark$};%
}

\newcommand\circledmarki[1][red!50]{%
  \tikz[baseline=(A.south)]{
    \node[circle,fill=#1,inner sep=0.75ex] (A) {};
    \node at (A) {$\checkmark$};
  }%  
}

\newcommand\mycircle[1][red!50]{%
  \tikz[baseline=(A.south)]{
    \node[circle,fill=#1,inner sep=0.75ex] {};
  }%  
}

\begin{document}

\circledmark\quad\circledmark[cyan!60]\quad
\circledmarki\mycircle\quad\circledmarki[cyan!60]\mycircle[cyan!60]

\end{document}

enter image description here

Gonzalo Medina
  • 505,128
8

Without tikz

\documentclass{article}
%\usepackage{dingbat}
\usepackage{amssymb}
\usepackage{graphicx,xcolor}

\newcommand\circledmark[1][red]{%
  \ooalign{%
    \hidewidth
    \kern0.65ex\raisebox{-0.9ex}{\scalebox{3}{\textcolor{#1}{\textbullet}}}
    \hidewidth\cr
    $\checkmark$\cr
  }%
}

\newcommand\circled[1][red]{%
    \raisebox{-0.9ex}{\scalebox{3}{\textcolor{#1}{\textbullet}}}
  }%

\begin{document}

This is circled \circledmark\quad\circledmark[cyan] and filled \circled[cyan]

\end{document}

enter image description here