On Fri 18 Jun 2010, 14:57 Peter Van Kranenburg wrote:
> On 6/18/10 2:10 PM, Dmytro O. Redchuk wrote:
> >Looks like "<any_number> <the_same_number>" would do.
> >
>
> Only for meters like 4/4 or 2/2. Not for meters like 3/4 or 6/8.
>
> So the question remains, how to set Timing.measurePosition to the
> value of Timing.measurelength.
I've found http://lsr.dsi.unimi.it/LSR/Snippet?id=333 and tried this:
%-------------8<-------------------------
stopThisMeasure = \applyContext
#(lambda (x)
(ly:context-set-property!
(ly:context-property-where-defined x 'measurePosition)
'measurePosition
(ly:context-property x 'measureLength)))
\relative c'' {
\override Score.BarNumber #'break-visibility = #all-visible
\time 3/4
d4. e8 fis4 |
d4 \stopThisMeasure
\bar ":|:"
fis2 g4 |
}
%-------------8<-------------------------
I actually don't understand how it works .) And whether it does at all .)
It seems it does what's you are looking for, but i am not sure.
Well, bar numbers increase but not shown, i would like to know how to
workaround this, but can not look for that any further now.
Hope, it will be useful for you,
and/or someone more knowledgeable will help you :-)
Sorry for the noise.
>
> best,
> Peter
>
> >Not tested at all, sorry .)
--
Dmytro O. Redchuk
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user