![繪製姓名輪](https://rvso.com/image/472336/%E7%B9%AA%E8%A3%BD%E5%A7%93%E5%90%8D%E8%BC%AA.png)
答案1
下面的答案使用輪圖包,是我寫的。
顏色是使用 鍵透過列表定義的slices style{list}
。
在 key 中,wheel data style
我們使用\WClistcolors
which 來指涉給 key 的清單中的項目WClistcolors
。
\documentclass[border=6pt]{standalone}
\usepackage{wheelchart}
\begin{document}
\begin{tikzpicture}
\sffamily
\wheelchart[
data=,
radius={0.5}{3},
slices style{list}={yellow,red,blue,green},
start angle=40,
value=1,
WClistcolors={black,white,white,black},
wheel data=\WCvarA,
wheel data style={rotate=\WCmidangle,\WClistcolors}
]{%
Hanna,
Gabriel,
Fatima,
Eric,
Diya,
Beatriz,
Ali%
}
\end{tikzpicture}
\end{document}