Hi Jacques,
I use tags as follows:
%(definitions from my standard include-file)
% Some easy clarinet fingering abbreviations:
fingercolor = #blue
fLfinger = ^\markup{ \bold \with-color \fingercolor "L" }
fL = -\tag #'BCLfingering \fLfinger
fRfinger = ^\markup{ \bold \with-color \fingercolor "R" }
fR = -\tag #'BCLfingering \fRfinger
%(using it in the musical flow)
BCL = {
cis'\fL gis'\fR
}
%(including or excluding it with a switch)
\keepWithTags #'(BCLfingering BCLother score) {
\BCL
}
Note: the \keepWithTags is a function which you find searching the
archive for it, it is similar as the (single) \keepWithTag function
which is available by default. Both work. For the score you don't
include it.
Regards,
Wim.
On 6 Jun 2013, at 16:50 , Jacques Menu wrote:
Hello,
In order to display oboe fingerings, I define:
myFingeringFourche = ^"F"
myFingeringBis = ^"2"
in my standard library file, which is included in the oboe part file:
\repeat volta 2 {
\barNumberCheck #1
r2 r8 f8\myFingeringFourche (c d |%2
Then I override these macros in the general score file with:
myFingeringFourche = ^""
myFingeringBis = ^""
which is a bit ugly.
Is there a cleaner, more "Lilypond in spirit" way to achieve this?
Thanks!
--
Jacques Menu
Ch. de la Pierre 12
1023 Crissier
mailto:[email protected]
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user