M-E-R-A-V-I-G-L-I-A!
Sono proprio curioso di provarlo! WOW! Figata sto LaTeX…
Ma… domanda super stupida… se devo inserirlo nel testo, tra cosa racchiudo il codice da te postato? 😳
Devi semplicemente usare l’ambiente bytefield nel punto in cui vuoi inserire l’immagine
`\begin{bytefield}
…
\end{bytefield}`
Se lo vuoi centrare racchiudi il tutto dentro un center:
`\begin{center}
\begin{bytefield}
…
\end{bytefield}
\end{center}`
esattamente come ti ha scritto Enrico. Altrimenti se vuoi che compaia come oggetto “mobile” (con la didascalia) fai:
`\documentclass[a4paper]{article}
\usepackage{bytefield}
\begin{document}
\begin{figure}
\centering
\begin{bytefield}{32}
\bitheader{0-31}\\
\bitbox{8}{Type} &
\bitbox{1}{\footnotesize J} &
\bitbox{1}{\footnotesize R} &
\bitbox{1}{\footnotesize G} &
\bitbox{1}{\footnotesize D} &
\bitbox{1}{\footnotesize U} &
\bitbox{11}{Reserved} &
\bitbox{8}{Hop Count} \\
\wordbox{1}{RREQ ID} \\
\wordbox{1}{Destination IP Address} \\
\wordbox{1}{Destination Sequence Number} \\
\wordbox{1}{Originator IP Address} \\
\wordbox{1}{Originator Sequence Number}
\end{bytefield}
\caption{Formato di un messaggio di \emph{Route Request} (RREQ).}
\end{figure}
\end{document}`
Ciao,
Antonio