Hi Juan,

> So far, it has function great when outputting instrument parts, but when
> I join them, each box is being drawn for the entire group (see image
> below where boxes should be surrounding the black-head groups). As the
> code is really obscure for me, I don't really see if there is an error
> on me while notating the boxes, or if it's the code that takes into
> account everything that is happening inside the staff group. Could
> anyone tell me if grouping is done by default? If it is, what should I
> need to alter in order to make the box adjust per instrument?

move the engraver from score to staff:

  \context {
    \Staff
    \consists \musicBoxerEngraver % for spans
    \consists \boxEngraver
  }

You might also need something like `\override Box.Y-extent = #'(+inf.0 . 
-inf.0)` to avoid outside-staff-handling to shift around stuff inside the box.

Cheers,
Tina

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to