In the following code I have created a bullseye symbol. What I want to do is to allow its size to change dynamically both globally (document class option say 10pt, 11pt or 12pt) or locally by using \small, \large, and any command that declares size. That is if in the options of the document class you have 10pt as an option then the symbol will have a size of 10pt if used in the document unless enclosed in {\small} or the sort in which case its size will adjust dynamically to the document settings.
\documentclass[10pt]{article}
\usepackage{tikz}
\usepackage{amsmath}
\usepackage{graphicx}
\newcommand{\bullseye}{%
\tikz{%
\filldraw (0,0) circle (0.6em);
\filldraw[white] (0,0) circle (0.4em);
\filldraw (0,0) circle (0.2em);
}
}
\begin{document}
{\small\bullseye sample text} sample text % as you can see no change.
\end{document}

.6em,.4emand.2em– egreg Feb 27 '13 at 18:48emis better as it is withexwith height right? – azetina Feb 27 '13 at 18:50ex) or you prefer the horizontal dimension (em). – egreg Feb 27 '13 at 19:02