[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hshift a rest in a triplet not possible?
From: |
Xavier Scheuer |
Subject: |
Re: hshift a rest in a triplet not possible? |
Date: |
Mon, 4 Mar 2013 23:51:17 +0100 |
On 3 March 2013 23:42, Eluze <address@hidden> wrote:
> Pierre Perol-Schneider reports this problem on the French LilyPond forum:
>
> shifting the rest in a triplet doesn't work
>
> (snip)
>
> if instead of a8\rest in the Medium voice you have a real note, shifting is
> perfect.
>
> reading in Internals I found:
>
> 2.2.97 Rhythmic column engraver
> Generate NoteColumn, an object that groups stems, note heads, and rests.
>
> is this a bug with the documentation or rests or triplets?
Actually it is not specific to tuplets.
%%%% Begin lily code
\version "2.17.12"
% NoteColumn 'force-hshift does not work for rests
\new Staff {
<<
\new Voice {
\voiceOne
\relative c' {
f4
\once \override NoteColumn #'force-hshift = #1
f4
r4
% rests are not force-shifted
\once \override NoteColumn #'force-hshift = #1
r4 |
}
}
\new Voice {
\voiceTwo
\relative c' {
\repeat unfold 4 c4 |
}
}
>>
}
%%%% End of lily code
Cheers,
Xavier
--
Xavier Scheuer <address@hidden>