[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with microtones and ties
From: |
Patrick McCarty |
Subject: |
Re: problem with microtones and ties |
Date: |
Tue, 27 Oct 2009 03:02:38 -0700 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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