我想要一个带有大箭头的圆弧,但是当我这样做时,它会弄乱圆弧的同心度:
\documentclass[border=2mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc, arrows.meta}
\begin{document}
\begin{tikzpicture}[
bigframearrow/.style={-{Latex[length=12mm,width=8mm]}, line width=3mm},
]
\definecolor{myorange}{rgb}{1.0,0.5,0}
\def\R{5cm}
\fill[gray] (0,0) circle (\R);
\draw[bigframearrow, myorange] (60:\R+0.2cm) arc (60:120:\R+0.2cm);
\draw[black] (60:\R+0.2cm) arc (60:120:\R+0.2cm);
\end{tikzpicture}
\end{document}
有什么办法可以解决吗?
答案1
您可以通过添加bending
库来避免这种情况。
\documentclass[border=2mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc, arrows.meta, bending}
\begin{document}
\begin{tikzpicture}[
bigframearrow/.style={-{Latex[length=12mm,width=8mm]}, line width=3mm},
]
\definecolor{myorange}{rgb}{1.0,0.5,0}
\def\R{5cm}
\fill[gray] (0,0) circle (\R);
\draw[bigframearrow, myorange] (60:\R+0.2cm) arc (60:120:\R+0.2cm);
\draw[black] (60:\R+0.2cm) arc (60:120:\R+0.2cm);
\end{tikzpicture}
\end{document}