Dear Patrick, thanks very much! I've added Your code to my "stefansmikrotoene.ly"
2009/10/27 Patrick McCarty <pnor...@gmail.com> > Hi, > > On 2009-10-25, Stefan Thomas wrote: > > Dear community, > > how can I avoid, that the accidentals are printed after the tie and the > > barline in the below quoted example? > > \include "stefansMikrotoene.ly" > > { cih1 ~ cih } > > The default stencil procedure (ly:accidental-interface::print) > implements checks for ties, so you could write a custom stencil > procedure with these checks, and then use ly:text-interface::print if > a tie is not found. > > Here is a simplified version with only one of the checks: > > > \override Accidental #'stencil = > #(lambda (grob) > (let ((tie (ly:grob-object grob 'tie))) > (if (ly:grob? tie) > (begin (ly:grob-suicide! grob) '()) > (ly:text-interface::print grob)))) > > > HTH, > Patrick >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user