Hi all,

I am using the following code to place diagrams in a score:

c^\markup
    \center-column {
       \override #'(size . .75)
       \override #'(thickness . 0.05){
       \woodwind-diagram
          #'flute-b-extension
          #'((cc . (one1h three))
                                 (lh . (b  gis))
                                 (rh . (d dis ees cis c b)))
    }
  }

however, since I have several of these, I'd like to store them as separate encapsulated commands that I'd like to call such as

position1 = {\markup
    \center-column {
       \override #'(size . .75)
       \override #'(thickness . 0.05){
       \woodwind-diagram
          #'flute-b-extension
          #'((cc . (one1h three))
                                 (lh . (b  gis))
                                 (rh . (d dis ees cis c b)))
    }
  }

}

And then call it in the score with

c^\position1

but I get all sorts of errors. Not sure how to proceed. Can anyone point me to some information?

best,

J


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to