6 May 2008 05:59
matrix nodes with sloped option?
Paul Thompson <p.thompson <at> acfr.usyd.edu.au>
2008-05-06 03:59:03 GMT
2008-05-06 03:59:03 GMT
I was wondering why matrix nodes do not respond to the sloped option or
rotations?
\begin{tikzpicture}
\draw (0,0) --
node[sloped,above,near start]{A} %Normal node which slopes OK
node[sloped,above,matrix of nodes,ampersand replacement=\&]
{
A \& B \\
C \& D \\
} %matrix node which doesnt slope
(5,5);
\path(4,2) node[draw,transform shape,rotate=45,matrix of nodes,ampersand
replacement=\&]{
A \& B \\
C \& D \\
}; %matrix node which doesn't rotate
\path(6,2) node[draw,transform shape,rotate=45]
{
A
}; %node which rotates OK
\end{tikzpicture}
Thanks for the great package, pgf and tikz !
Thanks for your help.
regards,
(Continue reading)
RSS Feed