I've been playing with some scores and have to say that I find it slightly annoying that the command \gresetfirstlineaboveinitial{}{} has two arguments, both of which are always exactly the same.

Okay, so that isn't exactly how it works. Reading the detailed information on GregorioTeX on the website I now understand just why there are two arguments: one controls the actual text that appears, the other the positioning of that text. While I think that entering a vertical-offset via dummy text is round about, I'm willing to admit that it means things are less fussy for the user (who doesn't have to figure out just how tall his text is). Besides, if I really want to play with the offset as a number, I can just use a strut (i.e. a rule with 0 width).

However, most of the time (at least for me) both arguments are identical. I think that makes this command a prime candidate for an optional argument. When the command is called without the optional argument, the two arguments would be assumed to be identical. When the command is called with the optional argument, it would behave as it currently does.

Would anyone else find this to be a useful modification to the command?

Complicating things, the usual way of specifying optional commands in LaTeX would have the modified command take the form:

\gresetfirstlineaboveinitial[vertical_offset_text]{text}

This would break backwards compatibility for two reasons:
1) the argument order is reversed
2) the first argument is in square brackets rather than braces

Getting around this would require giving the "smart" function a new name. Would people prefer that to a direct modification of the current command?
--
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel
(R. Padraic Springuel)

PAX ☧ ΧΡΙΣΤΟΣ

_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users

Reply via email to