lilypond-user
[Top][All Lists]
Advanced

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

Re: still no ultimate way to create three-staff piano layout


From: Karol Majewski
Subject: Re: still no ultimate way to create three-staff piano layout
Date: Sun, 08 Dec 2013 09:39:28 +0100

Hi,

I'm still working on ultimate three-staff piano layout. When I write piano-solo 
music it works fine. The problem occures when I add another StaffGroup:

=================

\version "2.17.96"

music = {
  c'1
}

\score {
  <<
    \new StaffGroup \with { systemStartDelimiter = #'SystemStartBrace } <<
      \new PianoStaff \with {
        \remove "Span_bar_engraver"
        \remove "System_start_delimiter_engraver"
      } <<
        \new Staff \with {
          instrumentName = #"a"
        } \music
        \new Staff \with {
          instrumentName = #"b"
        } \music
      >>
      \new Staff \with {
        instrumentName = #"c"
        \RemoveEmptyStaves
        \override VerticalAxisGroup.remove-first = ##t
      } \music
    >>
    \new StaffGroup <<
      \new Staff \with {
        instrumentName = #"d"
      } \music
      \new Staff \with {
        instrumentName = #"e"
      } \music
      \new Staff \with {
        instrumentName = #"f"
      } \music
    >>
  >>
}

=================

As you can see, the distance between 'b' and 'c' is bigger than between 'a' and 
'b'. To prevent this, in piano-solo music I used to add:

    \override VerticalAxisGroup #'staff-staff-spacing =
    #'((basic-distance . 9)
       (minimum-distance . 7)
       (padding . 1)
       (stretchability . 5))

to the main StaffGroup.

But when I add it to layout with more StaffGroups (example above), distance 
between 'c' and 'd' gets smaller too, and this is not what I want.

I got stuck. Don't know how to achieve this:
dist.ab = dist.bc
dist.bc < dist.cd

Any ideas?

-Best
Karol

Attachment: spacing.png
Description: PNG image


reply via email to

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