Le 23/05/2022 à 12:32, Werner LEMBERG a écrit :
[LilyPond version 2.23.9]
The following example
```
<<
\new Staff { f'1 }
\new Staff { f'1 \tweak X-offset #-5 \pp }
\new StaffGroup <<
\new Staff { f'1 }
\new Staff { f'1 \tweak X-offset #-5 \pp }
```
shows that I can't move the 'pp' to sit under the time signature if I
use `StaffGroup`. How can I change this? Within full scores it is of
great importance to retain this ability.
The definition of StaffGroup in engraver-init.ly contains
%% The default for DynamicText.extra-spacing-width causes dynamics to
%% be placed across span bars, so switch it off:
\override DynamicText.extra-spacing-width = ##f
so you need
\version "2.23.9"
<<
\new Staff { f'1 }
\new Staff { f'1 \tweak X-offset #-5 \pp }
>>
\new StaffGroup <<
\new Staff { f'1 }
\new Staff { f'1 \tweak X-offset #-5 \tweak extra-spacing-width
#'(+inf.0 . -inf.0) \pp }
>>
to restore the default on that \pp.
Best,
Jean