Hi Fred

I think your basic problem is not appreciating how
notes should be assigned to voices.  When you place the
notes in the correct voices LilyPond gives you the
alignment you seek with no overrides and no errors,
like this:

\version "2.18.0"

\new Staff = "treble" 

\with { \consists "Span_arpeggio_engraver" } << 

  \relative c'' { 

    \set Staff.connectArpeggios = ##t 

    \key a\major

    << { e2 \arpeggio a, } 

    \\ { cis,1 \arpeggio }

    \\ { e4 \arpeggio e e fis8 g }

    >>

  } 

>>



Voices 1 and 2 are not shifted by default, other

voices are, but only if there would otherwise be

a collision.  The section in the manuals which 

might help you with this are:

http://www.lilypond.org/doc/v2.18/Documentation/learning/real-music-example

and

http://www.lilypond.org/doc/v2.18/Documentation/notation/multiple-voices#single_002dstaff-polyphony

in particular the section on Voice order.



Trevor



  ----- Original Message ----- 
  From: Frederick Bartlett 
  To: LilyPond Users 
  Sent: Wednesday, October 08, 2014 5:05 PM
  Subject: Still confused about horizontal shifts in NoteColumns


  Running 2.18.2 under Linux, I'm looking to duplicate this:


  I currently have this:




  I would like to shift the first quarter note a bit to the right, about half 
as much as the third, but force-hshift and the various \shiftOxxx commands have 
no effect. (The stems of the quarter and half notes should be noticeably 
separate.)


  Snippet:


  \new Staff = "treble" \with { \consists "Span_arpeggio_engraver" }
  << \relative c'' { \set Staff.connectArpeggios = ##t \key a\major
    << { e2 \arpeggio a, } \\ { \voiceOne e4 \arpeggio e \shiftOn e fis8 g } \\ 
{ cis,1 \arpeggio } >>
  } >>




  I get the usual warning -- "ignoring too many clashing note columns".  The LM 
says, at 4.6.1, "If and only if two or more note columns within a single Staff 
context, both with stems in the same direction, occur at the same musical 
moment, the values of their horizontal-shift properties are used to rank them 
and the columns in the higher ranks are progessively offset to avoid collisions 
of the noteheads."


  So -- shouldn't the alignment I want occur automagically?


  Or should "both with stems in the same direction" be "all with stems ..."? 
But whole notes have no stems ... is that the problem?





  Thanks!

  Fred




------------------------------------------------------------------------------


  _______________________________________________
  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

Reply via email to