On 01/26/2017 03:06 AM, Urs Liska wrote:
I want to do that in the initialization code, without requiring the user
to explicitly put an override somewhere in the music or a \layout.
Any suggestions? TIA
This is how I've done this. Just put it in an include file and the user
doesn't need to do anything but include the file.
#(set-object-property! 'myprop 'backend-type? integer?)
\layout {
\context {
\Staff
\override SomeGrob.myprop = 1
}
}
You may be able to swap out \Score for \Staff if you don't want to
restrict it to \Staff.
HTH,
-Paul
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user