Hello all,

I'm trying to do something that I suspect is easily done with scheme,
but I have no idea how: I'd like to create a list of exercises that are
automatically numbered. I'm currently using instrumentName for the
numbers, to get something that looks something like this:

1. =======
=========

2. =======
=========

3. =======
=======

With code that looks something a little like this:

next = % simple scheme addition

exercise = \markup { \concat \next "." }

\score {
  \new Staff \with {
    instrumentName = \exercise
  } { 
    % music 
  }
}

Thanks!

—Josiah

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to