lilypond-user
[Top][All Lists]
Advanced

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

Re: Confused about line breaking


From: Helge Kruse
Subject: Re: Confused about line breaking
Date: Tue, 23 Feb 2016 05:49:28 +0100

Andrew,

The last duration in the treble staff is 4*16 i.e. four whole notes
with a quarter note head.
The first note in the next voice (in the bass staff) inherits this length.

Use this:

bass = {
    \clef bass
    \time 4/4
    c1   % set duration explicitly
    c c
}

Regards
Helge

2016-02-23 2:55 GMT+01:00 Andrew Bernard <address@hidden>:
> 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
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>



-- 
PGP Fingerprint: EDCE F8C8 B727 6CC5 7006  05C1 BD3F EADC 8922 1F61



reply via email to

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