lilypond-user
[Top][All Lists]
Advanced

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

`StaffGroup` influences spacing of `DynamicText`


From: Werner LEMBERG
Subject: `StaffGroup` influences spacing of `DynamicText`
Date: Mon, 13 Feb 2023 10:48:40 +0000 (UTC)

Can someone please explain to me why the 'p sub.' in the first system
is badly spaced compared to the second one?  How can I avoid this?
Actually, this smells like a bug...

```
\version "2.25.2"

psub = \tweak DynamicText.self-alignment-X #-0.7
       #(make-dynamic-script
          #{ \markup { \dynamic "p" \normal-text \italic "sub." } #})

\score {
  \new StaffGroup <<
    \context Staff = "x" {
      f'8 f' f' f' f' f' f' f'\psub
      f'4 f' f' f'
    }
    \context Staff = "x" { s1*2 }
  >>
}

\score {
  <<
    \context Staff = "x" {
      f'8 f' f' f' f' f' f' f'\psub
      f'4 f' f' f'
    }
    \context Staff = "x" { s1*2 }
  >>
}
```


    Werner

PNG image


reply via email to

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