Hi Manuel and Malte, Thanks so much for the help; this is exactly what I was looking for!
Sam On Wed, Aug 9, 2017 at 4:18 AM, Malte Meyn <lilyp...@maltemeyn.de> wrote: > > > Am 09.08.2017 um 06:34 schrieb Manuela Gößnitzer: > >> Do you mean something like this? >> >> #(define score-number 0) %% insert in first score >> >> #(set! score-number (1+ score-number)) >> >> \new PianoStaff \with { >> instrumentName = \markup { >> #(number->string score-number) "." >> } >> } >> \relative c'' { c } >> > > You would have to do this set! before every score. Try the following > instead: > > \version "2.19.64" > > #(define sn 0) > > #(define (score-number) > (set! sn (1+ sn)) > (string-append (number->string sn) ".")) > > \new Staff \with { > instrumentName = #(score-number) > } c' > \new Staff \with { > instrumentName = #(score-number) > } c' > \new Staff \with { > instrumentName = #(score-number) > } c' > \new Staff \with { > instrumentName = #(score-number) > } c' > \new Staff \with { > instrumentName = #(score-number) > } c' > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > -- Sam Bivens Music Theory Faculty | Cleveland Institute of Music Ph.D. Candidate | Eastman School of Music Co-Editor, *Intégral*
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user