diff options
author | Nao Pross <np@0hm.ch> | 2021-12-17 19:42:24 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-12-17 19:42:24 +0100 |
commit | d94352d4df88a449b91720899289d8c4c293efb7 (patch) | |
tree | a3550392f31c07f8e8af1d46f5a2540a21cb6f0d /doc/thesis | |
parent | Add new acronyms and fix page numbering (diff) | |
download | Fading-d94352d4df88a449b91720899289d8c4c293efb7.tar.gz Fading-d94352d4df88a449b91720899289d8c4c293efb7.zip |
Add colors to packet figure
Diffstat (limited to 'doc/thesis')
-rw-r--r-- | doc/thesis/figures/tikz/packet-frame.tex | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/thesis/figures/tikz/packet-frame.tex b/doc/thesis/figures/tikz/packet-frame.tex index 8bef47b..e8e53ee 100644 --- a/doc/thesis/figures/tikz/packet-frame.tex +++ b/doc/thesis/figures/tikz/packet-frame.tex @@ -15,18 +15,18 @@ \matrix[ column sep = -1pt, nodes = { - draw, rectangle, thick, + draw, rectangle, very thick, minimum height = 12mm, text width = 20mm, align = center, }, ]{ - \node {Preamble \\ \(k\) Bytes}; & - \node (pad) {Padding \\ 1 Bit}; & - \node (id) {ID \\ 5 Bits}; & - \node {Length \\ 21 Bits}; & - \node (par) {Parity \\ 5 Bits}; & - \node {Payload \\ \(\ell\) Bytes}; \\ + \node[] {Preamble \\ \(k\) Bytes}; & + \node[fill=lightgray!20] (pad) {Padding \\ 1 Bit}; & + \node[fill=red!10] (id) {ID \\ 5 Bits}; & + \node[fill=red!10] {Length \\ 21 Bits}; & + \node[fill=red!10] (par) {Parity \\ 5 Bits}; & + \node[] {Payload \\ \(\ell\) Bytes}; \\ % \node{Padding }; \\ }; |