Closed grochat closed 1 year ago
Rather than forcing <div>
or <dynam>
, another idea would be to use a verse with attribute n="-1", meaning to display it above rather than below the staff. I don't think there is anything against a negative n in MEI...
in
Definition of data.WORD : A single "word" that contains only letters, digits, punctuation characters, or symbols. It cannot contain whitespace.
Therefore A negative number matches the definition !
@lpugin also suggested to implement <verse>
attribute place="above"
. That would probably be even cleaner. - So either way, there is hope!
Agreed !
Implemented in commit 8c17339. Attached in an example. MEI_test_verse_above.mei.txt 😉 🎼
Just a little bug : since the fourth staff, te lyrics appears underlined. Cf. 0108Hugo-CMPVBarsSepTriplum-1.pdf attached file
I have just fixed it by simply disabling syllable extension line for neume or mensural notation (I hope everyone will agree that makes sense...) I have noticed that the position of the lyrics "above" depends system-wise on the (variable) position of the lyrics "below". That could be taken care of later... EDIT: just fixed as well.
(ask Laurent Pugin...)