From 1ca59c70eaf2d3944a74ab089425781aff5cf81e Mon Sep 17 00:00:00 2001 From: Stefan Pinnow Date: Fri, 5 Jun 2020 07:36:43 +0200 Subject: [PATCH] "improved" colors given in the `codeexample` of pull request #871 --- doc/generic/pgf/text-en/pgfmanual-en-tikz-matrices.tex | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/generic/pgf/text-en/pgfmanual-en-tikz-matrices.tex b/doc/generic/pgf/text-en/pgfmanual-en-tikz-matrices.tex index 287b3bb27..d5f9e0f54 100644 --- a/doc/generic/pgf/text-en/pgfmanual-en-tikz-matrices.tex +++ b/doc/generic/pgf/text-en/pgfmanual-en-tikz-matrices.tex @@ -485,7 +485,7 @@ \subsubsection{Cell Styles and Options} \begin{codeexample}[preamble={\usetikzlibrary{matrix,shapes.misc}}] \begin{tikzpicture} [mycol/.style={column #1/.append style={ - every even row/.style={nodes={fill=gray!10}}} + every even row/.style={nodes={fill=gray!20}}} }] \matrix [matrix of nodes, nodes in empty cells, @@ -494,11 +494,11 @@ \subsubsection{Cell Styles and Options} mycol/.list={1,...,5}, % add mycol style to all cols column 1/.style={ row 1 column 1/.style={nodes={fill=none, draw=none}}, - nodes={fill=yellow, chamfered rectangle, inner sep=0, + nodes={fill=yellow!75!black, chamfered rectangle, inner sep=0, chamfered rectangle corners={north west, south east}}, }, row 1/.style={nodes={text depth=0.2ex, text width=2cm, text=white}}, - column 2/.append style={row 1/.append style={nodes={fill=green}}}, + column 2/.append style={row 1/.append style={nodes={fill=green!75!black}}}, column 3/.append style={every even row/.style={nodes={fill=red!10}}, row 1 column 3/.append style={nodes={fill=red}} }, @@ -521,7 +521,6 @@ \subsubsection{Cell Styles and Options} \end{tikzpicture} \end{codeexample} - The order in which these styles are applied is configurable. You can also install your own styles. The following styles (in fact, internally they are |/.code| keys) wrap the styles introduced in the previous paragraph passing the