lilypond-user
[Top][All Lists]
Advanced

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

Re: space between pianostaves


From: Xavier Scheuer
Subject: Re: space between pianostaves
Date: Mon, 3 May 2010 20:33:48 +0200

ERRATUM  (about keeping fixed while stretching)


Sorry, I mixed up everything (between 2.12 and 2.13)!
The code I gave to keep the distance inside the PianoStaff was valid
for 2.12 but no longer for 2.13.  And since you are using this version
you should replace it with:

  \new PianoStaff <<
    \new Staff \with {
      \override VerticalAxisGroup #'next-staff-spacing =
        #'((stretchability . 0))
    }
    {
      c' d' e' f'
    }
    \new Staff {
      c' d' e' f'
    }
  >>

Careful, the modified staff is now the first one!

Or use something like:

  \new PianoStaff \with {
    \override StaffGrouper #'between-staff-spacing #'stretchability = #0
  }
  <<
    \new Staff {
      c' d' e' f'
    }
    \new Staff {
      c' d' e' f'
    }
  >>

Sorry if it does not work, I'm truly not an expert in this new vertical
spacing engine (I still need to improve my understanding of this)...

BTW here are the related links in the doc:
http://lilypond.org/doc/v2.13/Documentation/notation/vertical-spacing-inside-a-system
http://lilypond.org/doc/v2.13/Documentation/notation/page-formatting#Vertical-dimensions

Cheers,
Xavier

--
Xavier Scheuer <address@hidden>




reply via email to

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