[Top][All Lists]

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

DynamicText.extra-spacing-width in StaffGroups and similar

From: Simon Albrecht
Subject: DynamicText.extra-spacing-width in StaffGroups and similar
Date: Sat, 18 Jun 2022 23:59:50 +0200

Hello everyone,

it seems that some unorthodox elements in my style sheets tend to unearth issues.

StaffGroup and similar contexts set DynamicText.extra-spacing-width to #f, I guess with Dynamics contexts in mind (?). The following example shows that in the absence of Dynamic_align_engraver, this setting becomes falsely applied to Staff contexts within.

I suppose it should be ensured some other way that this doesn’t carry over. (with an override in the definition for Voice contexts or Staff contexts?)

\version "2.23.9"

\layout {
  \context {
    \remove "Dynamic_align_engraver"
    %\override DynamicText.extra-spacing-width = #'(+inf.0 . -inf.0)

sOne = {
  \repeat unfold 40 c'4

\paper {
  system-count = 1

\score {
  \new StaffGroup

(Nevermind the nonsensical vertical placement of the dynamic in this tiny example.)

Best regards,

reply via email to

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