Hello. This makes figures attached to notes to be printed in the expected (ascending) order, but instrument names in reverse (descending) order. Another exciting case later below.
\version "2.13.34" #(define sequence-number 0) #(define-markup-command (score-sequence layout props) () (set! sequence-number (+ sequence-number 1)) (interpret-markup layout props (markup #:bold #:large (number->string sequence-number)))) \new Staff { \set Staff.instrumentName = \markup\score-sequence a'1^\markup\score-sequence } \new Staff { \set Staff.instrumentName = \markup\score-sequence b'1^\markup\score-sequence } \new Staff { \set Staff.instrumentName = \markup\score-sequence c''1^\markup\score-sequence } =========== When the staves are into a group in a single score, the behavior reverses. Last note or note markup renders first, and last instrument name renders last. \version "2.13.34" #(define sequence-number 0) #(define-markup-command (score-sequence layout props) () (set! sequence-number (+ sequence-number 1)) (interpret-markup layout props (markup #:bold #:large (number->string sequence-number)))) << \new Staff { \set Staff.instrumentName = \markup\score-sequence a'1^\markup\score-sequence } \new Staff { \set Staff.instrumentName = \markup\score-sequence b'1^\markup\score-sequence } \new Staff { \set Staff.instrumentName = \markup\score-sequence c''1^\markup\score-sequence } >> -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond