I am trying to format a simple drawing presenting memory layout, but the second row is wider and I cannot get it to fit the width.
Code: Select all
\documentclass[draft,10pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\begin{document}
\begin{table}
\caption{Memory view of the data types conventions used.}
\label{tab:MemoryConventions}
\centering
$\overbrace{ \overbrace{b_{7} \ldots b_{0}}^{\text{byte }B_0}
\overbrace{b_{15} \ldots b_{8}}^{\text{byte }B_1}
\overbrace{b_{23} \ldots b_{16}}^{\text{byte }B_2}
\overbrace{b_{31} \ldots b_{24}}^{\text{byte }B_3}
\overbrace{b_{39} \ldots b_{32}}^{\text{byte }B_4}
\overbrace{b_{47} \ldots b_{40}}^{\text{byte }B_5}
\overbrace{b_{55} \ldots b_{48}}^{\text{byte }B_6}
\overbrace{b_{63} \ldots b_{56}}^{\text{byte }B_7}
}^{\text{word }w_0}$ \\
$\overbrace{ \overbrace{b_{71} \ldots b_{64}}^{\text{byte }B_8}
\overbrace{b_{79} \ldots b_{72}}^{\text{byte }B_9}
\overbrace{b_{87} \ldots b_{80}}^{\text{byte }B_{10}}
\overbrace{b_{95} \ldots b_{88}}^{\text{byte }B_{11}}
\overbrace{b_{103} \ldots b_{96}}^{\text{byte }B_{12}}
\overbrace{b_{111} \ldots b_{104}}^{\text{byte }B_{13}}
\overbrace{b_{119} \ldots b_{112}}^{\text{byte }B_{14}}
\overbrace{b_{127} \ldots b_{120}}^{\text{byte }B_{15}}
}^{\text{word }w_1}$
\end{table}
\end{document}