lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Move only one markup at the same place


From: Bertalan Fodor (LilyPondTool)
Subject: Re: Move only one markup at the same place
Date: Fri, 24 Jul 2009 10:58:35 +0200
User-agent: Thunderbird 2.0.0.22 (Windows/20090605)

Thanks, actually I was looking for the \tweak command. Well, I haven't used LilyPond for years :)

Bert

Alexander Kobel wrote:
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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]