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: dtsmarin
Subject: Re: \tweak Accidental stencil within chord
Date: Wed, 1 May 2019 11:17:02 -0700 (MST)

This was an example to show what I'm after.
I need to *change* the stencil (e.g. flat to be sharp ) not the colour etc.
I know how to change stencil for a single accidental with \override but
\tweak Accidental.stencil doesn't work. 

The closest I've got is this:
#(define rhomb-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))) 

But i'm hiding the sharp, I would like to override it.




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html



reply via email to

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