|
From: | Stefan Thomas |
Subject: | Re: problem with microtones and ties |
Date: | Tue, 27 Oct 2009 19:51:06 +0100 |
Hi,
The default stencil procedure (ly:accidental-interface::print)
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 }
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
[Prev in Thread] | Current Thread | [Next in Thread] |