|
From: | Ryan Michael |
Subject: | Re: setting Notehead for a single chord which follows the custom Notehead |
Date: | Thu, 14 Jan 2016 13:08:54 -0800 |
Not sure I understood. Maybe:2016-01-14 21:49 GMT+01:00 Ryan Michael <address@hidden>:
> I am trying to use the triangle notepad for all of the notes in a chord, but
> would not like the triangle notehead to appear anywhere else in the score.
>
> I have the following:
>
>
> %%%%%%%%%%%%
> \version "2.18.2"
>
> \relative {
> \set shapeNoteStyles = ##(triangle triangle)
>
> <d\harmonic g\harmonic>1~
>
> <d\harmonic g\harmonic>4 r16. e'32 fis,,8-> r8 b' cis,4. <b'\harmonic
> e\harmonic>8
> }
> %%%%%%%%%%%%
>
> But it appears that this is not how you apply a triangle notehead to just
> the d and g and just in that chord that immediately follows the setting of
> the notehead.
>
>
> Thanks!
> --
> ॐ नमः शिवाय
\version "2.18.2"
\relative {
\override NoteHead.before-line-breaking =
#(lambda (grob) (ly:grob-set-property! grob 'style 'triangle))
<d\harmonic g\harmonic>1~
<d\harmonic g\harmonic>4
\revert NoteHead.before-line-breaking
r16. e'32 fis,,8-> r8 b' cis,4. <b'\harmonic e\harmonic>8
}
HTH,
Harm
[Prev in Thread] | Current Thread | [Next in Thread] |