I must remember that! Meanwhile, a method I've used is to attach repeat text like Fine, which can be aligned left or right in the measure. Mostly, though, I just attach to the first or last note and call it good.
I'm sure that's true, although that in itself may represent a limitation in the design if there is no way to create a no-op repeat text.
Eventually, we should simply implement a "measure text" element. Obviously, all the necessary support code is there. If the parent of a text is an element, we already lay it out that way according to the alignment. And measures have an element list that can contain jumps & markers, no reason they couldn't contain arbitrary text. Probably just a matter of making a new element type, subclass of TextBase, and hooking it up to the add, read, and write code.
Comments
bars/measures? Or barlines? Anyway: you don't, you add (staff- or system) text to chords or rests
I've found it easiest to use a generic text line attached to the bar. Then you can use the start/end text from it to "attach" it to a barline.
In reply to I've found it easiest to use… by jeetee
I must remember that! Meanwhile, a method I've used is to attach repeat text like Fine, which can be aligned left or right in the measure. Mostly, though, I just attach to the first or last note and call it good.
In reply to I must remember that! … by Marc Sabatella
check out the repeat mtest files ;-)
Couldn't really use additional repeat markings in those
In reply to check out the repeat mtest… by jeetee
I'm sure that's true, although that in itself may represent a limitation in the design if there is no way to create a no-op repeat text.
Eventually, we should simply implement a "measure text" element. Obviously, all the necessary support code is there. If the parent of a text is an element, we already lay it out that way according to the alignment. And measures have an element list that can contain jumps & markers, no reason they couldn't contain arbitrary text. Probably just a matter of making a new element type, subclass of TextBase, and hooking it up to the add, read, and write code.