[Tex/LaTex] How to draw oval circle around a string

circlesstrings

How can I draw oval circle around a string? For example, when I have "1,3,4,6", how can I put them in a circle?

enter image description here

Best Answer

The shapes.misc library offers the rounded rectangle shape. You can also use the shadows library to add shadows.

\documentclass[border=3pt]{standalone}

\usepackage{tikz}
\usetikzlibrary{shapes.misc,shadows}

\begin{document}

\begin{tikzpicture}[baseline=(char.base)]
\node(char)[draw,fill=white,
  shape=rounded rectangle,
  drop shadow={opacity=.5,shadow xshift=0pt},
  minimum width=1.8cm]
  {1,3,4,6};
\end{tikzpicture}

\end{document}

enter image description here