\usepackage{pgffor} \usetikzlibrary{math} \usepackage{standalone}