You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrated from SourceForge
Author: mo-gul
Timestamp: 2017-02-02 09:52:20.936000
It would be great if it could be added a style that is only applied to the outer matrix node and does not affect the "cell" nodes inside the matrix. So far one has to "reset" the style for the cell nodes if a style has been applied to the outer matrix node.
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{matrix}
\begin{document}
\begin{tikzpicture}[
% % this affects also the "cell" nodes% every matrix/.append style={% blue,% draw,% line width=1.5pt,% },
]
\matrix [
% % here it is the same% every matrix/.append style={
blue,
draw,
line width=1.5pt,
% },
] {
% this node should (just) be shown in black with a black border with% the default line width (because it isn't changed somewhere else here)\node [draw] {test}; \\
};
\end{tikzpicture}
\end{document}
The text was updated successfully, but these errors were encountered:
This is a bit ugly because it uses a callback. The proper way would
have been to separate \pgfmatrix into \pgfcollectmatrix and
\pgfplacematrix, but we cannot break the API because this command is so
old and widely used.
Migrated from SourceForge
Author: mo-gul
Timestamp: 2017-02-02 09:52:20.936000
It would be great if it could be added a style that is only applied to the outer matrix node and does not affect the "cell" nodes inside the matrix. So far one has to "reset" the style for the cell nodes if a style has been applied to the outer matrix node.
The text was updated successfully, but these errors were encountered: