lilypond-user
[Top][All Lists]
Advanced

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

Re: Height of markup entered on a Dynamics Staff


From: Jean Abou Samra
Subject: Re: Height of markup entered on a Dynamics Staff
Date: Wed, 29 Mar 2023 20:05:06 +0200
User-agent: Evolution 3.46.4 (3.46.4-1.fc37)

Le mercredi 29 mars 2023 à 13:07 +0100, Richard Shann a écrit :

In the following snippet the text is displaced vertically upwards if
the commenting out is removed, i.e. a note appears with more than one
leger line later on the staff.
8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< \version "2.24"
MI = {
        <> ^\markup \bold \italic {"text" }
        R14/4
        R1
4/4
}
MII = {
         R14/4
         R1
4/4
         c''1
         %c'''1
        
}
\score {
          <<
              \new Dynamics \MI
              \new Staff  \MII
          >>
       }
8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><

Is this a bug?

I don't think so. The point of the Dynamics context is to align the dynamics put into it on a common baseline. If there were another ^\markup ... at the point of that note with a ledger line, the alignment would force the first markup to much higher (just add s1 s1^"text" in MI to see it). There is a tradeoff between making the line of dynamics look like it's consistently above the staff and not pushing it farther than necessary from the staff. I think LilyPond's behavior here is legitimate, though perhaps the text script should go higher than it does (with the ledgered note).

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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