[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: absolute rest positioning
From: |
Kieren MacMillan |
Subject: |
Re: absolute rest positioning |
Date: |
Sun, 15 Aug 2010 09:28:31 -0400 |
Hi David,
> Is there a straightforward way to position rests by using an absolute offset
> from the center of the staff?
\override Staff.Rest #'staff-position
e.g.,
\version "2.13.29"
restMusic = \relative c' {
c d r e
f r g a
r b c2
}
\markup { "Default:"}
\score { \restMusic }
\markup { "Transposed (rests stay in default position):"}
\score { \transpose c f' \restMusic }
\markup { "Different Voice and/or cue (rests" \bold { not } "in deafult
position):"}
\score { { \voiceOne \restMusic } }
\markup { "Different Voice and/or cue" \bold { with override } "(rests in
explicit position):"}
abrest = \override Voice.Rest #'staff-position = #-5
\score { { \voiceOne \abrest \restMusic } }
Hope this helps!
Kieren.