Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

Regards

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

share|improve this question

2 Answers 2

up vote 5 down vote accepted

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

share|improve this answer

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

share|improve this answer
    
Great! but i need the same but filled circle and enclosing checkbox fully. –  manish Jul 31 at 2:25
    
@manish please see my updated answer. –  Gonzalo Medina Jul 31 at 2:27
    
Nice! We should remember that we can use light colors: cyan!40 for example. –  Sigur Jul 31 at 2:31
    
@Sigur good suggestion. I'veincorporated it to my answer. –  Gonzalo Medina Jul 31 at 2:33
    
@GonzaloMedina Thanks for quick reply can i draw one circle with no tick mark inside. I mean 2 circles side by side one with tick mark and other without. –  manish Jul 31 at 2:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.