lilypond-user
[Top][All Lists]
Advanced

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

Re: Change vertical spacing of piano system (single)


From: Edward Neeman
Subject: Re: Change vertical spacing of piano system (single)
Date: Tue, 24 Jul 2018 16:30:29 +1000

Hi Ben,

Are you looking for something more sophisticated the brute force approach discussed in the Lilypond manual: http://lilypond.org/doc/v2.19/Documentation/notation/explicit-staff-and-system-positioning

I don’t know a better way to reduce the amount of space between staves. There are some hacks for increasing space (e.g. placing transparent objects far enough below the staff).

Best,
Edward

\version "2.19.81"

\new PianoStaff 
\with {
 \override StaffGrouper.staff-staff-spacing.basic-distance = #20
}
<<
\new Staff = "RH" \relative c' { \repeat unfold 3 { c1 d e f } 
            \break
            \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details
           #'((alignment-distances . (10)))
 \repeat unfold 7 { c1 d e f }}
\new Dynamics = "dyn" { s1\p\< s1*6 s1\f }
\new Staff = "LH" \relative c {  \repeat unfold 3 { c1 d e f }
 \repeat unfold 7 { c1 d e f } } >>

---
Dr. Edward Neeman
www.neemanpianoduo.com



On 22 Jul 2018, at 4:21 am, Ben <address@hidden> wrote:

Hi all,

What is the best way to go about changing the vertical distance between piano staves (RH/LH) for only one particular system, as needed, rather than the whole instrument throughout the piece?

Here's my code so far, as an example:

\version "2.19.81"

\new PianoStaff
\with {
  \override StaffGrouper.staff-staff-spacing.basic-distance = #20
}
<<
\new Staff = "RH" \relative c' { \repeat unfold 10 { c1 d e f } }
\new Dynamics = "dyn" { s1\p\< s1*6 s1\f }
\new Staff = "LH" \relative c {  \repeat unfold 10 { c1 d e f } } >>

%%%%%%%%%

For example, how can I change the vertical distance for the second and third systems, independently and inline with the music itself? I've tried a few overrides but no luck.

Thank you!

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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