\documentclass{article}\usepackage{tikz}\usetikzlibrary{arrows.meta}\tikzset{umlinheritstyle/.style={color=black, -Triangle[angle=45:4pt]},}\NewDocumentCommand{\umlinherit}{m m O{--}}{\path[draw,umlinheritstyle] (#1) #3 (#2);}\begin{document}\begin{tikzpicture}\umlinherit{A}{B}\end{tikzpicture}\end{document}

解决 LaTeX 中 pgf 包的 Unknown arrow tip kind 'angle 45' 错误

原文地址: https://www.cveoy.top/t/topic/qb75 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录