@ Brian, I meant:

\version "2.19"

{
  a1\sustainOn a -\tweak color #red \sustainOff \sustainOn
}

{
  a1
  -\tweak bound-details
        #`((left . ((Y . 0)
                    (attach-dir . -2)
                    (text . ,(markup #:musicglyph "pedal.Ped" ))))

           (right . ((Y . 0)
                     (attach-dir . -2)
                     (text . ,(markup
                                #:concat
                                (#:with-color red
                                 (#:musicglyph "pedal.*")
                                 #:musicglyph "pedal.Ped"))))))
  -\tweak style #'none
  _\startTextSpan
  a\stopTextSpan

}

@Michael and David K.: Thank you.

Cheers,
Pierre

Le lun. 3 juin 2019 à 14:41, Brian Barker <b.m.bar...@btinternet.com> a
écrit :

> At 14:14 03/06/2019 +0200, you wrote:
> >What's wrong with this tweak ?
> >
> >\version "2.19.83"
> >{
> >   a1\sustainOn a-\tweak color #red \sustainOff \sustainOn
> >}
>
> Probably nothing. It probably does what it should, but no-one can
> know what you want it to do.
>
> Do you perhaps mean
> >a1\sustainOn \tweak color #red a \sustainOff \sustainOn
> ?
>
> Brian Barker - privately
>
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to