答案1
您可以尝试arrows={-Computer Modern Rightarrow[line cap=round]}
,arrows={Latex}
或者arrows={-Triangle}
通过 TikZ 库arrows.meta
:
\documentclass[tikz,margin=1mm]{standalone}
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{tikzpicture}[line width=1mm]
\draw[blue,arrows={-Computer Modern Rightarrow[line cap=round]}]
(0,0) -- (1,0);
\draw[red,arrows={-Latex}]
(0,1) -- (1,1);
\draw[green,arrows={-Triangle}]
(0,2) -- (1,2);
\end{tikzpicture}
\end{document}
笔记:length
您可以通过一些参数(例如或)配置箭头的外观width
:
\draw[green,arrows={-Triangle[length=7mm,width=3mm]}] (0,2) -- (1,2);