[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
encapsulating woodwind diagrams
From: |
Jaime Oliver La Rosa |
Subject: |
encapsulating woodwind diagrams |
Date: |
Tue, 13 Jun 2017 09:46:04 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
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
- encapsulating woodwind diagrams,
Jaime Oliver La Rosa <=