typst-bytefield
typst-bytefield copied to clipboard
A typst package for creating diagrams of network protocols, memory layouts, register definitions or similar structures.
Adding some tests.
If two note field are placed before the same data field or even two data fields which are shown in the same row, it will result in an error as...
Instead of having a handy way to quickly instantiate the various protocols in common as standalone bytefield, lets make them fields, that can be used in other bytefields. these fields...
Small usage improvement. Every field represents some text at the end and afaik fields do not use length or color arguments. instead of ```typst bytes(3)[ #box(width:100%,height:100%,fill:green)[ #text(8pt)[ my bytes ]...
Introduce a new field that simply draws a gap of the specified height between two rows and a centered text. I.e. `gap(1cm)[]` or `gap[]` for some small default length (maybe...
Thanks for this nice package. Much appreciated. I did not see in the documentation of bytefield that one should disable equation numbering for the bytefields. The alignment the implementation relies...
Merge development branch for 0.0.7
For typst 0.13.1 (8ace67d9), the group command seems to not work (`group(right,3)[spanning 3 rows],`) This is the example in the Readme.  Other relevant information: 0.13.1 Typst installed via Snap...
Using the `flag()` function, labels that exceed a single bit width are wrapped despite being rotated and thus fitting vertically, as shown in the first screenshot.  *fig. 1: Label...
The bit headers seems to be broken in combination with `msb: left`. I used the following snippet to generate just some test cases ```typst #import "@preview/bytefield:0.0.7": * #let bf(bpr: 32,...