This is currently not possible as designed. However, with a bit of
hacking, I've come up with the following:
`can([gv:\color{grebackgroundcolor}]g[gv:\color{black}]|vi>lsal3)`
What I've done is used the syntax for adding code directly at the glyph
level just before and just after a dummy note (it will also work at the
element level, but not at the note level). This code changes the color
to the `grebackgroundcolor` (the color used to fill in hollow notes,
which is white by default because we assume a white background, but
which can be set arbitrarily). It then prints a note which doesn't
intersect with any of the staff lines (if it did, we'd end up with a
hole in the line). Finally we switch back to the usual color (black in
this case).
This is necessary because the code that prints the NABC neumes, like the
code which prints above line text, hooks into the glyph printing code in
order to get its positioning right. If there is no glyph in the
syllable, then neither the NABC neume nor the above line text associated
with that syllable will be printed.
Note, if you intend to do this several times then I strongly recommend
defining macros in your gabc header:
def-m1:\color{grebackgroundcolor};
def-m2:\color{black};
Once this is done you can use the more compact `[gm1]` and `[gm2]` in
the notation.
--
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel, OSB
St. Anselm’s Abbey
Washington, DC
(R. Padraic Springuel)
PAX ☧ ΧΡΙΣΤΟΣ
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users