lilypond-user
[Top][All Lists]
Advanced

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

Confused about line breaking


From: Andrew Bernard
Subject: Confused about line breaking
Date: Tue, 23 Feb 2016 12:55:05 +1100
User-agent: Microsoft-MacOutlook/0.0.0.160109

While trying to concoct a minimal example for my question about staff-staff spacing, I find I am confused. In the attached example, why are the bass notes spaced apart by the number of spacers in the voice for line breaking? I woild have thought they would be consecutive.

Furthermore, if I put the ‘line-breaking’ voice before the voice for notes, it shows this problem in the treble. Clearly there is something very basic here that I am not understanding.

Andrew

— snip

\version "2.19.36"

\paper {
  #(set-paper-size "a4" 'landscape)
}

treble = {
  \clef treble
  \time 4/4

  <<
    \new Voice
    {
      \repeat unfold 16 { c'' }
      \repeat unfold 16 { c'' }
      \repeat unfold 16 { c'' }
    }
    \new Voice % ‘line-breaking'
    {
      s4 * 16 \break
      s4 * 16 \break
      s4 * 16 \pageBreak
    }
  >>
}

bass = {
  \clef bass
  \time 4/4
  c c c
}

\score {
  \new PianoStaff
  <<
    \new Staff \treble
    \new Staff \bass
  >>
  \layout { }
}

— snip


reply via email to

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