Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
% based on https://tex.stackexchange.com/a/134836/35864
% by percusse (https://tex.stackexchange.com/users/3235/percusse)
\documentclass[tikz]{standalone}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\def\radi{{"\mathtt{a}","\mathtt{b}","\mathtt{c}","\mathtt{d}"}}
\foreach \x/\a [
count=\n,
evaluate=\x as \myvar using ({\radi[\x]})
] in {0/15,1/345,2/345,3/345}
\draw[very thin, draw=red!50!white]
(0,0) circle [radius={\n}]
node at (\a:\n) {$\myvar$};
\end{tikzpicture}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment