| 1 |
`matrix.skeleton` is a `PGF/TikZ` library that simplifies working with multiple matrix nodes. |
| 2 |
To do so, `matrix.skeleton` correctly aligns groups of nodes with the content of the whole matrix. |
| 3 |
Furthermore, `matrix.skeleton` provides rows and columns for easy styling. |
| 4 |
|
| 5 |
For example, the following picture is easily typeset: |
| 6 |
|
| 7 |
 |
| 8 |
|
| 9 |
with this simple code: |
| 10 |
|
| 11 |
```TeX |
| 12 |
\documentclass[tikz]{standalone} |
| 13 |
|
| 14 |
\usetikzlibrary{matrix.skeleton} |
| 15 |
|
| 16 |
\begin{document} |
| 17 |
\begin{tikzpicture} |
| 18 |
\matrix (m) [matrix of math nodes, |
| 19 |
style odd rows on layer={background}{fill=black!25}] { |
| 20 |
1 & \frac{\frac{16}{2}}{4} & 3 \\ |
| 21 |
4.0000001 & 5 & 6 \\ |
| 22 |
7 & 8 & 9 \\ |
| 23 |
10 & 11 & 12 \\ |
| 24 |
13 & 14 & 15 \\ |
| 25 |
}; |
| 26 |
\fitandstyle{(m-cell-1-1) (m-cell-2-2)}{draw=red, fill=red!25, opacity=0.5} |
| 27 |
\end{tikzpicture} |
| 28 |
\end{document} |
| 29 |
``` |
| 30 |
|
| 31 |
More information and examples are available in [the manual](manual.pdf). |
| 32 |
|
| 33 |
Author: Nicolas Dudebout |
| 34 |
License: ISC |
| 35 |
Version: 1.1 |