Menu Jacques wrote Friday, June 16, 2017 11:39 AM

> This beats me : in the following snippet, why is there a break after ‘R1*2’ ? 
> There seems to be plenty of room to put everything on a single line…?

> %%%%%%%%%%%%%%%%%
> \version "2.19"
> 
> P_POne_Staff_One_Voice_One = \relative {
>  \compressMMRests
> 
>  R1*2 |
>  R1   |
>  r2 r4 r8 r16 r32 r64 r128 r128 |
>  \bar "|."
> }
> 
> \score {
>  <<
>      \new Staff <<
>        \context Voice = "P_POne_Staff_One_Voice_One" <<
>          \P_POne_Staff_One_Voice_One
>        >>
>      >>
>  >>
> 
>  \layout {
>  }
> }
> %%%%%%%%%%%%%%%%%

It's nothing to do with \compressMMRests.  This behaves the same:

P_POne_Staff_One_Voice_One = \relative {
  R1*2
  r2 r4 r8 r16 r32 r64 r64 |
}

Rather it is to do with mixing very long and very short notes in the same
spacing section.

This behaves correctly:

P_POne_Staff_One_Voice_One = \relative {
  R1*2
  \newSpacingSection
  r2 r4 r8 r16 r32 r64 r64 |
}

See http://lilypond.org/doc/v2.19/Documentation/notation/new-spacing-section

Trevor


---
This email has been checked for viruses by AVG.
http://www.avg.com
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to