lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \tweak Accidental stencil within chord


From: David Kastrup
Subject: Re: \tweak Accidental stencil within chord
Date: Wed, 01 May 2019 21:00:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> dtsmarin <address@hidden> writes:
>
>> Oops! Wrong minimal example!
>>
>>
>> #(define enh-acc
>>   (lambda (grob)
>>     (let* ((stencil (ly:accidental-interface::print grob))
>>            (new-stil 
>>              (grob-interpret-markup grob 
>>                (markup 
>>                     #:hspace 1
>>                     #:musicglyph "accidentals.flat"
>>                     #:hspace -2
>>                     #:transparent         
>>                     #:stencil  
>>                        stencil))))
>>     new-stil))) 
>>
>>
>>
>> \relative c' {
>>  
>>   <d \tweak Accidental. stencil #enh-acc eis>1
>>   <e dis>2
>>   <eis d>2 
>>
>> }
>
> Sigh.  An example of what you would want to work.  Not an example of
> what is needed to make this work.

And by the way: what is your actual use case that requires falsifying
accidentals instead of just using the accidental you want in the first
place?

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]