[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Move only one markup at the same place
From: |
Mark Polesky |
Subject: |
Re: Move only one markup at the same place |
Date: |
Fri, 24 Jul 2009 09:41:53 -0700 (PDT) |
Alexander Kobel wrote:
> Still I'm stuck with my problem from the other thread, didn't get useful
> information for this - I shamelessly plug it in here: ;-)
>
> % TODO:
> % How to vertically align the dashes from the second bar at position
> % 3 above the staff?
> % (By default, outside-staff-padding seems to be somehow cumulative
> % to the default position.)
>
> \relative c''' {
> \override Voice . Script #'outside-staff-priority = #1
> \override Voice . Script #'outside-staff-padding = #3
> c_- b_- a_- g_- | c^- b^- a^- g^-
> }
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^-
}
- Mark