What are the ways to create draw data structures for latex?

Posted by alicephacker on Stack Overflow See other posts from Stack Overflow or by alicephacker
Published on 2011-06-24T07:33:30Z Indexed on 2011/06/24 8:23 UTC
Read the original article Hit count: 207

Filed under:
|
|
|

I tried tikz/pgf a bit but have not had much luck creating a nice diagram to visualize bitfields or byte fields of packed data structures (i.e. in memory). Essentially I want a set of rectangles representing ranges of bits with labels inside, and offsets along the top. There should be multiple rows for each word of the data structure. This is similar to most of the diagrams in most processor manuals labeling opcode encoding etc.

Has anyone else tried to do this using latex or is there a package for this?

© Stack Overflow or respective owner

Related posts about latex

Related posts about pdflatex