Hi Richard I quote from the Notation Reference:
"The \shiftOn command allows (but does not force) the notes in a voice to be shifted. When \shiftOn is applied to a voice, a note or chord in that voice is shifted only if its stem would otherwise collide with a stem from another voice, and only if the colliding stems point in the same direction. The \shiftOff command prevents this type of shifting from occurring." See http://www.lilypond.org/doc/v2.19/Documentation/notation/multiple-voices#collision-resolution So unless there is a collision of notes the shift commands have no effect. You'll find a clue for doing what you want if you examine the example here: http://www.lilypond.org/doc/v2.19/Documentation/learning/real-music-example Trevor ----- Original Message ----- From: "Richard Shann" <rich...@rshann.plus.com> To: "lilypond-user" <lilypond-user@gnu.org> Sent: Thursday, January 29, 2015 2:29 PM Subject: \shiftOn and friends > In the following I have inserted \shiftOn and \shiftOff commands in a > vain attempt to get the <e g> chord in the second voice to be displaced > to the left of the a8 in voice one. I have even repeated the command > immediately before these notes, but to no avail. (I am hoping it will > fix the collision of the tie with the note head). > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< > > \version "2.18.0" > MI = {\voiceOne \shiftOn a4.~ \shiftOn a8 b c'} > MII = { \voiceTwo \shiftOff a8 g^~ <e_~ g^~ >8 \shiftOff <e g> \skip 4 } > > \new Staff << > \new Voice \clef bass \time 6/8 \MI > \new Voice \MII >>> > > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< > > Am I doing something wrong? > > Richard Shann > > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user