3

Is it possible to combine the left and right option for arrows with options like length and witdth? I’d like to create an path ending in a 45° angle like this:

enter image description here

So I tried to combine the above mentioned options, but the following MWE doesn’t give the expected result …

enter image description here

\documentclass{article}

\usepackage{tikz}
\usetikzlibrary{arrows.meta}

\tikzset{
   angled line/.style = {
      line width = 2mm,
      -{Triangle[left,width=2mm,length=2mm]}
   },
}

\begin{document}
   \begin{tikzpicture}
      \draw [angled line] (0,0) -- (2,0);
   \end{tikzpicture}
\end{document}

Do these options interfere with each other?

Tobi
  • 56,353

1 Answers1

1

Answer in the comments by user Symbol 1:

Try -{.Butt Cap[slant=-1]}

Tobi
  • 56,353