- **status**: New --> Accepted


---

** [issues:#4793] Wide note spacing in measure following long lyric**

**Status:** Accepted
**Created:** Fri Mar 11, 2016 01:25 PM UTC by Palmer Ralph
**Last Updated:** Thu Mar 17, 2016 03:07 PM UTC
**Owner:** nobody


Mark D. Blackwell wrote :

to bug-lilypond 
After an extremely long syllable in the lyrics, the next measure's
spacing is quite wide, even with ragged-right (in version 2.19.37).

The problem does not occur in version 2.18.2.

I attach PNGs for versions 2.18.2 and 2.19.37.

In the tiny example (below), the problem measure (of two eighth notes)
comprises the word, "shine".

I tried the following (before each of those eighth notes), but they
didn't shrink the problem measure:

~~~~

    \once \override Score.SpacingSpanner.average-spacing-wishes = ##t
    \once \override Score.SpacingSpanner.common-shortest-duration =
#(ly:make-moment 1/8)
    \once \override Score.SpacingSpanner.base-shortest-duration =
#(ly:make-moment 1/8)
    \once \override Score.SpacingSpanner.shortest-duration-space = #0.1
    \once \override Score.SpacingSpanner.spacing-increment = #1.2
    
~~~~

Although the following shrinks the problem measure, it places the
second eighth note completely after the word, "shine" (which looks
bad):

~~~~

   \once \override Score.SpacingSpanner.packed-spacing = ##t
  
~~~~

For good results similar to that of version 2.18.2, I wish to shrink
the problem measure (after the extremely long syllable) to a
more-normal spacing, while still aligning the word "shine" under both
its eighth notes (as normal).

I wish to keep the extremely long syllable and the problem measure
together on the same system (also called "line").

I don't mind the placement of the barline before the problem measure;
I plan to hide it, anyway.

The following \notes variable corrects this spacing problem (perhaps
interestingly).

However, with this approach, the whole note must comprise a full
measure (which is impractical for general use):

~~~~

notes = \relative c'' {
  \override Score.SpacingSpanner.common-shortest-duration =
#(ly:make-moment 1/4)
  \time 65536/1
a1*65536
  \time 1/4
a8[( c]) \break
  \time 1/4
a4
}

~~~~

Here's the tiny example:

~~~~

\version "2.18.2"
\paper {
  left-margin = 5\mm
  right-margin = 5\mm
  ragged-right = ##t
}
\layout {
  \context { \Staff
    \remove "Time_signature_engraver"
  }
}
theLyrics = \lyricmode {
  \once \override LyricText.self-alignment-X = #LEFT
Rest_eternal_grant_unto_them,_O_Lord,_and_let_light_perpetual_
shine on
}
notes = \relative c'' {
  \time 1/1
a1
  \time 1/4
a8[( c]) \break
  \time 1/4
a4
}
\score {
  <<
    \new Staff
      \new Voice = "one" \notes
    \new Lyrics \lyricsto "one" \theLyrics
  >>
}

~~~~


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

Reply via email to