I guess I'll just have to go with EditionEngraver. The main reason I
didn't use it before was that I couldn't figure out how to install it,
but I managed to figure that out.
On 07/09/2017 07:38 PM, Simon Albrecht wrote:
On 09.07.2017 18:24, caag...@gmail.com wrote:
As you can see on the screenshot, both texts are misaligned.
That’s your opinion.
The first one, a \tempo, is placed *under* the rehearsal mark instead
of next to it.
Well, both are placed exactly according to standard conventions: the
center of the RehearsalMark aligned to the bar line, and the left edge
of the MetronomeMark aligned to the note at the same moment. And since
the former has a higher outside-staff-priority (see
<http://lilypond.org/doc/v2.19/Documentation/learning/outside_002dstaff-objects>)
it is further away from the staff.
The second one, the name of a song, is too far too the right, since
it's attached to the note instead of the barline (it's a <>^"").
Well, you explained that one yourself. I think it’s perfectly fine like
that (except perhaps alignment should disregard the quotes for a more
balanced look), but if you want the text to refer to the section instead
of the notes, the question might be “How do I combine \mark\default and
a custom text into a single RehearsalMark?”. I don’t know that off the
top of my head…
How can I move the texts to be next to the rehearsal mark (without
manual adjustments)?
Write an intelligent algorithm that decides when it makes sense to shift
one of the objects? …
What’s so bad about having a manual adjustment? I’d rather Lily were
cleverer in such situations, but this is asking _very_ much. Maybe you
want to separate presentation and content, so using the edition engraver
would be a good choice.
And is there a version of <>^"" that is attached to a moment instead
of a note, to be more semantically correct?
TextScriptEvent
<http://lilypond.org/doc/v2.19/Documentation/internals/textscriptevent>
is a post-event, not a rhythmic-event, so no, there isn’t. But the empty
chord solution is pretty elegant for input, isn’t it?
Best, Simon
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user