lilypond-user
[Top][All Lists]
Advanced

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

Re: Contemporary music


From: David Kastrup
Subject: Re: Contemporary music
Date: Sun, 19 Feb 2012 21:13:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Mario Moles <address@hidden> 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




reply via email to

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