[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Height of markup entered on a Dynamics Staff
From: |
Richard Shann |
Subject: |
Re: Height of markup entered on a Dynamics Staff |
Date: |
Thu, 30 Mar 2023 11:07:17 +0100 |
User-agent: |
Evolution 3.38.3-1 |
On Wed, 2023-03-29 at 20:05 +0200, Jean Abou Samra wrote:
> 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
> > R14/4
> > }
> > MII = {
> > R14/4
> > R14/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).
Ah, I understand, it comes down to me abusing the purpose of
DynamicsStaff .. thinking cap on.
Richard