lilypond-user
[Top][All Lists]
Advanced

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

version 2.14.1 vertical spacing and beam grouping


From: Sepand Shahab
Subject: version 2.14.1 vertical spacing and beam grouping
Date: Wed, 22 Jun 2011 10:50:06 -0700

Dear List Members,

I am using the piano with centered dynamics template reproduced below and have noticed that the following commands no longer work in 2.14.1:

this one for setting the space between staves on a case by case basis in conjunction with line breaks


\overrideProperty #"Score.NonMusicalPaperColumn"
          #'line-break-system-details #'((alignment-offsets . (0 -13)))



and this one to group beams according to a specific note value:

\set Staff.beatLength = #(ly:make-moment 1 16)

what have these been replaced by?


I have found this code which lets me set the between-stave space globally, but I need to change this value throughout the score:

 \override StaffGrouper #'staff-staff-spacing #'padding = #1
    \override StaffGrouper #'staff-staff-spacing #'basic-distance = #12

thanks,
Sepand



upper = \relative c'' {

\set subdivideBeams = ##t

\clef treble

\set Staff.beatLength = #(ly:make-moment 1 8)

c32 c c c c c c c

c32 c c c c c c c

\set Staff.beatLength = #(ly:make-moment 1 16)

c32 c c c c c c c

c32 c c c c c c c
}

lower = \relative c {
  \clef bass
  c2 c


}

dynamics = {

}

pedal = {

}

\score {
  \new PianoStaff = "PianoStaff_pf" <<
    \new Staff = "Staff_pfUpper" <<  \upper >>
    \new Dynamics = "Dynamics_pf" \dynamics
    \new Staff = "Staff_pfLower" <<  \lower >>
    \new Dynamics = "pedal" \pedal
  >>
  \layout {
 \context {
    \Score
    \override StaffGrouper #'staff-staff-spacing #'padding = #1
    \override StaffGrouper #'staff-staff-spacing #'basic-distance = #13 }



}
}

}



reply via email to

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