I'm just working on a tikzpicture which represents a letter on which you look in a perspective. I just managed to realize this with the shadow and the perspective under Usage of xslant and rotation and shadows.
The goal is to use this letter as a template for many letters. So I just thought about placing writing either with nodes in tikz (possiblity 1) or with textblocks (possibility 2) as you can see in the code. If that works I want to define a command, for example \address which includes everything from the code of the adress so that I only have to change the Names and streets an so on.
All that is quite fine, but now I've got a problem:
The rotated writing in tikz is not really good, because it didn't rotate the line of the font but just the letters. And that's not really pretty :) Maybe there's another way to do this? I hope you can help me a little. Mayber you've got another idea for the problem? Thank you.
(The possiblity 2 in this way is not very useful, because it won't rotate the block, just the letters...)
Here's a working example:
\documentclass[a4paper]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tabu}
\usepackage{eurosym}
\usepackage{icomma}
\usepackage[absolute,overlay]{textpos}
\usepackage{pgf, tikz, pgfplots}
\usepackage{rotating}
\usepackage{graphicx}
\usetikzlibrary{
arrows,
shapes,
shadows.blur,
positioning,
calc,
intersections,
decorations.text,
backgrounds,
plotmarks,
shadings
}
\begin{document}
\begin{tikzpicture}[rotate=-3,xslant=0.1,scale=0.7,every node/.style={xslant=0.1,transform shape,rotate=1}]
\fill [color=black!20!white,opacity=0.5] (0.15,-2.15) -- (13.15,-2.15) -- (15.15,-20.15) -- (0.15,-20.15) -- cycle;
\draw [color=black!30, fill=white] (0,-2) -- (13,-2) -- (15,-20) -- (7.3,-20) arc (270:220:9.9cm and 3.5cm) arc (-20:0:4cm and 15cm) -- cycle;
%possibility 1:
\node at (1.5,-5.2) [right] {\scriptsize{XXX YYY}};
\node at (1.5,-5.6) [right] {\scriptsize{ZZZ Street}};
\node at (1.5,-6) [right] {\scriptsize{012345 AAAAA}};
\end{tikzpicture}
%possibility 2:
\begin{textblock*}{10cm}(7cm,7cm)
\begin{rotate}{-3}
\parbox[t]{10cm}{Lorem Ipsum\\ Blab\\Bla\\bla\\D\\D\\D\\D\\D}
\end{rotate}
\end{textblock*}
\end{document}