You use \time to define the time signature, so maybe you could alter it so that it re-defines a whole-bar-rest function to use the appropriate multiplier.

For instance,
    \time 3/4
would have the side-effect of defining
    wholeBarRest = \times 3/4 {R1}


--Aaron V.



On Apr 9, 2006, at 16:55, Graham Percival wrote:


On 9-Apr-06, at 4:26 PM, David Raleigh Arnold wrote:

On Sunday 09 April 2006 00:16, Graham Percival wrote:
In all seriousness, having a \wholeBarRest command would involve a
nontrivial amount of extra programming.
Wouldn't

threst = \times 4/3{R2.}

I think you mean
threst = \times 3/4 {R1}
or
therest = R1*3/4

That would certainly give you a full-bar rest in 3/4 time, but the big problem would be making "threst" detect what time signature it was in, and modify the "\times x/y" accordingly.

Cheers,
- Graham



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to