I would like to decorate an angle's mark in a similar way as in this picture (taken from this question):
From this answer I could build this:
\documentclass[a4paper,12pt]{article}
\usepackage{tikz}
\usetikzlibrary{arrows,angles,decorations.markings,arrows.meta}
\tikzset{mydeco/.style={pic actions/.append code=\tikzset{postaction=decorate}}}
\begin{document}
\begin{tikzpicture}[>=latex, decoration={ markings, mark= at position 0.5 with {\arrow{|}} } ]
% Declare Points
\coordinate (A) at (0,0);
\coordinate (X) at (6,1);
\coordinate (Y) at (3,5);
\draw[thick] (X) -- (A) -- (Y)
pic [mydeco, draw, thick, angle radius = 0.5 cm] {angle = X--A--Y};
% Label Points
\draw (A) node[below left] {$A$};
\draw (X) node[below right] {$x$};
\draw (Y) node[above left] {$y$};
\end{tikzpicture}
\end{document}
It looks like a good start, but:
I cannot figure out how to double, or triple the decoration mark.
If I change only the "at position" number from 0.5 to 0.6, for instance, then, although I would expect the position of the decoration to change, I do get, instead, a doubled decoration but I have no idea why (plus it is not centered anymore, so it's apparently not possible to control this doubling):
Note: I loaded arrows.meta too in order to try things with these arrows tips, but could not get anything satisfying.




\arrow{Bar[sep]Bar[sep]Bar[]}instead of\arrow{|}... – Paul Gaborit Jan 18 '18 at 15:57