[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cross-staff stems again
From: |
Trevor Daniels |
Subject: |
Re: Cross-staff stems again |
Date: |
Sun, 8 Jul 2012 21:05:48 +0100 |
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