[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lilypond-auto] Issue 2445 in lilypond: Center a number above a meas
From: |
lilypond |
Subject: |
Re: [Lilypond-auto] Issue 2445 in lilypond: Center a number above a measure |
Date: |
Wed, 31 Oct 2012 11:32:40 +0000 |
Updates:
Labels: -Patch-push Patch-new
Comment #69 on issue 2445 by address@hidden: Center a number above a
measure
http://code.google.com/p/lilypond/issues/detail?id=2445#c69
Issue 2445: Add measure counter to LilyPond
This patch allows the user to number groups of successive measures, which
is useful as an aid to the performer in keeping track of repetitions.
There is no requirement that the counted measures be repeated, however.
The number is centered on the measure (discounting prefatory material),
above the staff by default.
In the case of a measure split across a line break, all segments are
numbered. The first number has its normal appearance, while the following
numbers are enclosed in parentheses.
A new grob, a spanner called `MeasureCounter,' is defined. Each element of
a count is an independent instance of this grob. A new event-class,
`measure-counter-event,' and a new interface, `measure-counter-interface,'
are also defined.
The engraver, `Measure_counter_engraver,' must be added to the relevant
context (probably Staff) in the .ly file. This engraver has been written
in Scheme, following the precedent of `Span_stem_engraver.'
The user frames the measures to count with the commands
`\startMeasureCount' and `\stopMeasureCount.' The initial number is read
from a new grob-property, 'count-from, which may be overridden.
http://codereview.appspot.com/6730044
- Re: [Lilypond-auto] Issue 2445 in lilypond: Center a number above a measure, (continued)
- Message not available
- Re: [Lilypond-auto] Issue 2445 in lilypond: Center a number above a measure, lilypond, 2012/10/25
- Message not available
- Re: [Lilypond-auto] Issue 2445 in lilypond: Center a number above a measure, lilypond, 2012/10/25
- Message not available
- Re: [Lilypond-auto] Issue 2445 in lilypond: Center a number above a measure, lilypond, 2012/10/25
- Message not available
- Re: [Lilypond-auto] Issue 2445 in lilypond: Center a number above a measure, lilypond, 2012/10/25
- Message not available
- Re: [Lilypond-auto] Issue 2445 in lilypond: Center a number above a measure, lilypond, 2012/10/25
- Message not available
- Re: [Lilypond-auto] Issue 2445 in lilypond: Center a number above a measure, lilypond, 2012/10/25
- Message not available
- Re: [Lilypond-auto] Issue 2445 in lilypond: Center a number above a measure, lilypond, 2012/10/25
Re: [Lilypond-auto] Issue 2445 in lilypond: Center a number above a measure, lilypond, 2012/10/30