From 6bc1f5497cfb2f56d65c80a4c36ea3bad6dc046c Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 29 Oct 2010 00:31:31 +0000
Subject: pgf 2.10 (28oct10)

git-svn-id: svn://tug.org/texlive/trunk@20236 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex   | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'Master/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex')

diff --git a/Master/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex b/Master/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex
index c808f60d762..32024c047d6 100644
--- a/Master/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex
+++ b/Master/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex
@@ -7,7 +7,7 @@
 %
 % See the file doc/generic/pgf/licenses/LICENSE for more details.
 
-\ProvidesFileRCS $Header: /cvsroot/pgf/pgf/generic/pgf/modules/pgfmodulematrix.code.tex,v 1.1 2008/01/15 10:27:34 tantau Exp $
+\ProvidesFileRCS $Header: /cvsroot/pgf/pgf/generic/pgf/modules/pgfmodulematrix.code.tex,v 1.4 2010/08/24 21:28:58 tantau Exp $
 
 \usepgfmodule{shapes}
 
@@ -77,7 +77,7 @@
 %
 % Next, the whole resulting matrix, which is given as #7, is placed
 % inside a node whose name is given as #3, whose shape is #1, and
-% whose anchor is #1. This means that the resulting node is shifted
+% whose anchor is #2. This means that the resulting node is shifted
 % such that the given anchor lies at the origin. Then, as for a normal
 % node, the #4 path usage command is used for the node. 
 %
@@ -159,6 +159,7 @@
     \PackageError{pgf}{You cannot nest pgfmatrix environments, yet}{}
   \fi%
   \bgroup%  
+    \everycr{}%
     #6%
     \def\pgf@matrix@par@shape{#1}%
     \def\pgf@matrix@par@anchor{#2}%
@@ -360,6 +361,9 @@
   % Step 4: Collect everything in a cell box
   %
   \setbox\pgf@matrix@cell=\hbox\bgroup\bgroup%
+	% make sure that cell pictures are not affected if matrizes have
+	% 'overlay' option on:
+	\pgf@relevantforpicturesizetrue
     \pgfsys@beginpicture%
     \normalbaselines%
     % Find out whether the cell is empty:
-- 
cgit v1.2.3

