Bertalan Fodor (LilyPondTool) wrote:
Hi, I have a note with two simultaneous markups:
c''^"A"_"B"
I want to move "B" to be right below the note and not below the staff.
How to achieve that without instantiating a new Voice containing a
hidden note? I couldn't find any other solutions.
Hi, Bertalan,
you can use the following tweaks:
c ^"Barbara Ann in Barrabas' Inn"
% Allow grob to go into the staff
-\tweak #'outside-staff-priority #'()
% Adjust position w.r.t. the note head's lower left corner
-\tweak #'X-offset #0.5
-\tweak #'Y-offset #-2
-"Barbara Ann"
You might have to consider the warning section from
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Writing-text#Text-scripts
as well as \textLengthOn and -Off there for longer scripts; see the
attached snippet.
Cheers,
Alexander