I'm trying to draw a diagram in TikZ with 45-degree lines, and I want to label these lines in such a way that the text of the label is also angled at 45 degrees. However I'm also interested in how to set it to a general angle. Basic example:
\documentclass{report}
\usepackage{tikz}
\begin{document}
\draw[thick] (-3,3) -- (3,-3)
\end{document}
I want to create labels at either end of this line, which have been rotated -45 degrees from horizontal, and which lie above-right of the line. Can anybody help me, please?

\documentclass{...}and ending with\end{document}. – Peter Jansson May 26 '13 at 11:10