Richard Shann <[email protected]> writes:

> I wonder if there is a way of creating several pieces of markup text at
> a point in the music and tweaking their positions independently...
>
>
> \override TextScript #'extra-offset = #'(0 . 10) <>-\markup {"pizz."}
> \override TextScript #'extra-offset = #'(0 . -10)<>-\markup {"3"}

At the same musical point of time, you need tweaks for differentiating
the positioning separately (I am using ^ _ explicitly here since
otherwise pizz does not travel far enough).

{
  <>-\tweak #'extra-offset #'(0 . 2) ^\markup {"pizz."}
  <>-\tweak #'extra-offset #'(0 . -10) _\markup {"3"}
  c1
}

You can nowadays write
<>-\single\override TextScript #'extra-offset = #'(0 . 10) -\markup {"pizz."}

as well, but that's more cumbersome than just using a \tweak directly.
It is, however, useful for converting override->tweak if the override is
inside of an already existing command.

-- 
David Kastrup


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to