lilypond-user
[Top][All Lists]
Advanced

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

Why doesn't \once \override NoteColumn.force-hshift work on more than on


From: Guy Stalnaker
Subject: Why doesn't \once \override NoteColumn.force-hshift work on more than one note in a measure
Date: Mon, 31 Jul 2017 15:57:11 -0500

Hello all,

Curious about why \once \override NoteColumn.force-hshift only seems to affect the first note of a measure. This snippet shows 3 staves, the first unmodified, the second with the chord shifted left and the e'' shifted right, and the third attempting to shift both e'' and c'' right. But the c'' is not affected by the NoteColumn.force-hshift directive.

This simplified snippet is from a working score where I'd very much like to shift that second note to the right.

%% SNIPPET %%
\score {
  <<
    \new Staff = "One" %No modification
    << { <a'' f'' c'' a'>1 }
       \\
       {
         \tuplet 3/2 { e''8 c''4 } f'4\rest e'2\rest |
    } >>
    \new Staff = "Two" %Shift chord left and e'' right
    << { \once \override NoteColumn.force-hshift = -0.5 <a'' f'' c'' a'>1 }
       \\
       {
         \tuplet 3/2 { \once \override NoteColumn.force-hshift = 1.5 e''8 c''4 } f'4\rest e'2\rest |
    } >>
    \new Staff = "Three" %Shift chord left and shift both e'' and c'' right
    << { \once \override NoteColumn.force-hshift = -0.5 <a'' f'' c'' a'>1 }
       \\
       {
         \tuplet 3/2 { \once \override NoteColumn.force-hshift = 1.5 e''8 \once \override NoteColumn.force-hshift = 1.5 c''4 } f'4\rest e'2\rest |
    } >>
  >>
  \layout { }
}
%% SNIPPET %%

Guy Stalnaker
address@hidden

reply via email to

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