Lukas-Fabian Moser <l...@gmx.de> writes: >> With a little bit of scheme, it should even be easy to make this >> into a function accepting to parameters, indicating that k staves >> starting with the n'th staff should be braced. > > Here is an implementation of that. Unfortunately I do not know if/how > it is possible to define the function (which issues a \set) in such a > way that it might be called in a \with block, which would be neater > imho.
Have you tried just calling it in a \with block? Stuff like \set is automatically converted into context modification there. Of course, you can also define a scheme function _returning_ a \with block and use that, but that has the disadvantage of not working as music as well. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user