Phil Holmes wrote Sunday, July 08, 2012 4:43 PM

> As I said in an earlier mail, I'd like to include the cross-staff stem 
> functions that Pavel developed as a part of standard lily functionality. It 
> relies on quite a bit of scheme and a final function like this:
> 
> crossStaff =
> #(define-music-function (parser location notes) (ly:music?) #{
>  \override Stem #'cross-staff = #cross-staff-connect
>  \override Flag #'style = #'no-flag
>  $notes
>  \revert Stem #'cross-staff
>  \revert Flag #'style
> #})
> 
> To deliver this as a standard function, should the whole lot go in 
> music-functions-init.ly, or somewhere else?

music-functions-init.ly looks good.  You'll need to add a doc
string.

Trevor
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to