[Top][All Lists]

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

Re: invisible rest that takes no horizontal space

From: Dmytro O. Redchuk
Subject: Re: invisible rest that takes no horizontal space
Date: Fri, 18 Jun 2010 16:52:40 +0300
User-agent: Mutt/1.5.20 (2009-06-14)

On Fri 18 Jun 2010, 15:44 Peter Van Kranenburg wrote:
> It does.
> I got the bar number printed using a little hack:
> stopThisMeasure = \applyContext
> #(lambda (x)
>   (ly:context-set-property!
>     (ly:context-property-where-defined x 'measurePosition)
>       'measurePosition
>       (ly:moment-sub (ly:context-property x 'measureLength)
> (ly:make-moment 1 128) )))
> then "\stopThisMeasure s128" has the desired effect. Probably
> because the measure is ended in the normal way. Still some
> horizontal space is inserted by this, but it is minimal because of
> the 128th rest. I can live with that.
I do believe displaying bar number can be achieved in a better way,
but don't believe i can help with this .)

Well, i even didnt manage to get automatic accidentals appear correctly :O(

(So, this means, everything is ahead so far!-)

Lilypond is great.

  Dmytro O. Redchuk

reply via email to

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