Assume a line from A to B. At p% (or p mm/cm) of the distance from A to B, starting from A, I want to "turn" using a radius r and an angle y relative to the AB direction (y=0 is in the direction of the line AB, 90=90 degrees to the left of the direction of the line AB, etc.) and place a text there.
The following command,
\node at ($(A)!0.5!10:(B)$){x};
angles the 'x' 10 degree to the horizontal plane, around A (not at the 50% distance) with the radius 50% of the distance between A and B but I like to have a more general command where I can specify the radius and angle, relative to the line direction at p% of the line distance, starting from A. Is this possible? TIA! (I'm sorry for the confusing description/question!)

\documentclass[tikz]{standalone} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \coordinate (a) at (1,0); \coordinate (b) at (3,1); \draw (a) -- (b); \path ($ ($ (a)!.5!(b) $)!1cm!90:(b) $) node{x}; \end{tikzpicture} \end{document}where.5is the fraction,1cmthe radius and90the angle. You can adjust each of these as you like. – Aug 19 '19 at 19:42calclibrary allows you to specify the radius and angle of rotation. What do you think is not enough when using this library? – AndréC Aug 20 '19 at 06:13