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
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user