2

In this example:

\documentclass{standalone}

\usepackage{tikz}

\usepackage[utf8]{inputenc}

 

\begin{document}

               \begin{tikzpicture}[xscale=5,yscale=3]      

                              \tikzset{aufgabe/.style={fill=yellow}}        

                              \tikzset{pfeile/.style={->}}

                              \node [aufgabe] (i1) at (3,10) {Item1};     

                              \node [aufgabe,nearly opaque] (i2) at (4,9) {Item2};         

                              \draw [pfeile] (i1)--(i2)  node[sloped,midway,above]{Text};            

               \end{tikzpicture}

\end{document}

Why does Text not get tilted to the correct angle?

enter image description here

3

Not an answer but I hope it helps.

\begin{tikzpicture}[x=5cm,y=3cm]

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.