bug-lilypond
[Top][All Lists]
Advanced

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

Re: long dynamic strings displace low notes


From: David Kastrup
Subject: Re: long dynamic strings displace low notes
Date: Tue, 26 Apr 2016 11:12:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Graham King <address@hidden> writes:

> First, an apology to the developers, and in particular to Harm, for my
> previous, hasty, attempt to report this in March, which must have
> appeared selfishly peremptory.  Fortunately the message seems not to
> have reached this list and, now that there's a gap in the rest of life I
> can have another go:
>
> Long dynamic strings in potential conflict with low notes cause those
> notes to be displaced to the right.  Expected behaviour is for the
> dynamic string to be displaced down and to flow under the notes.  Using
> DynamicText.extra-offset to force the dynamic down does not solve the
> problem.
>
>
>         \version "2.19.40"
>         
>         music = { g'8\ppppp d' s2. }
>         \new StaffGroup \new Staff \music

extra-offset is applied _after_ everything including collision
resolution has been run.  So it couldn't possibly help.  Try fudging
around with Y-offset instead.  Possibly using the \offset command.

In ly/propert-init.ly there is

%% text length

textLengthOn = {
  % 0.4 staff-space between adjacent texts
  \override TextScript.extra-spacing-width = #'(-0.0 . 0.4)
  \override TextScript.extra-spacing-height = #'(-inf.0 . +inf.0)
}

textLengthOff = {
  \override TextScript.extra-spacing-width = #'(+inf.0 . -inf.0)
  \override TextScript.extra-spacing-height = #'(0 . 0)
}

and maybe one of those may be adaptable in a useful manner to dynamics?

-- 
David Kastrup



reply via email to

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