Em 5/21/12 11:44 AM, David Nalesnik escreveu:
   \override Stem #'extra-offset =
     #(lambda (grob) (if (eqv? (ly:stem::calc-direction grob) UP)
'(-0.02 . -0.25) '(0.02 . 0.25)))

Hello David,

thank you very much!

Now I see that ly:stem::calc-direction only gives me the standard Stem direction, but if I am using some \stemDown or \stemUp before the note, the lambda function will ignore the actual direction of the Stem and adjust stem offsets accordingly to the standard direction.

Do you (or anybody else) know a way to access the actual direction of the Stem?

Thank you again!

José

--
http://zepadovani.info

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

Reply via email to