lilypond-user
[Top][All Lists]
Advanced

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

Re: changing staffgroup-staff-spacing


From: Keith OHara
Subject: Re: changing staffgroup-staff-spacing
Date: Mon, 25 Jul 2011 13:14:32 -0700
User-agent: Opera Mail/11.50 (Win32)

On Mon, 25 Jul 2011 11:52:06 -0700, Stefan Thomas <address@hidden> wrote:

I thought I could also solve problem in the below quoted snippet with and
override of minimum-Y-extent. But unfortunately, I get a bad collision
between dynamics and and the next staff:

The crescendo to ff spans a line of music that crosses staves.  LilyPond lets 
you cross any number of staves, but to do so she ignores collisions of spanners 
that cross staves.  You might want to use #(ly:set-option 'debug-skylines) to 
see outlines of what items get space reserved for them.

The crescendo runs through the ottava bracket even without the override.  
Extending the ff downward with (-12 . 0) lowered the cresc. , but did not push 
the next staff down because the ff is part of a line that Lilypond believes is 
allowed to cross staves.

I would place the dynamics in the lower primo staff
 primoB = { \clef bass
  \crescTextCresc
  s2\< s8 s8\ff s4
 }
If you need the dynamics in their logical voice (for MIDI output?) the you 
could use
   \once\override DynamicLineSpanner #'Y-offset = #-19
before the note with the \< to specify where you want the dynamics line 
relative to the *upper* staff (its original staff).

I recommend you use "\once" before any override of minimum-Y-extent, and use it 
on items that are fixed to a staff.  In this case the only solid item I see is the last 
rest in secundoA
  \once\override Rest #'minimum-Y-extent = #'(0 . 6)
  r2

Four-hand modern piano music will be very frustrating, or maybe very rewarding, 
to typeset.

Attachment: Stefan.ly
Description: Binary data


reply via email to

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