我也来贡献一个可能的答案吧...
我其实见过Qrrbrbirlbel在这里的一个神级操作
\documentclass[tikz,border=8pt]{standalone}
\begin{document}
\begin{tikzpicture}
\path[draw]
foreach \x[
evaluate = \x as \angle using {360/12*(\x+1/2)}
] in {0,...,11} {
node[
shape=circle, color=black, draw, fill,
inner sep=+0pt, minimum size=+2pt,
label = {[anchor=\angle+180]{\angle}:$\x$},
] (a\x) at (\angle:1) {}
}
plot [sharp cycle, samples at = {0,...,11}] (a\x.center);
\end{tikzpicture}
\end{document}出于一些我比较菜的原因...我不知道是否有办法对plot加上-latex...


























问 foreach在处理首尾相连问题时,「0,2,3,...,11」对于「11到0」的处理时如何避免特殊判断