lilypond-devel
[Top][All Lists]
Advanced

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

splitted rests


From: Han-Wen Nienhuys
Subject: splitted rests
Date: Mon, 12 Aug 2002 15:50:08 +0200

address@hidden writes:
> 
> Here another problem which sometimes happens.  Consider a 5/4 bar
> which contains a lot of 16ths and which must be broken across staves
> (into 2 and 3 beats).  Usually, I insert an invisible bar and I'm
> done.  But what happens with rests?  If I say `R4*5', I currently get
> a full rest before and after the break.  I think this is not correct.
> What I want is something like this:
> 
>   \ifbreak { r2 r2. }
>   \else { R4*5 }
> 
> This is probably already available in Scheme -- can you give an
> example?

Not quite. The multi-measure rest is a spanner, and getting the rests
in the right spot horizontally will be difficult, not to mention the
fact that they won't participate in rest collisions. I think the
easiest approach is to force a few line breaks in a few strategic
places and use { r2 r2. } at those spots, and disallow other breaks
halfway the 5/4.

-- 

Han-Wen Nienhuys   |   address@hidden    | http://www.cs.uu.nl/~hanwen/





reply via email to

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