# multiline bitbox

I have the following figure

\begin{bytefield}{31}
\bitbox{8}{Tail}
\end{bytefield}


Is it possible to make the Head bitbox line-break at 32 bytes so it fits the bytefield?

• @Werner: so I moved it into an answer, but made it CW. Don't want to be accused of trying to steal rep :) – 0xC0000022L Jun 4 '14 at 15:30

The OP figured it out: just using multiple bitboxes and not drawing all borders:

\begin{bytefield}{31}
\bitbox[lrt]{32}{} \      \bitbox[lr]{32}{Head} \      \bitbox[lr]{32}{} \      \bitbox[lrb]{24}{}
\bitbox{8}{Tail}
\end{bytefield}


... does the trick.

You may use the "wordbox" keyword that should let you create multiple lines for a single entry:

\begin{bytefield}{31}