Mario Moles <[email protected]> writes:
> In data domenica 19 febbraio 2012 18:45:29, David Kastrup ha scritto:
>>
>> Please don't toppost. Without an example to play around with, and you
>> obviously have such an example, it is much harder to make a useful
>> answer. In this case, one would likely have to play with the priority
>> overrides.
>
> Ok! I'm sorry! So let me explain better! I would \ contempSign above the sign
> of the "crescendo" and not under the sign of "crescendo".
> Thanks!
> \version "2.15.30"
>
>
> #(define-markup-command (contemp-sign layout props) ()
> (interpret-markup layout props
> #{ \markup \override #'(filled . #t) \path #'0.25
> #'((moveto 0.0 0.0)
> (curveto -1.1 1.1 -0.5 1.5 0.5 0.5)
> (lineto 1.1 1.1)
> (closepath))
> #}))
>
> contempSign = ^\markup \contemp-sign
>
> \relative c'' {
> c16-.\contempSign r8 c_\contempSign\< c_\contempSign c_\contempSign
> c_\contempSign\!
> }
Looks like my default assumption "above staff" was wrong for what you
want. Here without a default direction (if your don't like the stacking
order with other articulations, try different values).
\version "2.15.30"
#(define-markup-command (contemp-sign layout props) ()
(interpret-markup layout props
#{ \markup \override #'(filled . #t) \path #'0.25
#'((moveto 0.0 0.0)
(curveto -1.1 1.1 -0.5 1.5 0.5 0.5)
(lineto 1.1 1.1)
(closepath))
#}))
contempSign = -\tweak #'outside-staff-priority #10 -\markup \contemp-sign
\relative c'' {
c16-.\contempSign r8 c_\contempSign\< c_\contempSign c_\contempSign
c_\contempSign\!
}
--
David Kastrup
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user