Continuing Drawing parallelogram with fixed angle, width and height? , I'm still failing to understand how to get exactly the same paralellogram shape regardless of the text inside as long as the text fits. Here is an MWE:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes}
\begin{document}
\begin{tikzpicture}[leftTiltedParallelogram/.style={very thin, trapezium, draw, minimum width=5em, minimum height=10ex, trapezium left angle=-75, trapezium right angle=75, inner sep=1pt, trapezium stretches=true, trapezium stretches body=true, align=center}]
\node[leftTiltedParallelogram] (A) {\begin{tabular}{@{}c@{}}line1\\line2\end{tabular}};
\node[leftTiltedParallelogram,anchor=west] (B) at (A.east) {\begin{tabular}{@{}c@{}}line1\\line2\\line3\end{tabular}};
\end{tikzpicture}
\end{document}
The output produced by pdflatex
shows two parallelograms of different angles although the text (either two-lined or three-lined) would fit into any of the two parallelograms.
So, how to forbid TikZ to fiddle with the paralellogram size, including the angles? (In my actual tikz-picture, I have dozens of such parallelograms with two or three lines of text, and I'd like to specify their exact form once and for all without making all of them BIG.)
