|
From: | Pierre Perol-Schneider |
Subject: | Re: TextScript dans une définition markup |
Date: | Fri, 11 Dec 2020 22:37:58 +0100 |
\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/
[Prev in Thread] | Current Thread | [Next in Thread] |