-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Real cross-staff frames #3
Comments
I have run in a situation where this is not only an enhancement but could even be qualified as a bug. This is done with the code from the usage example file. For the task at hand (I need it on a slide tomorrow) I worked around with So there should be a way to make cross-staff frames reliably possible. I have a few ideas how one could approach that but don't know whether any of them would work. Hard-code the X-extentIt should be rather straightforward to provide a way to override the automatic retrieval of the X-extent from the horizontal bracket. This is surely the easiest way to ensure fitting borders, but it isn't really elegant. Link framesI have no idea whether this is possible at the time when the frames are calculated, but it would seem like an option to "link" a frame to another, presumably by an Include arbitrary staves in a frameHere too I have no idea whether it is possible at the appropriate point in the complilation process. But conceptually it would be ideal if a frame could have a property @KlausBlum do you have any idea? |
Sorry, I don't have any idea. It sounds interesting that one frame "reads" the property of another, but I absolutely don't know how to do that. I could only offer another ugly hack: |
Well, that's what I suggested as the last - and actually the most "correct" - approach. I don't think this is a hack. The question is if - in a If that is possible there would be two properties denoting the upper and the lower staff to be included in the frame, with both defaulting to the "current" staff. So by default the frame would behave like it does currently, but it would be possible to create arbitrary frames around multiple contexts. Note: Such other contexts might as well be Lyrics, Dynamics or FiguredBass (probably others too). |
No idea if that's reasonably possible, but it should be possible to get the coordinates of the neighboring staves, either within the current NN-group or the whole score.
The text was updated successfully, but these errors were encountered: