summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/tikzpackets/README
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/contrib/tikzpackets/README')
-rw-r--r--graphics/pgf/contrib/tikzpackets/README27
1 files changed, 27 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/tikzpackets/README b/graphics/pgf/contrib/tikzpackets/README
new file mode 100644
index 0000000000..9a98546311
--- /dev/null
+++ b/graphics/pgf/contrib/tikzpackets/README
@@ -0,0 +1,27 @@
+Package tikzPackets provide command for simple build network packets illustration with tikz.
+
+Usage example (UDP):
+
+\begin{tikzpicture}
+ \packetsInit
+ \packetsPrintBitScale{31}
+
+ \packetsPutField{16}{Source Port}
+ \packetsPutField{16}{Destination Port}
+ \packetsEndLine{0}{}
+
+ \packetsPutField{16}{Length}
+ \packetsPutField{16}{Checksum}
+ \packetsEndLine{32}{}
+
+ \packetsPutField[protocolsField, minimum height = 1.5cm]{32}{Data}
+ \packetsEndLine{64}{}
+\end{tikzpicture}
+
+
+Version 1.0 (2020-07-13): first public release
+
+
+Copyright (C) 2020, Robert Ryszard Paciorek <rrp@opcode.eu.org>
+
+This is free software distributed under terms of The MIT License.