lilypond-user
[Top][All Lists]
Advanced

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

Re: invisible rest that takes no horizontal space


From: Kieren MacMillan
Subject: Re: invisible rest that takes no horizontal space
Date: Wed, 16 Jun 2010 07:33:30 -0400

Hi Peter,

> adding *0 to s[0-9]+ is easy. To add the \partial command, it is necessary to 
> figure out the current time signature from the context, to find the start of 
> the measure and to figure out the length of the partial bar, which is not 
> easy. One has to write a lilypond parser for that.

No... if you have

  s4 s4 s4. c8 |

you could easily have your script figure out the length of the measure, without 
a "Lilypond parser".
Of course, I'm assuming you use barline checks, like the docs recommend -- 
otherwise, you may definitely be unable to use this solution.

Cheers,
Kieren.


reply via email to

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