I use the sloped option to place slanted nodes along arrows in tikz. Now if that text contains clickable references with the hyperref package, they are not sloped. The text and the link are not aligned. Is there any way to rotate them too? Is this a bug in tikz?
These answers here don't help because I don't know the angle of rotation. It is computed by tikz.
Here is the minimal non working example for me:
\section{abc}\label{s:a}
One section
\section{def}\label{s:b}
Another section
\begin{tikzpicture}
\node[rectangle, fill] (one) {} ;
\node[rectangle, fill, right=5cm of one,yshift=3cm] (two) {};
\path (one) edge[-,bend right=-31, near start] node[sloped,above] {\ref{s:a}~~~\ref{s:b}} (two);
\end{tikzpicture}
Result: The link for the two sits below the two, because the linkbox is not sloped.
