Hi everyone, For pedagogical reasons, I want to include every measure number in my scores. I've been using the LSR's consistently left-aligned numbers available at http://lsr.di.unimi.it/LSR/Item?id=840 But this causes problems with slurs, ledger lines, etc., which push the measure numbers up high above the given measure (see the attached MWE). Thus I have two related questions:
- How might I adjust \consistentlyLeftAlignedMeasureNumbers to keep them consistently near the staff, no matter what the music is? - Alternatively, if there are others that require every number to be measured, how have you solved this problem? I'm unfortunately not too keen on the solution shown in the recent "bar numbers at top of score" thread. Thanks, Sam -- Sam Bivens, Ph.D. Music Theory Faculty Cleveland Institute of Music 11021 East Boulevard Cleveland, OH 44106 sam.biv...@cim.edu
\version "2.19.82" \language "english" consistentlyLeftAlignedBarNumbers = { \override Score.BarNumber.break-visibility = #end-of-line-invisible \override Score.BarNumber.self-alignment-X = #(lambda (grob) (let ((break-dir (ly:item-break-dir grob))) (if (= break-dir RIGHT) RIGHT LEFT))) \override Score.BarNumber #'break-align-symbols = #'(staff-bar clef) } global = { \key c \minor \time 12/8 } right = \relative c'' { \global s2. ef8 f16 ef d ef \slashedGrace ef8^( g'8)-. f16\(-. ef-. d-. c-. | cf8 bf\) bff bff16 af af[ g] g16.\( f32 ef2.\) | } \score { \new Staff << \consistentlyLeftAlignedBarNumbers \right >> \layout { } }