lilypond-user
[Top][All Lists]
Advanced

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

Re: Move only one markup at the same place


From: Neil Puttock
Subject: Re: Move only one markup at the same place
Date: Fri, 24 Jul 2009 21:44:25 +0100

2009/7/24 Mark Polesky <address@hidden>:

> Well, it looks very odd to my musical eye, but you could play around
> with something like this:
>
> \version "2.13.2"
>
> \relative c''' {
>  \override Script #'Y-offset =
>    #(lambda (grob)
>       (if (= 1 (ly:grob-property grob 'direction 1)) 5 -3))
>  c_- b_- a_- g_- | c^- b^- a^- g^-
> }

Assuming Alexander wants the articulations to be equidistant from the
stave when placed up or down, it's easier to turn off
'quantize-position and set 'staff-padding (these properties are
mutually exclusive for Scripts):

\relative c''' {
  \override Script #'quantize-position = ##f
  \override Script #'staff-padding = #3
  c_- b_- a_- g_- | c^- b^- a^- g^-
}

Regards,
Neil




reply via email to

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