I've been working on an assignment in which I would like to have the following equation (representing some bit vector)
However, I edited the image above to get to that result, the last overbrace (R40) is my problem. Until now I've been able to generate the following euqation
using this latex code:
\lefteqn{\underbrace{\phantom{b_7b_6b_5}}_{R4_2}}b_7b_6\overbrace{b_5b_4\lefteqn{\underbrace{\phantom{b_3b_2b_1}}_{R16_0}}b_3}^{R4_1}b_2b_1b_0b_{\text{-}1}
The problem is that until now I have not succeeded in adding the last overbrace, even after studying this post for a while: How can I get an underbrace and an overbrace to partially overlap in an equation?
Could somebody help me out?



\lefteqn{...}come from? – daleif Jun 19 '18 at 11:51