I would rotate the whole tikzpicture by a particular angle. I use the package rotating
for this purpose as mentioned in https://tex.stackexchange.com/a/199471/. But the Problem is that I would like to keep the inserted text upright. For example in the below image, the symbol "u" has been skewed. There is a related question in How to rotate the position of a node but not the text inside it but it does not use the 'rotating` package. The motivation is that when drawing a picture it is easier to draw the picture upright, then rotating it because the computation is easier.
To be precise, I would like that the node together with the text to be rotated but the text appear to be upright.
\documentclass{article}
\usepackage{tikz}
\usepackage{rotating}
\begin{document}
\begin{turn}{-37}
\begin{center}
\begin{tikzpicture}[scale=1]
\draw [->] (3.5, 1.5)-- (4.25, 3.75);
\node at (4.45, 3.75) {$u$};
\end{tikzpicture}
\end{center}
\end{turn}
\end{document}
rotate
key, i.e., addrotate=-37
to the options oftikzpicture
. The contents of a rotatebox or aturn
environment is rotated as a whole, you cannot exempt certain parts of it.center
environment into aturn
box.