Okay, so after a morning of experimentation, I've determined the
function works as follows:
If the second argument is a 0 height object, then the baseline of the
annotation aligns with the 4th line of the staff (the top visible line).
As the height of the object increases, the annotation is pushed down.
Objects with a negative height are treated as 0 height objects.
In the course of the experimentation, I also figured out how to set an
arbitrary number of lines in the annotation, something which was
requested back when 2-line annotations were first introduced. For
example, a three line annotation can be set with the following:
\setbox1=\hbox to 2em{\vrule\hfill V\hfill\vrule}
\setbox2=\hbox to 2em{\vrule\hfill n\hfill\vrule}
\setbox3=\vbox to 3ex{\box1\vss\box2}
\setbox4=\hbox to 2em{\vrule\hfill V\hfill\vrule}
\setbox5=\vbox to 5ex{\box3\vss\box4}
\gresetfirstlineaboveinitial{\box5}{\rule{0pt}{2ex}}
Building the annotation line-by-line allows me to play with the spacing
between each line, but it also means that there's a fair bit of length
experimentation going on until I find the look that I like. As a
result, I'm not sure yet if this can be adapted to create an easy user
interface. I'm probably going to put that idea aside for now while I
continue with my command renaming, but I figured that by posting it
there's a record of my thoughts out there so that should I (or someone
else) decide to work on this they can form a starting point.
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel, OSB
(R. Padraic Springuel)
PAX ☧ ΧΡΙΣΤΟΣ
_______________________________________________
Gregorio-devel mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-devel