Directory graphics/pgf/contrib/hexdumptikz
Readme for the package hexdumptikz
Author: Lukas Heindl (oss.heindl+latex@protonmail.com).
License
The LaTeX package hexdumptikz is distributed under the LPPL 1.3c license.
Description
The package provides an environment hexdumptikz which can be used to show a hexdump with TikZ. Every byte is shown with its own node. This way one can annotate the hexdump freely.
The package explicitly also works when the hexdump contains large offsets as it tries to avoid calculations directly on the addresses and if required only calculates on the last digits of the addresses.
For a more detailled documentation, have a look at the hexdumptikz.pdf file generated e.g. with l3build doc.
Installation
For a manual installation:
- put the files
hexdumptikz.insand*.dtxin the
same directory;
- run
latex hexdumptikz.insin that directory.
The files hexdumptikz*.sty will be generated.
Simplified version
- run
l3build unpackto generate the.stys inbuild/unpacked/
Download the contents of this package in one zip archive (914.6k).
hexdumptikz – Display hexdumps in LaTeX with the help of TikZ
Showing hexdumps is a common task in some fields. The most rudimentary form doing this in LaTeX is using a simple listings package. But often just showing the data is not enough. Instead, it needs to be annotated and explained.
This package offers exactly this feature by drawing each byte as a TikZ node. Note that this package explicitly aims to also support hexdumps with larger addresses (thinking of 64-bit addresses/offsets) here.
| Package | hexdumptikz |
| Bug tracker | https://codeberg.org/atticus-sullivan/hexdumptikz/issues |
| Announcements | https://codeberg.org/atticus-sullivan/hexdumptikz/issues/8 |
| Repository | https://codeberg.org/atticus-sullivan/hexdumptikz |
| Version | 1.0.0 2026-06-16 |
| Licenses | The LaTeX Project Public License 1.3c |
| Copyright | 2026 Lukas Heindl |
| Maintainer | Lukas Heindl |
| Topics | PGF TikZ Graphics |