我想知道是否有任何方法可以让 smartdiagram 制作带边框的气泡,例如行星和卫星周围的黑色边框。这是我尝试过的代码,但无济于事。任何帮助都非常感谢。
\documentclass[11 pt, a4paper]{article}
\usepackage{smartdiagram}
\begin{document}
\smartdiagramset{border color = black,
uniform color list=blue!30 for 8 items,
bubble center node color = blue!50,
bubble center node size=5cm,
bubble node size=3cm
}
\smartdiagram[bubble diagram]{A,
B, C, D, E, F, G, H, I}
\end{document}
答案1
是的。
\documentclass[tikz,border=3.14mm]{standalone}
\usepackage{smartdiagram}
\begin{document}
\smartdiagramset{border color = black,
uniform color list=blue!30 for 8 items,
bubble center node color = blue!50,
bubble center node size=5cm,
bubble node size=3cm
}
\tikzset{bubble node/.append style={draw=black}}
\smartdiagram[bubble diagram]{A,
B, C, D, E, F, G, H, I}
\end{document}
答案2
效果很好!非常感谢!如果有人对如何获取我查询的 ab/w 气泡图感兴趣,下面是代码:
\documentclass[tikz,border=3.14mm]{standalone}
\usepackage{smartdiagram}
\begin{document}
\smartdiagramset{border color = black,
uniform color list=blue!30 for 8 items,
bubble center node color = none,
bubble fill opacity=0,
bubble center node size=5cm,
bubble node size=3cm
}
\tikzset{bubble center node/.append style={draw=black, thin},
bubble node/.append style={
draw=black, thin}
}
\smartdiagram[bubble diagram]{A,
B, C, D, E, F, G, H, I}
\end{document}