lilypond-user-fr
[Top][All Lists]
Advanced

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

Re: TextScript dans une définition markup


From: Gloops
Subject: Re: TextScript dans une définition markup
Date: Fri, 11 Dec 2020 13:39:22 -0700 (MST)

\version "2.20.0"
#(define-markup-command (Stabilo layout props color xdim ydim)
   (color? pair? pair?)
   (interpret-markup layout props
     #{
       \markup {
         \with-dimensions-from \null         
         \override #'(corner-radius . 3)
         \rounded-box %liseret
         \with-color $color
         \filled-box #xdim #ydim #1
       }
     #}))

\relative c' {
  % calque sous les lignes
  % cherche solution pour inclure le TextScript. layer dans la commande
Stabilo
  
  \override Staff.TextScript.layer = #-1000 
  \clef treble
  \key g \major
  <>-\markup \Stabilo  #red #'(-6 . -5) #'(2 . 6)
  c4 d e fis |
  g4 f? e-\markup \Stabilo  #yellow #'(-5 . 5) #'(-3 . 6)
  c  d4 e4 fis r %
  \bar "|."
}



--
Sent from: http://lilypond-french-users.1298960.n2.nabble.com/



reply via email to

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