Am 07.11.2017 um 16:45 schrieb David Wright:
Thanks for the replies. I did try specifying a chord, but the
"pitch" parameter won't take it.

That’s because I didn’t know that you wanted chords … Of course it’s possible to specify a chord, see the following code. There’s only one reason I first only allowed pitches: You then wouldn’t have to input the duration.


%%%%%%%%%%%%%%%%%%%%%%%%%%%

\version "2.19.80"

enharmonicGuide =
#(define-music-function (music guide) (ly:music? ly:music?)
   #{
     \afterGrace #music {
       \once \omit Stem
       \override ParenthesesItem.font-size = -1
       \override ParenthesesItem.padding = 0.1
       \parenthesize
       #guide
     }
   #})

afterGraceFraction = 15/16

\relative {
  <d'' fis>2 \enharmonicGuide <dis fisis> <es g>4
  <c es>2 <a c>
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%

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

Reply via email to