bug-lilypond
[Top][All Lists]
Advanced

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

Re: DynamicText artificially extends bar size when within a StaffGroup


From: Jean-Baptiste Mazon
Subject: Re: DynamicText artificially extends bar size when within a StaffGroup
Date: Mon, 20 Jan 2020 12:08:33 +0100

Le dim. 19 janv. 2020 à 00:25, David Kastrup <address@hidden> a écrit :

> This wants improvement.  Basically we probably need a better way to
> figure out whether we are in the middle of a StaffGroup with spanbars?
>

I assume that would clear the simple case of the dynamic that spans across
the line without crossing it (bottom staff in a group). There remains
(opinions mine):

* the pp subito case. In my dream world, the pp would strictly align on the
actual note; the subito would overflow right, with TeX-style overfull hbox
warning if it extends beyond the page margin. As long as it doesn't reach
the preceding note, I suppose it could tolerate being pushed left a bit to
avoid a barline, but not at the cost of increasing that note's width.

* the simultaneous dynamics case. I'd obviously want them all horizontally
aligned, even if the bottom one that has fewer restrictions.


On the converse side, I've found a similar case that could benefit from
avoiding barlines:

%% Example neither as minimal nor as telling as I'd like. Here it touches;
%% in my real-world case the second plus almost aligned on the barline.
\version "2.19.81"
\new StaffGroup <<
  \new Staff { \clef "soprano" c''2. b'4 b'2 c'' s1*20 }
  \figures { \bassFigureExtendersOn <7 4>2 q4 <7 _\+>4 <7\+>2 <5> }
  \new Staff { \clef "bass" g2 g,2 c1 s1*20 }
>>
%%%%%

A good thing Bass Figures are less likely than Dynamic Texts to expand
horizontally.


-- 
Jean-Baptiste Mazon

Attachment: bass-figure-on-bar-line.png
Description: PNG image


reply via email to

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