2012/11/12 james <[email protected]>

>
> On Nov 12, 2012, at 7:58 PM, Keehun Nam wrote:
>
> Dear LilyPond community,
>
> I've been trying unsuccessfully for about an hour try to force grace notes
> to have down-ward stems when the pitch placement would dictate upward stems.
>
> The code is:
>
> a8[ \grace { a16[ a]} a8 ]
>
> <http://grab.by/ht0K>[image: Inline image 1]
>
> I've tried several things, first to turn off automatic beaming, then to 
> $(remove-grace-property
> 'Voice 'Stem 'direction) and then set the brackets within the grace note
> command as _[].
>
> What else can I try? Why doesn't the _[] work as it should in grace note
> command?
>
> The reason why I'm trying to make the grace notes downward is to minimize
> any possible confusion of how it might look like it's part of the regular
> notes.
>
> Thank you,
> Keehun
>
>
> NR 1.2.6 implies that \grace { \stemDown a16[ a] } should work.
>
>
 \stemDown works as expected.

$(remove-grace-property 'Voice 'Stem 'direction) works, too, but if
Stem-direction is removed from GraceSettings the default is used.

See:
  \relative c'' {
          $(remove-grace-property 'Voice 'Stem 'direction)
          a8[ \grace {  a16[ a]} a8 ]
          a'8[ \grace {  a16[ a]} a8 ]
  }

You could use $(add-grace-property 'Voice 'Stem 'direction DOWN)

  \relative c'' {
          $(add-grace-property 'Voice 'Stem 'direction DOWN)
          a8[ \grace {  a16[ a]} a8 ]

          $(add-grace-property 'Voice 'Stem 'direction UP)
          a'8[ \grace {  a16[ a]} a8 ]
  }

-Harm
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to