Hello,I have a question about changing stems. In my case it's related to an exploration of using SMuFL Fonts in LilyPond, which are made available in the openLilyLib snippets repository by Joram Berger and Nathan Ho. I would like to take the opportunity to thank them both!
Attached is my unsuccessful attempt to change the stem stencil. I've also added a somewhat contrived version of the example so it can be followed without the SMuFL script.
As you can see in the example I'm using \override Staff.Stem.stencil = #ly:text-interface::print \override Staff.Stem.text = \markup { | } The stem is indeed changed but it doesn't follow the note head. Any guidance will be appreciated! Best Peter
\version "2.19.0" % changing the stem using Bravura font \include "../smufl/definitions.ily" Zstem = { \override Staff.Stem.stencil = #ly:text-interface::print \override Staff.Stem.text = \markup { \smuflchar ##xE1F3 } } \score{ \relative c'{ %\stemUp \Zstem f4 b c e }} % more generic example newStem = { \override Staff.Stem.stencil = #ly:text-interface::print \override Staff.Stem.text = \markup { | } } \score{ \relative c'{ %\stemUp \newStem f4 b c e }}
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user