Skip to content

Instantly share code, notes, and snippets.

@moewew
Created July 5, 2020 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moewew/52fd825cfdd491656ab3248eda6e6f66 to your computer and use it in GitHub Desktop.
Save moewew/52fd825cfdd491656ab3248eda6e6f66 to your computer and use it in GitHub Desktop.
% 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