On Wed, 11 Jan 2012 15:58:22 +0000 (GMT)
Paolo Prete <[email protected]> wrote:

> > beside the dynamics example shown in precious mails, you
> > might use
> > 
> >   \override Rest #'staff-position = #-12
> > 
> > to have rests under the staff. This solution doesn't depend
> > on ottavas or clefs, but on spacing between staves.
> 
> Hi Jan,
> 
> This solution could work well if I can force
> default-staff-staff-spacing to have a MAXIMUM distance. However I can
> only specify a minimum distance. Is there a way to set that?

I asked it recently, and here's the answer.  This would set the distance
to 12.  That's the maximum and the minimum.

   \layout {
     \context {
       \Staff
       \override VerticalAxisGroup #'staff-staff-spacing =
         #'((basic-distance . 12)
            (minimum-distance . 12)
            (padding . -12)
            (stretchability . 0))
     }
   }

Replace 12 with your favorite number.  Yes, this is ugly and removes
some flexibility from Lilypond, but it doesn't the job.

In my projects, I prefer using a dynamics line between staves.  Maybe
rests won't be precisely centered, but they would be aligned with each
other and other marks that lie between staves.

-- 
Regards,
Pavel Roskin

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to