]> git.donarmstrong.com Git - lilypond.git/commit
Issue 5111: Implement spacing-pair for MeasureCounter
authorDavid Nalesnik <david.nalesnik@gmail.com>
Thu, 30 Mar 2017 17:44:20 +0000 (12:44 -0500)
committerDavid Nalesnik <david.nalesnik@gmail.com>
Thu, 6 Apr 2017 22:25:34 +0000 (17:25 -0500)
commit192b0bcc1b2d5396b0f2ff53798dc33c571152ae
treec3dde5a39261f9a4f943bc11724b5f16ee1c1fc2
parent637bb8f9bba9fd16804249d2d77556c61658eaf6
Issue 5111: Implement spacing-pair for MeasureCounter

Since MeasureCounter grobs are bounded by columns, sophisticated
horizontal positioning is available relative to "prefatory
materials" (such as barlines, clefs, and key signatures) at the
beginning and end of measures.  This allows numbers to be
placed above full-measure rests which have been similarly adjusted
with 'spacing-pair.

The previous default is established in the grob description: count
objects are centered between BreakAlignment grobs.

Paper_column::break_align_width is made available to Scheme as
ly:paper-column:break-align-width.

A regression test is provided.
input/regression/measure-counter-spacing-pair.ly [new file with mode: 0644]
lily/paper-column.cc
scm/define-grob-interfaces.scm
scm/define-grobs.scm
scm/output-lib.scm